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: Fix linking of .gpdword on MIPS


Richard Sandiford wrote:
[snip]
> bfd/
> 	* elfxx-mips.c (mips_elf_calculate_relocation): Replace
> 	save_addend with two new arguments, first_in_sequence and
> 	last_in_sequence.  Only treat zero symbols specially if
> 	first_in_sequence.  Replace use of !save_addend with
> 	last_in_sequence.
> 	(_bfd_mips_elf_relocate_section): Update caller accordingly.
> 	Replace use_save_addend_p with first_in_sequence and
> 	last_in_sequence.
> 
> ld/testsuite/
> 	* ld-mips-elf/gpword-n32.d, ld-mips-elf/gpword-n32.ld,
> 	* ld-mips-elf/gpword-n32.s, ld-mips-elf/gpdword-n64.d,
> 	* ld-mips-elf/gpdword-n64.ld, ld-mips-elf/gpdword-n64.s: New tests.
> 	* ld-mips-elf/mips-elf.exp: Run them.

Ok.


Thiemo


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