[PATCH] --gc-sections and .gnu.linkonce.t.* sections

Alan Modra amodra@bigpond.net.au
Mon Dec 11 07:42:00 GMT 2006


On Sun, Dec 10, 2006 at 07:31:31PM +0100, Eric Botcazou wrote:
> This is the patch you pre-approved a few weeks ago, which teaches the linker 
> to keep the .gcc_except_table.* sections in presence of the corresponding
> .gnu.linkonce.t.* sections.  It's needed with GCC 4.3exp when COMDAT groups 
> are not used.  Next I'll submit the GCC patch to detect the fixed linker. :-)
> 
> Tested on i586-suse-linux.  OK for mainline?  What about 2.17 branch?

OK for both.

> Btw, now that there is an (experimental) FSF compiler with the support, do you 
> want me to write a few testcases for the improved --gc-sections?  If so, in 
> which directory should I put them?

They probably belong in ld-selective.

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre



More information about the Binutils mailing list