aboutsummaryrefslogtreecommitdiff
path: root/binutils/nm.c
diff options
context:
space:
mode:
Diffstat (limited to 'binutils/nm.c')
-rw-r--r--binutils/nm.c6
1 files changed, 3 insertions, 3 deletions
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);