This is the mail archive of the binutils@sources.redhat.com 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]

Re: PATCH: Support DF_TEXTREL/DT_TEXTREL for SVR4 mips


Hi H.J.

> 2001-06-16  H.J. Lu  <hjl@gnu.org>
> 
> 	* elf32-mips.c (mips_elf_link_hash_entry): Add a new field,
> 	readonly_reloc, to record if a relocation in the .rel.dyn
> 	section is against a read-only section. 
> 	(mips_elf_link_hash_newfunc): Initialize the readonly_reloc
> 	field to false.
> 	(_bfd_mips_elf_check_relocs): Record if there is a relocation
> 	in the .rel.dyn section against a read-only section by setting
> 	DF_TEXTREL or readonly_reloc.
> 	(_bfd_mips_elf_copy_indirect_symbol): Copy readonly_reloc if
> 	it is true.
> 	(_bfd_mips_elf_adjust_dynamic_symbol): Record DF_TEXTREL if
> 	there is a relocation in the .rel.dyn section against a
> 	read-only section.
> 	(_bfd_mips_elf_size_dynamic_sections): Set DT_TEXTREL if
> 	DF_TEXTREL is set.

Adjusted patch approved.

Cheers
        Nick


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