diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2004-10-14 16:20:47 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2004-10-14 16:20:47 +0000 |
commit | e0255be8fccea5f3911f5f1b1942cb04c723ba12 (patch) | |
tree | e54966847ded8f3f6dd198a8cd3db5bad3791047 | |
parent | f29ff786ba8fe3ccfc197e825b688015a75ffa4d (diff) | |
download | gdb-e0255be8fccea5f3911f5f1b1942cb04c723ba12.zip gdb-e0255be8fccea5f3911f5f1b1942cb04c723ba12.tar.gz gdb-e0255be8fccea5f3911f5f1b1942cb04c723ba12.tar.bz2 |
2004-10-14 H.J. Lu <hongjiu.lu@intel.com>
* ld-scripts/sort.exp: Run for ELF targets only.
-rw-r--r-- | ld/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | ld/testsuite/ld-scripts/sort.exp | 5 |
2 files changed, 9 insertions, 0 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index f9a8bd5..b14a287 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2004-10-14 H.J. Lu <hongjiu.lu@intel.com> + + * ld-scripts/sort.exp: Run for ELF targets only. + 2004-10-14 Alan Modra <amodra@bigpond.net.au> * ld-scripts/overlay-size.d: Update for changed orphan section diff --git a/ld/testsuite/ld-scripts/sort.exp b/ld/testsuite/ld-scripts/sort.exp index af88223..5bab1c3 100644 --- a/ld/testsuite/ld-scripts/sort.exp +++ b/ld/testsuite/ld-scripts/sort.exp @@ -17,6 +17,11 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# FIXME: The expected outputs are correct only for ELF. +if ![is_elf_format] { + return +} + load_lib ld-lib.exp set sort_test_list [lsort [glob -nocomplain $srcdir/$subdir/sort*.d]] |