aboutsummaryrefslogtreecommitdiff
path: root/bfd
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
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')
-rw-r--r--bfd/ChangeLog4
-rw-r--r--bfd/som.c2
2 files changed, 6 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 1a991f7..5dbe6a2 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,7 @@
+2000-05-16 Catherine Moore <clm@cygnux.com>
+
+ * som.c (som_decode_symclass): Recognize weak symbols.
+
2000-05-16 Szabolcs Szakacsits <szaka@F-Secure.com>
* peigen.c (pe_print_idata): Undo part of 2000-05-12 change that
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 '?';