* elfxx-mips.c (mips_elf_irix6_finish_dynamic_symbol): Make the
authorRichard Sandiford <rdsandiford@googlemail.com>
Wed, 9 Jul 2003 11:53:36 +0000 (11:53 +0000)
committerRichard Sandiford <rdsandiford@googlemail.com>
Wed, 9 Jul 2003 11:53:36 +0000 (11:53 +0000)
symbols protected.

bfd/ChangeLog
bfd/elfxx-mips.c

index c2029a0214eb801aef92f7c7383b74a6afaae832..4863d5d816ca68bc7721f4f3af60b7004013b14c 100644 (file)
@@ -1,3 +1,8 @@
+2003-07-09  Richard Sandiford  <rsandifo@redhat.com>
+
+       * elfxx-mips.c (mips_elf_irix6_finish_dynamic_symbol): Make the
+       symbols protected.
+
 2003-07-09  Richard Sandiford  <rsandifo@redhat.com>
 
        * elfxx-mips.c (mips_elf_create_dynamic_relocation): Fix handling
index 9ad54fc34c4e797aaf3597712c58b1dfd59a525b..e39657ded21e4b84d3a6250a358a780693c191ee 100644 (file)
@@ -6668,6 +6668,7 @@ mips_elf_irix6_finish_dynamic_symbol (abfd, name, sym)
          /* All of these symbols are given type STT_SECTION by the
             IRIX6 linker.  */
          sym->st_info = ELF_ST_INFO (STB_GLOBAL, STT_SECTION);
+         sym->st_other = STO_PROTECTED;
 
          /* The IRIX linker puts these symbols in special sections.  */
          if (i == 0)