# Test ALIGNOF in a linker script.
-# Copyright 2007 Free Software Foundation, Inc.
+# Copyright (C) 2007-2015 Free Software Foundation, Inc.
# Contributed by Nathan Sidwell <nathan@codesourcery.com>
#
# This file is part of the GNU Binutils.
# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
# MA 02110-1301, USA.
-# Only ELF targets record section alignment.
+# Only ELF and PE-COFF targets record section alignment.
-if ![is_elf_format] {
+if {![is_elf_format] && ![is_pecoff_format]} {
return
}