This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: RFC: linker enhancements
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: binutils at sources dot redhat dot com
- Date: Sat, 13 Dec 2003 22:36:25 +1030
- Subject: Re: RFC: linker enhancements
- References: <20031212112448.GI12344@sunsite.ms.mff.cuni.cz>
On Fri, Dec 12, 2003 at 12:24:48PM +0100, Jakub Jelinek wrote:
> What do you think about e.g. adding AUTO PHDRS subcommand, which would
> mean create the usual segments plus the listed one in addition to that.
> Sections explicitely bound to the listed segments would go in them,
> the rest would go as usual to normal segments.
Sounds reasonable.
> -lgcc --start-only-if-used -lgcc_s --end-only-if-used -lc \
> -lgcc --start-only-if-used -lgcc_s --end-only-if-used
You could even give --start-group the same meaning for linking against
shared libs as you envisage for --start-only-if-used.
--
Alan Modra
IBM OzLabs - Linux Technology Centre