This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Fix linking of .gpdword on MIPS
- From: Thiemo Seufer <ths at networkno dot de>
- To: binutils at sourceware dot org, rsandifo at nildram dot co dot uk
- Date: Mon, 26 Feb 2007 23:48:55 +0000
- Subject: Re: Fix linking of .gpdword on MIPS
- References: <877iu4k03j.fsf@firetop.home>
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