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] Limit ld-elf/compressed1b.d to Linux/GNU targets


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

commit 83a471c3a112bfce3b13085e51209c826be8257d
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Wed Apr 27 15:51:29 2016 -0700

    Limit ld-elf/compressed1b.d to Linux/GNU targets
    
    Since not all ELF targets use the elf.em emulation to support ld option:
    --compress-debug-sections=zlib-gnu, limit compressed1b.d to Linux/GNU
    targets.
    
    	* testsuite/ld-elf/compressed1b.d: Only run for Linux/GNU targets.

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

diff --git a/ld/ChangeLog b/ld/ChangeLog
index 379a214..c4ded92 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,5 +1,9 @@
 2016-04-27  H.J. Lu  <hongjiu.lu@intel.com>
 
+	* testsuite/ld-elf/compressed1b.d: Only run for Linux/GNU targets.
+
+2016-04-27  H.J. Lu  <hongjiu.lu@intel.com>
+
 	PR ld/20006
 	* testsuite/ld-elfvsb/elfvsb.exp (COMPRESS_LDFLAG): New.
 	(visibility_run): Pass COMPRESS_LDFLAG to visibility_test on
diff --git a/ld/testsuite/ld-elf/compressed1b.d b/ld/testsuite/ld-elf/compressed1b.d
index 04973a4..34dfe8e 100644
--- a/ld/testsuite/ld-elf/compressed1b.d
+++ b/ld/testsuite/ld-elf/compressed1b.d
@@ -2,6 +2,7 @@
 #as: --compress-debug-sections=zlib-gabi
 #ld: -r --compress-debug-sections=none
 #readelf: -t
+#target: *-*-linux* *-*-gnu*
 
 #failif
 #...


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