bfd/
authorDaniel Jacobowitz <drow@false.org>
Mon, 22 May 2006 15:06:23 +0000 (15:06 +0000)
committerDaniel Jacobowitz <drow@false.org>
Mon, 22 May 2006 15:06:23 +0000 (15:06 +0000)
commit943284cc7c29a74a1bd1c7d90ea6dbd03bc8b17c
treec89202785fa39aafbab7e55264d799e88cabd30a
parenta47212510fe70b26a950753d506b1a68708e0e26
bfd/
* elflink.c (_bfd_elf_add_dynamic_entry): Remove DT_TEXTREL
check.
(bfd_elf_final_link): Add a late DT_TEXTREL check.
* elfxx-mips.c (MIPS_ELF_READONLY_SECTION): Define.
(mips_elf_create_dynamic_relocation): Set DF_TEXTREL.
(_bfd_mips_elf_check_relocs): Delete MIPS_READONLY_SECTION.
Use MIPS_ELF_READONLY_SECTION.
(_bfd_mips_elf_size_dynamic_sections): Clear DF_TEXTREL after
creating DT_TEXTREL.
(_bfd_mips_elf_finish_dynamic_sections): Clear textrel markers
if no text relocations were generated.
ld/testsuite/
* ld-mips-elf/textrel-1.d: Relax some patterns.
bfd/ChangeLog
bfd/elflink.c
bfd/elfxx-mips.c
ld/testsuite/ChangeLog
ld/testsuite/ld-mips-elf/textrel-1.d