Fix handling of local MIPS16 floating-point stubs

Eric Christopher echristo@apple.com
Thu Jun 21 00:14:00 GMT 2007
On Jun 20, 2007, at 5:15 AM, Richard Sandiford wrote:

> Tested on mips{,el}-elf, mipsisa64{,el}-elf, mips{,el}-linux-gnu
> and mips64{,el}-linux-gnu.  OK to install?
>
> Richard
>
>
> bfd/
> 	* elfxx-mips.c (mips_elf_calculate_relocation): Allow local stubs
> 	to be used for calls from MIPS16 code.
>
> gas/
> 	* config/tc-mips.h (TC_SYMFIELD_TYPE): New.
> 	* config/tc-mips.c (append_insn): Record which symbols have
> 	R_MIPS16_26 relocations against them.
> 	(mips_fix_adjustable): Don't reduce relocations against such symbols.
>
> ld/testsuite/
> 	* ld-mips-elf/mips16-local-stubs-1.s,
> 	* ld-mips-elf/mips16-local-stubs-1.d: New tests.
> 	* ld-mips-elf/mips-elf.exp: Run them.

OK.

-eric



More information about the Binutils mailing list