aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
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 '?';