PR binutils/12753
* nm.c (filter_symbols): Treat unique symbols as global symbols. * doc/binutils.texi (nm): Mention that some lowercase letters actually indicate global symbols. * lib/utils-lib.exp (run_dump_test): Allow nm as a program. * binutils-all/nm.exp: Test running "nm -g" on an object file containing a unique symbol.
This commit is contained in:
parent
1d06ead687
commit
0ba0c2b343
6 changed files with 55 additions and 1 deletions
|
@ -354,6 +354,7 @@ proc run_dump_test { name {extra_options {}} } {
|
|||
}
|
||||
strings { set program strings }
|
||||
elfedit { set program elfedit }
|
||||
nm { set program nm }
|
||||
default {
|
||||
perror "unrecognized program option $opts(PROG) in $file.d"
|
||||
unresolved $testname
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue