diff options
Diffstat (limited to 'ld')
-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]] |