This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RFC: linker enhancements


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]