This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: gc sections and .eh_frame
On Tue, Jun 28, 2005 at 01:57:58PM +0200, Eric Botcazou wrote:
> > So how do you ensure .gcc_except_table.* is marked, if not by looking
> > through .eh_frame relocs?
>
> Take a look at the change to output_function_exception_table in the
> aforementioned GCC patch. :-)
I see. That extra word emitted just to tie .gcc_except_table.* to the
function code is no doubt one reason why the gcc patch hasn't been
approved. Hmm, I think we can do without it by marking sections
referenced from .eh_frame specially, and keeping them iff the associated
.text section is marked. Patch in progress.
--
Alan Modra
IBM OzLabs - Linux Technology Centre