summaryrefslogtreecommitdiff
path: root/bfd/elfxx-mips.c
diff options
context:
space:
mode:
authorRichard Sandiford <rsandifo@nildram.co.uk>2003-07-09 11:53:36 +0000
committerRichard Sandiford <rsandifo@nildram.co.uk>2003-07-09 11:53:36 +0000
commit29ee087c1ce602c16fd53e00c735d98d319f405b (patch)
treed6a2400ae6ca2419ab7652c25557c198ddc040e4 /bfd/elfxx-mips.c
parentf525e0c531b8de6b2ac4abd9e77e8dd5d19eaf0a (diff)
downloadgdb-29ee087c1ce602c16fd53e00c735d98d319f405b.tar.gz
* elfxx-mips.c (mips_elf_irix6_finish_dynamic_symbol): Make the
symbols protected.
Diffstat (limited to 'bfd/elfxx-mips.c')
-rw-r--r--bfd/elfxx-mips.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/bfd/elfxx-mips.c b/bfd/elfxx-mips.c
index 9ad54fc34c4..e39657ded21 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)