OSDN Git Service

* som.c (som_decode_symclass): Recognize weak symbols.
authorCatherine Moore <clm@redhat.com>
Tue, 16 May 2000 14:20:10 +0000 (14:20 +0000)
committerCatherine Moore <clm@redhat.com>
Tue, 16 May 2000 14:20:10 +0000 (14:20 +0000)
bfd/ChangeLog
bfd/som.c

index 1a991f7..5dbe6a2 100644 (file)
@@ -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
index cd61cc6..542b69f 100644 (file)
--- 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 '?';