OSDN Git Service

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

bfd/ChangeLog
bfd/elfxx-mips.c

index c2029a0..4863d5d 100644 (file)
@@ -1,5 +1,10 @@
 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
        of relocations whose offset is -2.
 
index 9ad54fc..e39657d 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)