Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

powerpc: Align p_dyn, p_rela and p_st symbols

The 64bit relocation code places a few symbols in the text segment.
These symbols are only 4 byte aligned where they need to be 8 byte
aligned. Add an explicit alignment.

Signed-off-by: Anton Blanchard <anton@samba.org>
Cc: stable@vger.kernel.org
Tested-by: Laurent Dufour <ldufour@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>

authored by

Anton Blanchard and committed by
Benjamin Herrenschmidt
a5b2cf5b 621b5060

+1
+1
arch/powerpc/kernel/reloc_64.S
··· 81 81 82 82 6: blr 83 83 84 + .balign 8 84 85 p_dyn: .llong __dynamic_start - 0b 85 86 p_rela: .llong __rela_dyn_start - 0b 86 87 p_st: .llong _stext - 0b