]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
powerpc: Align TOC to 256 bytes
authorAnton Blanchard <anton@samba.org>
Thu, 14 May 2015 04:45:40 +0000 (14:45 +1000)
committerJiri Slaby <jslaby@suse.cz>
Wed, 3 Jun 2015 09:33:11 +0000 (11:33 +0200)
commit573993239da1d4f271f0a6f865e019c9bf525432
tree557132c439fd12ee9c781d7d40ffb2d36230a39e
parent4623c6e3424e683af46569b17038feb6ef50a4ad
powerpc: Align TOC to 256 bytes

commit 5e95235ccd5442d4a4fe11ec4eb99ba1b7959368 upstream.

Recent toolchains force the TOC to be 256 byte aligned. We need
to enforce this alignment in our linker script, otherwise pointers
to our TOC variables (__toc_start, __prom_init_toc_start) could
be incorrect.

If they are bad, we die a few hundred instructions into boot.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
arch/powerpc/kernel/vmlinux.lds.S