diff options
author | Alan Modra <amodra@gmail.com> | 2000-09-26 01:45:26 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2000-09-26 01:45:26 +0000 |
commit | 409141842e9df6456569919f0bccfa11f7118b0e (patch) | |
tree | f219cd679462af8ec457de0fee31f562e58a5d2a /bfd | |
parent | 87263c36d1a82dd873a07d90b1f00cd7b93fd6d6 (diff) | |
download | gdb-409141842e9df6456569919f0bccfa11f7118b0e.zip gdb-409141842e9df6456569919f0bccfa11f7118b0e.tar.gz gdb-409141842e9df6456569919f0bccfa11f7118b0e.tar.bz2 |
Make weak symbols SS_UNIVERSAL (ie. global)
Diffstat (limited to 'bfd')
-rw-r--r-- | bfd/ChangeLog | 5 | ||||
-rw-r--r-- | bfd/som.c | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 7fe1c47..3dfdb8a 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2000-09-26 Steve Ellcey <sje@cup.hp.com> + + * som.c (som_bfd_derive_misc_symbol_info): Make weak symbols + global by default. + 2000-09-21 Alan Modra <alan@linuxcare.com.au> * elf32-hppa.c (elf32_hppa_check_relocs): Fix weak sym handling in @@ -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. */ |