RFC: linker enhancements
Alan Modra
amodra@bigpond.net.au
Sat Dec 13 12:06:00 GMT 2003
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
More information about the Binutils
mailing list