Fix linking of .gpdword on MIPS

Thiemo Seufer ths@networkno.de
Tue Feb 27 01:27:00 GMT 2007


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



More information about the Binutils mailing list