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:
Nick Clifton 2011-05-18 16:35:03 +00:00
parent 1d06ead687
commit 0ba0c2b343
6 changed files with 55 additions and 1 deletions

View file

@ -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