aboutsummaryrefslogtreecommitdiff
path: root/arch/powerpc/kernel/signal_32.c
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@samba.org>2008-10-22 18:43:45 +0000
committerPaul Mackerras <paulus@samba.org>2008-10-31 16:11:52 +1100
commit2a4b9c5af82035c591adca951a9af1665ad1a2b0 (patch)
tree6c9ee42eef037f833603cf1ba310d54fa59f1920 /arch/powerpc/kernel/signal_32.c
parent8b8b0cc1c736ddca39b60bb098bd0a23daaa495f (diff)
powerpc: Work around ld bug in older binutils
Commit 549e8152de8039506f69c677a4546e5427aa6ae7 ("powerpc: Make the 64-bit kernel as a position-independent executable") added lines to vmlinux.lds.S to add the extra sections needed to implement a relocatable kernel. However, those lines seem to trigger a bug in older versions of GNU ld (such as 2.16.1) when building a non-relocatable kernel. Since ld 2.16.1 is still a popular choice for cross-toolchains, this adds an #ifdef to vmlinux.lds.S so the added lines are only included when building a relocatable kernel. Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/kernel/signal_32.c')
0 files changed, 0 insertions, 0 deletions