Re: Please revert edada399 and 9203fc9c
From: Sam Ravnborg <hidden>
Date: 2009-04-28 08:33:32
Also in:
lkml
From: Sam Ravnborg <hidden>
Date: 2009-04-28 08:33:32
Also in:
lkml
On Tue, Apr 28, 2009 at 02:56:33PM +1000, Paul Mackerras wrote:
Linus,
Please revert commits edada399 ("powerpc: Use TEXT_TEXT macro in
linker script.") and 9203fc9c ("powerpc: Use __REF macro instead of
old .text.init.refok."), which depends on edada399.
Commit edada399 breaks the build because it moves the __ftr_alt_*
sections of a file away from the .text section, causing link failures
due to relative conditional branch targets being too far away from the
branch instructions. This happens on pretty much all 64-bit powerpc
configs.
Clearly these patches were never even build-tested. They were never
acked by the powerpc maintainer (Ben) - because he was on vacation -
and they weren't sent to the deputy maintainer (me) or the relevant
mailing list (linuxppc-dev).This is partly my fault :-( I acked them as I did not see the issue with conditional branches. Could I ask you to add a comment to the lds file about this. Sam