xen/arm: Don't pad between function with x86 nops
PATCH 1/1 xen/arm: Don't pad between function with x86 nops
This was copy&paste from x86. It causes the padding between functions to be:
a000026dd64: 90909090 adrp x16, 9ff2147d000 <start-0xded83000>
rather than:
a000026dd64: 00000000 udf #0
No functional change.
---
CC: Stefano Stabellini <[email protected]>
CC: Julien Grall <[email protected]>
CC: Volodymyr Babchuk <[email protected]>
CC: Bertrand Marquis <[email protected]>
CC: Michal Orzel <[email protected]>
Has no-one looked at disassembly and wondered why there are junk instructions between functions?
--- xen/arch/arm/xen.lds.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
xen/arch/arm/xen.lds.S +1 -1
@@ -47,7 +47,7 @@ SECTIONS *(.gnu.warning) _etext = .; /* End of text section */ - } :text = 0x9090 + } :text . = ALIGN(PAGE_SIZE); .rodata : {
Signature · 1 line
2.39.5
Quoted 4 lines · Andrew Cooper
This was copy&paste from x86. It causes the padding between functions to be:
a000026dd64: 90909090 adrp x16,9ff2147d000<start-0xded83000>
Quoted 8 lines
rather than:
a000026dd64: 00000000 udf #0No functional change.
Fixes 5da0d3123c0a ("arm: entry.S and head.S")Signed-off-by Andrew Cooper <[email protected]>
~Michal