* ld-scripts/alignof.exp: Skip on non-elf
authorNathan Sidwell <nathan@codesourcery.com>
Mon, 2 Jul 2007 15:56:46 +0000 (15:56 +0000)
committerNathan Sidwell <nathan@codesourcery.com>
Mon, 2 Jul 2007 15:56:46 +0000 (15:56 +0000)
ld/testsuite/ChangeLog
ld/testsuite/ld-scripts/alignof.exp

index 28099e90191c842f2eb988aae605199b78efd259..7cb33ce74839192a4ae5ecec7b6a7d15e08582ce 100644 (file)
@@ -1,3 +1,7 @@
+2007-07-02  Nathan Sidwell  <nathan@codesourcery.com>
+
+       * ld-scripts/alignof.exp: Skip on non-elf
+
 2007-06-29  Joseph Myers  <joseph@codesourcery.com>
 
        * ld-powerpc/attr-gnu-4-0.s, ld-powerpc/attr-gnu-4-00.d,
index 7b812dbdfa07b1e5cb1fd81d2d46b3f9ee65f22a..0955e7c3f9b00ce457c48c3c325cf7bd971a4bfb 100644 (file)
 # 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] {
This page took 0.026232 seconds and 4 git commands to generate.