diff options
author | Catherine Moore <clm@redhat.com> | 2000-05-16 14:20:10 +0000 |
---|---|---|
committer | Catherine Moore <clm@redhat.com> | 2000-05-16 14:20:10 +0000 |
commit | d6abe47004c9cc118a54cadb4797a3e15eec4cb2 (patch) | |
tree | 0beb84874c68c26f827b92552e1a143089203ab7 /bfd/som.c | |
parent | 93275b87f2e094d8a27301466a7a11a081e7372c (diff) | |
download | gdb-d6abe47004c9cc118a54cadb4797a3e15eec4cb2.tar.gz |
* som.c (som_decode_symclass): Recognize weak symbols.
Diffstat (limited to 'bfd/som.c')
-rw-r--r-- | bfd/som.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bfd/som.c b/bfd/som.c index cd61cc6c4bb..542b69f7380 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 '?'; |