This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] --gc-sections and .gnu.linkonce.t.* sections
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: Eric Botcazou <ebotcazou at adacore dot com>
- Cc: binutils <binutils at sources dot redhat dot com>
- Date: Mon, 11 Dec 2006 18:11:54 +1030
- Subject: Re: [PATCH] --gc-sections and .gnu.linkonce.t.* sections
- References: <200612101931.32059.ebotcazou@adacore.com>
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