This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Missing hunk in MIPS16 PIC support
- From: Thiemo Seufer <ths at networkno dot de>
- To: binutils at sourceware dot org, rdsandiford at googlemail dot com
- Date: Sun, 17 Aug 2008 17:18:07 +0200
- Subject: Re: Missing hunk in MIPS16 PIC support
- Hfrom: Thiemo Seufer <ths@networkno.de>
- References: <87tzdk505s.fsf@firetop.home>
Richard Sandiford wrote:
> I'd missed a hunk when porting the MIPS16 PIC patch to mainline.
> We were supposed to move stub information for indirect symbols
> to the target function.
>
> I only noticed this week, when running tests for the non-PIC gcc patch.
> As penance, I've added a binutils test to make this more visible.
>
> Tested on mips64-linux-gnu. OK to install?
>
> Richard
>
>
> bfd/
> * elfxx-mips.c (_bfd_mips_elf_copy_indirect_symbol): Copy MIPS16
> stub information.
>
> ld/testsuite/
> * ld-mips-elf/mips16-pic-4a.s, ld-mips-elf/mips16-pic-4b.s,
> ld-mips-elf/mips16-pic-4.ver, ld-mips-elf/mips16-pic-4a.dd,
> ld-mips-elf/mips16-pic-4a.nd, ld-mips-elf/mips16-pic-4a.gd,
> ld-mips-elf/mips16-pic-4c.s, ld-mips-elf/mips16-pic-4b.dd: New tests.
> * ld-mips-elf/mips-elf.exp: Run them.
Ok.
Thiemo