aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-scripts/align.exp
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2005-02-21 08:18:49 +0000
committerAlan Modra <amodra@gmail.com>2005-02-21 08:18:49 +0000
commit2562953678f04d6574d5dffdbc41242e5b487ff5 (patch)
tree0b11ef922d34d46f76effa8a2073e5145901f474 /ld/testsuite/ld-scripts/align.exp
parenteefe576e605babfb4b79cd52576c395302245604 (diff)
downloadgdb-2562953678f04d6574d5dffdbc41242e5b487ff5.zip
gdb-2562953678f04d6574d5dffdbc41242e5b487ff5.tar.gz
gdb-2562953678f04d6574d5dffdbc41242e5b487ff5.tar.bz2
* ld-elf/warn1.d: Specify -Ttext.
* ld-scripts/align.exp (align2a, align2b: Don't run on aout targets. * ld-scripts/align2.t: Discard all but .text and .data. * ld-scripts/align2a.d: Accept non-readonly for coff. * ld-scripts/align2b.d: Likewise. * lib/ld-lib.exp (is_aout_format): New function.
Diffstat (limited to 'ld/testsuite/ld-scripts/align.exp')
-rw-r--r--ld/testsuite/ld-scripts/align.exp6
1 files changed, 4 insertions, 2 deletions
diff --git a/ld/testsuite/ld-scripts/align.exp b/ld/testsuite/ld-scripts/align.exp
index dbaaaf3..5d4cd43 100644
--- a/ld/testsuite/ld-scripts/align.exp
+++ b/ld/testsuite/ld-scripts/align.exp
@@ -35,6 +35,8 @@ if ![ld_simple_link $ld tmpdir/align "-T $srcdir/$subdir/align.t tmpdir/align.o"
pass $testname
}
-run_dump_test align2a
-run_dump_test align2b
+if ![is_aout_format] {
+ run_dump_test align2a
+ run_dump_test align2b
+}
run_dump_test align2c