Fix typo fsqrt -> sqrtf.
[deliverable/binutils-gdb.git] / ld / testsuite / ld-scripts / alignof.exp
index 7b812dbdfa07b1e5cb1fd81d2d46b3f9ee65f22a..db91c73c9db7bdd7ea637bd5761b3a1137d70104 100644 (file)
@@ -1,19 +1,29 @@
 # Test ALIGNOF in a linker script.
-# By Nathan Sidwell <nathan@codesourcery.com>
+# Copyright (C) 2007-2016 Free Software Foundation, Inc.
+# Contributed by Nathan Sidwell <nathan@codesourcery.com>
 #
-# This file is free software; you can redistribute it and/or modify
+# This file is part of the GNU Binutils.
+#
+# This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
+# the Free Software Foundation; either version 3 of the License, or
 # (at your option) any later version.
-# 
+#
 # This program is distributed in the hope that it will be useful,
 # but WITHOUT ANY WARRANTY; without even the implied warranty of
 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 # GNU General Public License for more details.
-# 
+#
 # You should have received a copy of the GNU General Public License
 # along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
+# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
+# MA 02110-1301, USA.
+
+# Only ELF and PE-COFF targets record section alignment.
+
+if {![is_elf_format] && ![is_pecoff_format]} {
+    return
+}
 
 set testname "ALIGNOF"
 
This page took 0.02455 seconds and 4 git commands to generate.