Unique section ids

Jeffrey A Law law@cygnus.com
Thu Jul 6 10:58:00 GMT 2000


  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 



More information about the Binutils mailing list