diff options
author | Richard Sandiford <rdsandiford@googlemail.com> | 2007-06-25 10:13:57 +0000 |
---|---|---|
committer | Richard Sandiford <rdsandiford@googlemail.com> | 2007-06-25 10:13:57 +0000 |
commit | b314ec0eae7a778810550ccf87cd92eda7feaf2a (patch) | |
tree | 7c95af55b8663108c70d89bc4eb432cd3d5b4b47 /ld/testsuite/ld-mips-elf/mips-elf.exp | |
parent | b6fd0dfb46df6f46eace51d68b9de8318ebe3842 (diff) | |
download | gdb-b314ec0eae7a778810550ccf87cd92eda7feaf2a.zip gdb-b314ec0eae7a778810550ccf87cd92eda7feaf2a.tar.gz gdb-b314ec0eae7a778810550ccf87cd92eda7feaf2a.tar.bz2 |
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.
Diffstat (limited to 'ld/testsuite/ld-mips-elf/mips-elf.exp')
-rw-r--r-- | ld/testsuite/ld-mips-elf/mips-elf.exp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ld/testsuite/ld-mips-elf/mips-elf.exp b/ld/testsuite/ld-mips-elf/mips-elf.exp index d022c8d..eab8678 100644 --- a/ld/testsuite/ld-mips-elf/mips-elf.exp +++ b/ld/testsuite/ld-mips-elf/mips-elf.exp @@ -269,3 +269,5 @@ set mips16_intermix_test { } run_ld_link_tests $mips16_intermix_test + +run_dump_test "mips16-local-stubs-1" |