aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-mips-elf/mips-elf.exp
diff options
context:
space:
mode:
authorCatherine Moore <clm@codesourcery.com>2015-10-29 06:58:16 -0700
committerCatherine Moore <clm@codesourcery.com>2015-10-29 06:58:16 -0700
commitca9584fb9b4a54232d2538de9f75b1916bda00fe (patch)
treeb5051126b992b1c30b9548a861f7f8b7d241e114 /ld/testsuite/ld-mips-elf/mips-elf.exp
parenta75cf613fd7d0a48d526a996ff5c250c599d3ab7 (diff)
downloadgdb-ca9584fb9b4a54232d2538de9f75b1916bda00fe.zip
gdb-ca9584fb9b4a54232d2538de9f75b1916bda00fe.tar.gz
gdb-ca9584fb9b4a54232d2538de9f75b1916bda00fe.tar.bz2
2015-10-29 Catherine Moore <clm@codesourcery.com>
bfd/ * elfxx-mips.c (mips_elf_check_mips16_stubs): Set a stub's output section to bfd_abs_section_ptr if the stub is discarded. ld/testsuite/ * ld-mips-elf/mips16-fp-stub-1.s: New. * ld-mips-elf/mips16-fp-stub-2.s: New. * ld-mips-elf/mips16-fp-stub.d: New. * ld-mips-elf/mips-elf.exp: Run new tests. * ld-mips-elf/mips16-intermix.d: Update expected output. https://sourceware.org/ml/binutils/2015-10/msg00137.html
Diffstat (limited to 'ld/testsuite/ld-mips-elf/mips-elf.exp')
-rw-r--r--ld/testsuite/ld-mips-elf/mips-elf.exp10
1 files changed, 10 insertions, 0 deletions
diff --git a/ld/testsuite/ld-mips-elf/mips-elf.exp b/ld/testsuite/ld-mips-elf/mips-elf.exp
index dd8b228..3b02bc0 100644
--- a/ld/testsuite/ld-mips-elf/mips-elf.exp
+++ b/ld/testsuite/ld-mips-elf/mips-elf.exp
@@ -666,6 +666,16 @@ run_ld_link_tests $mips16_intermix_test
run_dump_test "mips16-local-stubs-1"
+set mips16_fp_stub_test [list \
+ [list "Floating-point stub for mips16 functions" \
+ "$abi_ldflags(o32)" "" \
+ "$abi_asflags(o32) -mips32r2" \
+ {mips16-fp-stub-1.s mips16-fp-stub-2.s} \
+ {{readelf --debug-dump=frames mips16-fp-stub.d}} \
+ "mips16-fp-stub"]]
+
+run_ld_link_tests $mips16_fp_stub_test
+
set o32flagslist [list [list as $abi_asflags(o32)] [list ld $abi_ldflags(o32)]]
foreach firstfpabi [list 0 1 2 3 4 5 6 7 ] {