OSDN Git Service

bfd/
authorRichard Sandiford <rsandifo@nildram.co.uk>
Mon, 25 Jun 2007 10:13:57 +0000 (10:13 +0000)
committerRichard Sandiford <rsandifo@nildram.co.uk>
Mon, 25 Jun 2007 10:13:57 +0000 (10:13 +0000)
commit38e0e20090630d0e6da2606f0bf6e9012d959649
treefc1eb6234383fc16a086822c683e2bf58052aa0f
parent67b465f70e23324e06d13e54b5f0e8f6fc091305
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.
bfd/ChangeLog
bfd/elfxx-mips.c