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]

Re: Question on ld's SORT capability in 2.10


   Date: Fri, 21 Jul 2000 09:10:31 -0400
   From: Bruce Trull <trull@zko.dec.com>

   I doesn't appear that sorting on routine-name is allowed (just
   module names).  Is that true?  Is it a goal to sort on routine-name?

The SORT keyword sorts on section names, not routine names.

It implements C++ constructor priorities, assuming you use the gcc
-finit-priority option to generate constructors in sections with
appropriate names.

In the default script, SORT only applies to .ctors.*, so it should not
affect the section in crtend.o, which is named .ctors.

Ian

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