diff options
author | Richard Sandiford <rdsandiford@googlemail.com> | 2003-07-09 11:53:36 +0000 |
---|---|---|
committer | Richard Sandiford <rdsandiford@googlemail.com> | 2003-07-09 11:53:36 +0000 |
commit | e10609d3f7d2e8d3a3d6bec23922b00376af3828 (patch) | |
tree | 1e93e78c83bf5e5ad8573a9e96865f879e0d47e4 /bfd | |
parent | 0d591ff7fb37443cbb15bc2b7f0dc192cc124094 (diff) | |
download | gdb-e10609d3f7d2e8d3a3d6bec23922b00376af3828.zip gdb-e10609d3f7d2e8d3a3d6bec23922b00376af3828.tar.gz gdb-e10609d3f7d2e8d3a3d6bec23922b00376af3828.tar.bz2 |
* elfxx-mips.c (mips_elf_irix6_finish_dynamic_symbol): Make the
symbols protected.
Diffstat (limited to 'bfd')
-rw-r--r-- | bfd/ChangeLog | 5 | ||||
-rw-r--r-- | bfd/elfxx-mips.c | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index c2029a0..4863d5d 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -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. diff --git a/bfd/elfxx-mips.c b/bfd/elfxx-mips.c index 9ad54fc..e39657d 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) |