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.
This commit is contained in:
Ulf Carlsson 2000-10-02 06:04:16 +00:00
parent e082ddcac6
commit 4b6609a057
2 changed files with 10 additions and 1 deletions

View File

@ -1,3 +1,12 @@
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.
2000-09-30 Petr Sorfa <petrs@sco.com>
* elf.c (elfcore_grok_pstatus): Check for size of pxstatus_t.

View File

@ -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));
}