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>, binutils at sourceware dot org
- Date: Thu, 7 Dec 2006 23:38:48 +1030
- Subject: Re: Question regarding processing of .eh_frame sections during partial linking on elf64-ppc platforms
- References: <456EBB09.60903@transmeta.com> <20061130225152.GA4384@bubble.grove.modra.org> <45767DCF.4060104@transmeta.com> <20061206150052.GF11647@bubble.grove.modra.org>
On Thu, Dec 07, 2006 at 01:30:52AM +1030, Alan Modra wrote:
Well, it appears I was wrong again. "ld -r" leaves the relocs in a
reasonable state thanks to code at this comment in elflink.c
/* Symbols from discarded section are undefined
ie. A final link can tell whether a FDE was from a discarded section.
A testcase that shows the bogus FDEs would be nice.
--
Alan Modra
IBM OzLabs - Linux Technology Centre