diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2016-04-27 15:51:29 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2016-04-27 15:51:29 -0700 |
commit | 83a471c3a112bfce3b13085e51209c826be8257d (patch) | |
tree | e475002c75523d2bf923a9eb24712da653c97c27 | |
parent | d9019901f830e58b0b16793ffe6e70b9afd26ea6 (diff) | |
download | gdb-83a471c3a112bfce3b13085e51209c826be8257d.zip gdb-83a471c3a112bfce3b13085e51209c826be8257d.tar.gz gdb-83a471c3a112bfce3b13085e51209c826be8257d.tar.bz2 |
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.
-rw-r--r-- | ld/ChangeLog | 4 | ||||
-rw-r--r-- | ld/testsuite/ld-elf/compressed1b.d | 1 |
2 files changed, 5 insertions, 0 deletions
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 #... |