aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-scripts
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@codesourcery.com>2007-07-02 15:56:46 +0000
committerNathan Sidwell <nathan@codesourcery.com>2007-07-02 15:56:46 +0000
commit82c01eb610fe78f3d8f9fbbb89d114601e19d621 (patch)
treebdc36473ef97e5eb2ad1e1a0fea152a6dfe6661d /ld/testsuite/ld-scripts
parentae13219ef81570640d856de602d606752f1b562a (diff)
downloadgdb-82c01eb610fe78f3d8f9fbbb89d114601e19d621.zip
gdb-82c01eb610fe78f3d8f9fbbb89d114601e19d621.tar.gz
gdb-82c01eb610fe78f3d8f9fbbb89d114601e19d621.tar.bz2
* ld-scripts/alignof.exp: Skip on non-elf
Diffstat (limited to 'ld/testsuite/ld-scripts')
-rw-r--r--ld/testsuite/ld-scripts/alignof.exp6
1 files changed, 6 insertions, 0 deletions
diff --git a/ld/testsuite/ld-scripts/alignof.exp b/ld/testsuite/ld-scripts/alignof.exp
index 7b812db..0955e7c 100644
--- a/ld/testsuite/ld-scripts/alignof.exp
+++ b/ld/testsuite/ld-scripts/alignof.exp
@@ -15,6 +15,12 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
+# Only ELF targets record section alignment.
+
+if ![is_elf_format] {
+ return
+}
+
set testname "ALIGNOF"
if ![ld_assemble $as $srcdir/$subdir/alignof.s tmpdir/alignof.o] {