This is the mail archive of the bfd@sourceware.cygnus.com mailing list for the bfd project.


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

Re: patch was: dwarf2 debug dependent upon GAS?


   From: Jason Merrill <jason@cygnus.com>
   Date: 11 Mar 1999 10:31:35 -0800

    >    This is irrelevant to your patch, but on Linux the local symbols do
    >    show up in the symbol table, as I remembered; I always filter nm
    >    output as a result.  This may be a gas thing.  Any gas folk care to
    >    comment?

    > Yes, there is some bad interaction going on, I believe related to
    > debugging references to local symbols in non-standard sections.  The
    > assembler is not converting them into relocs against a section symbol
    > for some reason.  I've never gotten around to looking into it.

   I assume that fixing this would dramatically improve link time for DWARF2?

I would not expect to see a dramatic improvement, but maybe there is
something I am overlooking.  You can probably estimate the improvement
by linking with the --discard-locals option.

Ian