Question regarding processing of .eh_frame sections during partial linking on elf64-ppc platforms

Alan Modra amodra@bigpond.net.au
Thu Nov 30 22:52:00 GMT 2006


On Thu, Nov 30, 2006 at 03:05:45AM -0800, William H. Maddox III wrote:
> I am seeing relocations
> for an FDE start PC that point to the single instance of a linkonce
> section that is preserved, but which have ranges that indicate
> that the FDEs arose from function instances in discarded sections.

You've hit a ld bug.  ld is supposed to process .eh_frame and remove
FDEs for discarded linkonce sections.  It does this for both final
and relocatable linking.  Testcase?

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre



More information about the Binutils mailing list