diff options
author | Ian Lance Taylor <ian@airs.com> | 1999-09-06 18:47:31 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1999-09-06 18:47:31 +0000 |
commit | 1865dcb816777a2805861caebdb8439db213789d (patch) | |
tree | e077354b303bf9f89a1ae6e721b71adff7951f5f | |
parent | 9296256064c51414fbac5ce5933ed722cadb9816 (diff) | |
download | gdb-1865dcb816777a2805861caebdb8439db213789d.zip gdb-1865dcb816777a2805861caebdb8439db213789d.tar.gz gdb-1865dcb816777a2805861caebdb8439db213789d.tar.bz2 |
1999-09-06 Donn Terry <donn@interix.com>
* nm.c (print_symbol_info_bsd): Check for 'w' as well as 'U'.
(print_symbol_info_sysv): Likewise.
(print_symbol_info_posix): Likewise.
-rw-r--r-- | binutils/ChangeLog | 6 | ||||
-rw-r--r-- | binutils/nm.c | 6 |
2 files changed, 9 insertions, 3 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 97f1806..a7c9abb 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,9 @@ +1999-09-06 Donn Terry <donn@interix.com> + + * nm.c (print_symbol_info_bsd): Check for 'w' as well as 'U'. + (print_symbol_info_sysv): Likewise. + (print_symbol_info_posix): Likewise. + 1999-09-04 Steve Chamberlain <sac@pobox.com> * readelf.c: Include "elf/pj.h". diff --git a/binutils/nm.c b/binutils/nm.c index 884f0b8..3e2ee12 100644 --- a/binutils/nm.c +++ b/binutils/nm.c @@ -1427,7 +1427,7 @@ print_symbol_info_bsd (info, abfd) symbol_info *info; bfd *abfd; { - if (info->type == 'U') + if (info->type == 'U' || info->type == 'w') { printf ("%*s", #ifdef BFD64 @@ -1458,7 +1458,7 @@ print_symbol_info_sysv (info, abfd) bfd *abfd; { print_symname ("%-20s|", info->name, abfd); /* Name */ - if (info->type == 'U') + if (info->type == 'U' || info->type == 'w') printf (" "); /* Value */ else print_value (info->value); @@ -1481,7 +1481,7 @@ print_symbol_info_posix (info, abfd) { print_symname ("%s ", info->name, abfd); printf ("%c ", info->type); - if (info->type == 'U') + if (info->type == 'U' || info->type == 'w') printf (" "); else print_value (info->value); |