This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: MIPS textrel fix


On Thu, May 18, 2006 at 05:31:49PM -0400, Daniel Jacobowitz wrote:
> 2006-05-18  Daniel Jacobowitz  <dan@codesourcery.com>
> 
> 	* 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.

Oh, there's a textrel-1.d part of this patch too; the test bitrotted
while it was failing.  That part is obvious.

-- 
Daniel Jacobowitz
CodeSourcery


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]