aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf32-mips.c
diff options
context:
space:
mode:
authorUlf Carlsson <ulfc@engr.sgi.com>2000-10-02 06:04:16 +0000
committerUlf Carlsson <ulfc@engr.sgi.com>2000-10-02 06:04:16 +0000
commit4b6609a057b19dc0dc0278013d096101cba68963 (patch)
tree1f14da00bc86a18eaa7a42c55a5832e006ac8aac /bfd/elf32-mips.c
parente082ddcac652043505c6d117cab8c66cea33fa78 (diff)
downloadgdb-4b6609a057b19dc0dc0278013d096101cba68963.zip
gdb-4b6609a057b19dc0dc0278013d096101cba68963.tar.gz
gdb-4b6609a057b19dc0dc0278013d096101cba68963.tar.bz2
2000-10-01 Ulf Carlsson <ulfc@engr.sgi.com>
From Ralf Baechle <ralf@gnu.org> * elf32-mips.c (_bfd_mips_elf_finish_dynamic_sections): Mark gld produces binaries with got[1] = 0x80000001 to differenciate them for the dynamic linker from the broken binaries produced by old versions.
Diffstat (limited to 'bfd/elf32-mips.c')
-rw-r--r--bfd/elf32-mips.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elf32-mips.c b/bfd/elf32-mips.c
index fd8847a..9a02f46 100644
--- a/bfd/elf32-mips.c
+++ b/bfd/elf32-mips.c
@@ -8879,7 +8879,7 @@ _bfd_mips_elf_finish_dynamic_sections (output_bfd, info)
if (sgot != NULL && sgot->_raw_size > 0)
{
MIPS_ELF_PUT_WORD (output_bfd, (bfd_vma) 0, sgot->contents);
- MIPS_ELF_PUT_WORD (output_bfd, (bfd_vma) 0x80000000,
+ MIPS_ELF_PUT_WORD (output_bfd, (bfd_vma) 0x80000001,
sgot->contents + MIPS_ELF_GOT_SIZE (output_bfd));
}