bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/10474] relocation truncated to fit: R_PPC_REL24 errors


From: amodra at bigpond dot net dot au
Subject: [Bug ld/10474] relocation truncated to fit: R_PPC_REL24 errors
Date: 8 Aug 2009 08:06:45 -0000

------- Additional Comments From amodra at bigpond dot net dot au  2009-08-08 
08:06 -------
You are using the old-style plt and got rather than the new secure plt (forced
by old startup files even if all the other code is capable of using the new
secure plt).  The old-style plt is a bss section, located towards the end of the
image.  Calls branch into the plt, then bounce from there to their final
destination.  At the time code is relaxed some data sections, located between
.text and .plt, have not yet been sized.  In particular, .eh_frame_hdr is still
zero size.  When this section is properly sized, some of the branches will no
longer reach.

This is a horrible bug.  To fix it I'll need to change quite a lot of code in
the linker, for all elf targets.

-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=10474

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]