This is the mail archive of the
binutils@sourceware.cygnus.com
mailing list for the binutils project.
Re: Unique section ids
- To: Nick Clifton <nickc at cygnus dot com>
- Subject: Re: Unique section ids
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Thu, 06 Jul 2000 11:58:49 -0600
- cc: alan at linuxcare dot com dot au, binutils at sourceware dot cygnus dot com
- Reply-To: law at cygnus dot com
In message <200007061729.KAA32533@elmo.cygnus.com>you write:
> Why can't you append the section name and input file name ? That way
> the (extended) local names would stay the same even if the link order
> is changed on the command line, something that would not happen with
> your unique section id scheme...
You'll need full paths, not just the input file name -- ie, it is possible
to have "foobar.o" appear multiple times like
gcc -o blah foobar.o frob/foobar.o
Which brings up questions like what are valid characters -- filenames could
have embedded spaces, control chars, etc etc.
I mildly prefer the sequence #s approach. But I can live with either.
jeff