This is the mail archive of the binutils-cvs@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[binutils-gdb] Run ld-elf/strtab only on linux/gnu targets


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

commit 06e78fc77dfcb8a63e44a790c9731db0eaebe87d
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Thu Jun 25 10:14:13 2015 -0700

    Run ld-elf/strtab only on linux/gnu targets
    
    Since not all ELF targets support -shared, we limit ld-elf/strtab to
    linux and gnu targets.
    
    	* ld-elf/strtab.d: Only run on *-*-linux* and *-*-gnu* targets.

Diff:
---
 ld/testsuite/ChangeLog       | 4 ++++
 ld/testsuite/ld-elf/strtab.d | 1 +
 2 files changed, 5 insertions(+)

diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog
index 9beb418..8a6121e 100644
--- a/ld/testsuite/ChangeLog
+++ b/ld/testsuite/ChangeLog
@@ -1,5 +1,9 @@
 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
 
+	* ld-elf/strtab.d: Only run on *-*-linux* and *-*-gnu* targets.
+
+2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
+
 	* ld-mmix/bspec1.d: Updated.
 	* ld-mmix/bspec2.d: Likewise.
 	* ld-mmix/undef-3.d: Likewise.
diff --git a/ld/testsuite/ld-elf/strtab.d b/ld/testsuite/ld-elf/strtab.d
index 0797708..c1e9096 100644
--- a/ld/testsuite/ld-elf/strtab.d
+++ b/ld/testsuite/ld-elf/strtab.d
@@ -1,5 +1,6 @@
 #ld: -shared
 #readelf: -W -x .strtab
+#target: *-*-linux* *-*-gnu*
 
 #failif
 #...


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]