From 10febd849135152718c29f25971c58ff1658e290 Mon Sep 17 00:00:00 2001 From: Catherine Moore Date: Tue, 16 May 2000 14:20:10 +0000 Subject: * som.c (som_decode_symclass): Recognize weak symbols. --- bfd/ChangeLog | 4 ++++ bfd/som.c | 2 ++ 2 files changed, 6 insertions(+) (limited to 'bfd') 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 + + * som.c (som_decode_symclass): Recognize weak symbols. + 2000-05-16 Szabolcs Szakacsits * 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 '?'; -- cgit v1.1