Commit 79770339 by Eric Botcazou Committed by Eric Botcazou

make_sunver.pl: Ignore entries without symbol name first.

	* make_sunver.pl: Ignore entries without symbol name first.  Then do
	not ignore symbols marked as 'R'.

From-SVN: r166432
parent d6892b3d
2010-11-08 Eric Botcazou <ebotcazou@adacore.com>
* make_sunver.pl: Ignore entries without symbol name first. Then do
not ignore symbols marked as 'R'.
2010-10-18 Andi Kleen <ak@linux.intel.com> 2010-10-18 Andi Kleen <ak@linux.intel.com>
* gccbug.el: Remove. * gccbug.el: Remove.
......
...@@ -58,9 +58,11 @@ while (<NM>) { ...@@ -58,9 +58,11 @@ while (<NM>) {
# nm prints out stuff at the start, ignore it. # nm prints out stuff at the start, ignore it.
next if (/^$/); next if (/^$/);
next if (/:$/); next if (/:$/);
# Ignore register (SPARC only), undefined and local symbols. The # Ignore entries without symbol name. Sun nm emits those for local, .bss
# symbol name is optional; Sun nm emits none for local or .bss symbols. # or scratch register (SPARC only) symbols for example.
next if (/^([^ ]+)?[ \t]+[RUa-z][ \t]+/); next if (/^ /);
# Ignore undefined and local symbols.
next if (/^[^ ]+[ \t]+[Ua-z][ \t]+/);
# Ignore objects without symbol table. Message goes to stdout with Sun # Ignore objects without symbol table. Message goes to stdout with Sun
# nm, while GNU nm emits the corresponding message to stderr. # nm, while GNU nm emits the corresponding message to stderr.
next if (/.* - No symbol table data/); next if (/.* - No symbol table data/);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment