aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2018-05-15 19:38:53 +0930
committerAlan Modra <amodra@gmail.com>2018-05-15 21:04:37 +0930
commitaa82c0d347b6380c0d80263be0613bca88ca4536 (patch)
tree195f8e18662f8173fcb85d6d3fd3503fa4b72140
parent679ca9753b0176852bb28bac335eb9f0d3e70d95 (diff)
downloadgdb-aa82c0d347b6380c0d80263be0613bca88ca4536.zip
gdb-aa82c0d347b6380c0d80263be0613bca88ca4536.tar.gz
gdb-aa82c0d347b6380c0d80263be0613bca88ca4536.tar.bz2
Restore LDFLAGS in notes.exp
Fixes an spu-elf test regression due to using the wrong flags. * testsuite/ld-elf/notes.exp: Restore LDFLAGS.
-rw-r--r--ld/ChangeLog4
-rw-r--r--ld/testsuite/ld-elf/notes.exp2
2 files changed, 6 insertions, 0 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index bb20a46..78c0d26 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,7 @@
+2018-05-15 Alan Modra <amodra@gmail.com>
+
+ * testsuite/ld-elf/notes.exp: Restore LDFLAGS.
+
2018-05-14 Nick Clifton <nickc@redhat.com>
* testsuite/ld-elf/notes.exp: New file: Run new test.
diff --git a/ld/testsuite/ld-elf/notes.exp b/ld/testsuite/ld-elf/notes.exp
index 5f55d46..9bf036c 100644
--- a/ld/testsuite/ld-elf/notes.exp
+++ b/ld/testsuite/ld-elf/notes.exp
@@ -41,3 +41,5 @@ run_ld_link_tests [list \
{{readelf {--wide --notes} note1.r}} \
"note1.so" ] \
]
+
+set LDFLAGS $old_ldflags