This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
[ELF] symbol sets handling [2]
- From: Fabio Alemagna <falemagn at studenti dot unina dot it>
- To: Alan Modra <amodra at bigpond dot net dot au>
- Cc: Nick Clifton <nickc at redhat dot com>, <binutils at sources dot redhat dot com>
- Date: Fri, 7 Feb 2003 17:10:55 +0100 (CET)
- Subject: [ELF] symbol sets handling [2]
Another thing I'd like to propose - but dunno if it's doable or not - is
to make the symbol sets "sortable" by appending to the section name a dot
and a priority number. That way one could use the SORT() ld constructor to
sort the sections and hence the symbols they contain, much like c++
constructors are handled.
However I failed to find a way to do it from inside the emulation
script... Is there such a way? Would such a change be welcome? Let me
know, before I spend time trying to do it.
This "enhancement" would be really useful to AROS, which right now uses a
sort of "collect" executable to do it via postprocessing.
Fabio Alemagna