[binutils-gdb] Restore LDFLAGS in notes.exp

Alan Modra amodra@sourceware.org
Tue May 15 11:35:00 GMT 2018


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=aa82c0d347b6380c0d80263be0613bca88ca4536

commit aa82c0d347b6380c0d80263be0613bca88ca4536
Author: Alan Modra <amodra@gmail.com>
Date:   Tue May 15 19:38:53 2018 +0930

    Restore LDFLAGS in notes.exp
    
    Fixes an spu-elf test regression due to using the wrong flags.
    
    	* testsuite/ld-elf/notes.exp: Restore LDFLAGS.

Diff:
---
 ld/ChangeLog                  | 4 ++++
 ld/testsuite/ld-elf/notes.exp | 2 ++
 2 files changed, 6 insertions(+)

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



More information about the Binutils-cvs mailing list