aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2004-10-14 16:20:47 +0000
committerH.J. Lu <hjl.tools@gmail.com>2004-10-14 16:20:47 +0000
commite0255be8fccea5f3911f5f1b1942cb04c723ba12 (patch)
treee54966847ded8f3f6dd198a8cd3db5bad3791047 /ld
parentf29ff786ba8fe3ccfc197e825b688015a75ffa4d (diff)
downloadgdb-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.
Diffstat (limited to 'ld')
-rw-r--r--ld/testsuite/ChangeLog4
-rw-r--r--ld/testsuite/ld-scripts/sort.exp5
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]]