nm -C no longer strips leading underscores?
Christopher Faylor
cgf-use-the-mailinglist-please@sourceware.org
Wed Jun 25 07:06:00 GMT 2008
More information about the Binutils mailing list
Wed Jun 25 07:06:00 GMT 2008
- Previous message (by thread): [PATCH] Add 464 support to PowerPC.
- Next message (by thread): What's the meaning of "Algn" in "objdump -h"?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
A Cygwin user has noticed that "nm -C" no longer removes the leading underscore from symbols despite documentation to the contrary. That behavior seems to have been caused by the introduction of the bfd_demangle function which returns NULL when a symbol is not translated by cplus_demangle rather than returning the symbol without the leading underscore. I think this is a bug but I'm not sure what the right fix is. bfd_demangle is used in more places than just nm so maybe reverting to the old behavior and returning xstrdup(<the symbol minus the underscore>) isn't the right way to fix this. Any thoughts on what I should do to fix this? cgf
- Previous message (by thread): [PATCH] Add 464 support to PowerPC.
- Next message (by thread): What's the meaning of "Algn" in "objdump -h"?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Binutils mailing list