aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-frv/fdpic.exp
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@redhat.com>2004-05-06 02:46:13 +0000
committerAlexandre Oliva <aoliva@redhat.com>2004-05-06 02:46:13 +0000
commitb8bfc9e13d8b2634e6b10602148bdaf08be7d764 (patch)
tree879d88ea93480017b7741136c35112f94ced6971 /ld/testsuite/ld-frv/fdpic.exp
parentd15c49705165145ffc3196ba7c6586c9e6fa9134 (diff)
downloadgdb-b8bfc9e13d8b2634e6b10602148bdaf08be7d764.zip
gdb-b8bfc9e13d8b2634e6b10602148bdaf08be7d764.tar.gz
gdb-b8bfc9e13d8b2634e6b10602148bdaf08be7d764.tar.bz2
* ld-frv/fdpic.exp: Restore $LDFLAGS at the end.
* ld-frv/fr450-link.d: Match fdpic as well.
Diffstat (limited to 'ld/testsuite/ld-frv/fdpic.exp')
-rw-r--r--ld/testsuite/ld-frv/fdpic.exp3
1 files changed, 3 insertions, 0 deletions
diff --git a/ld/testsuite/ld-frv/fdpic.exp b/ld/testsuite/ld-frv/fdpic.exp
index 1367cb0..cc43848 100644
--- a/ld/testsuite/ld-frv/fdpic.exp
+++ b/ld/testsuite/ld-frv/fdpic.exp
@@ -21,6 +21,7 @@ if {![istarget frv*-*-*] || ![is_elf_format]} {
}
global LDFLAGS
+set saved_LDFLAGS "$LDFLAGS"
set LDFLAGS "$LDFLAGS -melf32frvfd"
run_dump_test "fdpic-static-1"
@@ -56,3 +57,5 @@ run_dump_test "fdpic-pie-8"
run_dump_test "fdpic-shared-8-fail"
run_dump_test "fdpic-shared-8"
run_dump_test "fdpic-shared-local-8"
+
+set LDFLAGS "$saved_LDFLAGS"