This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Question regarding processing of .eh_frame sections during partial linking on elf64-ppc platforms
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: "William H. Maddox III" <maddox at transmeta dot com>
- Cc: binutils at sourceware dot org
- Date: Fri, 1 Dec 2006 09:21:53 +1030
- Subject: Re: Question regarding processing of .eh_frame sections during partial linking on elf64-ppc platforms
- References: <456EBB09.60903@transmeta.com>
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