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)
commitdadc4a1bb9f0095343ed9dd4f1d9f3825d7b3e45
tree65c554daa02638fc3bcc0647a50217e1814e0485
parent409bf7f8a02ef88db5a0f2cdcf9489914f4b8508
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 57f266497d81 ("powerpc: Use gas sections
for arranging exception vectors") and was caught with the scripted head
section checker (not yet merged).

Fixes: 57f266497d81 ("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