Skip to content

Commit

Permalink
* make_sunver.pl: Ignore entries without symbol name first. Then do
Browse files Browse the repository at this point in the history
	not ignore symbols marked as 'R'.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@166432 138bc75d-0d04-0410-961f-82ee72b054a4
  • Loading branch information
ebotcazou committed Nov 8, 2010
1 parent 8e1b9b7 commit beeca9e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
5 changes: 5 additions & 0 deletions contrib/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
2010-11-08 Eric Botcazou <[email protected]>

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

2010-10-18 Andi Kleen <[email protected]>

* gccbug.el: Remove.
Expand Down
8 changes: 5 additions & 3 deletions contrib/make_sunver.pl
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,11 @@
# nm prints out stuff at the start, ignore it.
next if (/^$/);
next if (/:$/);
# Ignore register (SPARC only), undefined and local symbols. The
# symbol name is optional; Sun nm emits none for local or .bss symbols.
next if (/^([^ ]+)?[ \t]+[RUa-z][ \t]+/);
# Ignore entries without symbol name. Sun nm emits those for local, .bss
# or scratch register (SPARC only) symbols for example.
next if (/^ /);
# Ignore undefined and local symbols.
next if (/^[^ ]+[ \t]+[Ua-z][ \t]+/);
# Ignore objects without symbol table. Message goes to stdout with Sun
# nm, while GNU nm emits the corresponding message to stderr.
next if (/.* - No symbol table data/);
Expand Down

0 comments on commit beeca9e

Please sign in to comment.