diff options
author | Alan Modra <amodra@bigpond.net.au> | 2000-09-26 01:45:26 +0000 |
---|---|---|
committer | Alan Modra <amodra@bigpond.net.au> | 2000-09-26 01:45:26 +0000 |
commit | ab85f45f322cd1699f9ba59a6c2eaa287579293a (patch) | |
tree | 1bf9f3cb4aab52fdf801a158645a1332dcaeeaa2 /bfd/som.c | |
parent | 52217fdd97406635bac11a58899249ebb116d48a (diff) | |
download | binutils-redhat-ab85f45f322cd1699f9ba59a6c2eaa287579293a.tar.gz |
Make weak symbols SS_UNIVERSAL (ie. global)
Diffstat (limited to 'bfd/som.c')
-rw-r--r-- | bfd/som.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -4069,7 +4069,8 @@ som_bfd_derive_misc_symbol_info (abfd, sym, info) of common symbols was handled earlier! */ if (bfd_is_und_section (sym->section)) info->symbol_scope = SS_UNSAT; - else if (sym->flags & BSF_EXPORT && ! bfd_is_com_section (sym->section)) + else if (sym->flags & (BSF_EXPORT | BSF_WEAK) + && ! bfd_is_com_section (sym->section)) info->symbol_scope = SS_UNIVERSAL; /* Anything else which is not in the common section has scope SS_LOCAL. */ |