From: Richard Sandiford Date: Wed, 9 Jul 2003 11:53:36 +0000 (+0000) Subject: * elfxx-mips.c (mips_elf_irix6_finish_dynamic_symbol): Make the X-Git-Tag: gprof-pre-ansify-2004-05-26~1634 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=ea15416ef8e9eb6ef4098920440248ba68644710;p=pf3gnuchains%2Fpf3gnuchains4x.git * elfxx-mips.c (mips_elf_irix6_finish_dynamic_symbol): Make the symbols protected. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index c2029a0214..4863d5d816 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,5 +1,10 @@ 2003-07-09 Richard Sandiford + * elfxx-mips.c (mips_elf_irix6_finish_dynamic_symbol): Make the + symbols protected. + +2003-07-09 Richard Sandiford + * elfxx-mips.c (mips_elf_create_dynamic_relocation): Fix handling of relocations whose offset is -2. diff --git a/bfd/elfxx-mips.c b/bfd/elfxx-mips.c index 9ad54fc34c..e39657ded2 100644 --- a/bfd/elfxx-mips.c +++ b/bfd/elfxx-mips.c @@ -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)