diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 7fe1c4705c..3dfdb8a800 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2000-09-26 Steve Ellcey + + * som.c (som_bfd_derive_misc_symbol_info): Make weak symbols + global by default. + 2000-09-21 Alan Modra * elf32-hppa.c (elf32_hppa_check_relocs): Fix weak sym handling in diff --git a/bfd/som.c b/bfd/som.c index b3ad9977b1..ffd65897e6 100644 --- a/bfd/som.c +++ b/bfd/som.c @@ -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. */