]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/64: Fix placement of .text to be immediately following .head.text
authorNicholas Piggin <npiggin@gmail.com>
Sat, 26 Nov 2016 03:20:31 +0000 (14:20 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 1 Dec 2016 11:26:31 +0000 (22:26 +1100)
commitf22827bb80ea531661b4140e395d68bdb8316835
tree65c554daa02638fc3bcc0647a50217e1814e0485
parent3de0578bf63754ce4b32a69a190327424e4c5526
powerpc/64: Fix placement of .text to be immediately following .head.text

Do not introduce any additional alignment. Placement of text section
will be set by fixed section macros. Without this, output section
alignment defaults to 4096, which makes BookE text section start at
0x1000 when it is expected to start at 0x100.

This was introduced by commit ce047403b1ab ("powerpc: Use gas sections
for arranging exception vectors") and was caught with the scripted head
section checker (not yet merged).

Fixes: ce047403b1ab ("powerpc: Use gas sections for arranging exception vectors")
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/vmlinux.lds.S