aboutsummaryrefslogtreecommitdiff
path: root/bfd/som.c
diff options
context:
space:
mode:
authorCatherine Moore <clm@redhat.com>2000-05-16 14:20:10 +0000
committerCatherine Moore <clm@redhat.com>2000-05-16 14:20:10 +0000
commit10febd849135152718c29f25971c58ff1658e290 (patch)
treebb856b09a4d1fd4b7d806798c0bebc9e1d878c41 /bfd/som.c
parent7ae383524cfa380e5baf51113c01415fba82c6b9 (diff)
downloadgdb-10febd849135152718c29f25971c58ff1658e290.zip
gdb-10febd849135152718c29f25971c58ff1658e290.tar.gz
gdb-10febd849135152718c29f25971c58ff1658e290.tar.bz2
* som.c (som_decode_symclass): Recognize weak symbols.
Diffstat (limited to 'bfd/som.c')
-rw-r--r--bfd/som.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/bfd/som.c b/bfd/som.c
index cd61cc6..542b69f 100644
--- a/bfd/som.c
+++ b/bfd/som.c
@@ -5365,6 +5365,8 @@ som_decode_symclass (symbol)
return 'U';
if (bfd_is_ind_section (symbol->section))
return 'I';
+ if (symbol->flags & BSF_WEAK)
+ return 'W';
if (!(symbol->flags & (BSF_GLOBAL|BSF_LOCAL)))
return '?';