diff options
author | Thiemo Seufer <ths@networkno.de> | 2006-07-20 16:46:30 +0000 |
---|---|---|
committer | Thiemo Seufer <ths@networkno.de> | 2006-07-20 16:46:30 +0000 |
commit | 35d3d567ccaa9db98392c3787e4d5409c13701e8 (patch) | |
tree | e90c78ea28529139751b908299140fb3ef9dd25b /ld/testsuite/ld-mips-elf/mips16-call-global-3.s | |
parent | 5fa2b1af8c1307e4f5dd1ad74059d815dbd2de4c (diff) | |
download | gdb-35d3d567ccaa9db98392c3787e4d5409c13701e8.zip gdb-35d3d567ccaa9db98392c3787e4d5409c13701e8.tar.gz gdb-35d3d567ccaa9db98392c3787e4d5409c13701e8.tar.bz2 |
[ bfd/ChangeLog ]
* elf32-mips.c (mips16_jump_reloc): Remove function.
(elf_mips16_howto_table_rel): Use _bfd_mips_elf_generic_reloc
instead of mips16_jump_reloc.
* elf64_mips.c, wlfn32-mips.c (mips16_jump_reloc): Remove function.
(elf_mips16_howto_table_rel, elf_mips16_howto_table_rela): Use
_bfd_mips_elf_generic_reloc instead of mips16_jump_reloc.
[ gas/ChangeLog ]
* config/tc-mips.c (mips_fix_adjustable): Handle BFD_RELOC_MIPS16_JMP.
(tc_gen_reloc): Handle mips16 jumps to section symbol offsets.
[ ld/testsuite/ChangeLog ]
* ld-mips-elf/mips16-call-global-1.s,
ld-mips-elf/mips16-call-global-2.s,
ld-mips-elf/mips16-call-global-3.s, ld-mips-elf/mips16-call-global.d:
Test linking of external mips16 jumps.
* ld-mips-elf/mips-elf.exp: Run new test.
Diffstat (limited to 'ld/testsuite/ld-mips-elf/mips16-call-global-3.s')
-rw-r--r-- | ld/testsuite/ld-mips-elf/mips16-call-global-3.s | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ld/testsuite/ld-mips-elf/mips16-call-global-3.s b/ld/testsuite/ld-mips-elf/mips16-call-global-3.s new file mode 100644 index 0000000..e776b3d --- /dev/null +++ b/ld/testsuite/ld-mips-elf/mips16-call-global-3.s @@ -0,0 +1,6 @@ + .globl y + .ent y + .type y,@function +y: + jr $31 + .end y |