From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Lance Taylor To: jason@cygnus.com Cc: robertlipe@usa.net, bfd@cygnus.com Subject: Re: patch was: dwarf2 debug dependent upon GAS? Date: Thu, 11 Mar 1999 10:44:00 -0000 Message-id: <199903111844.KAA22500@rtl.cygnus.com> References: X-SW-Source: 1999/msg00038.html From: Jason Merrill 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