xen: arm: Correctly use GLOBAL/ENTRY in head.S, avoid .global
authorIan Campbell <ian.campbell@citrix.com>
Mon, 21 Jul 2014 13:00:00 +0000 (14:00 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Thu, 24 Jul 2014 15:23:17 +0000 (16:23 +0100)
commitc3412c04b1eeb986670d3c74e5c6c481a0ab9efb
treeebf684be5a5b4f73cc394a803dfc03198e6c93f8
parent6d848a95df61a76bdf9069b4ba9286d6358784d8
xen: arm: Correctly use GLOBAL/ENTRY in head.S, avoid .global

Use ENTRY() for function entry points since it ensures correct
alignment where GLOBAL() doesn't. The exception is the initial start
label which must be at offset 0, so just use GLOBAL() to avoid the
possibility of realignment.

Since everything happens to already be aligned there should be no
difference to the actual binary. objdump agrees.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Julien Grall <julien.grall@linaro.org>
xen/arch/arm/arm32/head.S
xen/arch/arm/arm64/head.S