aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-scripts/alignof.exp
diff options
context:
space:
mode:
authorDanny Smith <dannysmith@users.sourceforge.net>2007-11-04 23:49:09 +0000
committerDanny Smith <dannysmith@users.sourceforge.net>2007-11-04 23:49:09 +0000
commit11ec4ba97796b1bdfc68b034ce3f719af81c3e48 (patch)
tree915761ca29d546532e04c61bb0b54b2caa9a0f1b /ld/testsuite/ld-scripts/alignof.exp
parent4c9b8248edefb916b9d4265ecdcde15a2bb688b9 (diff)
downloadgdb-11ec4ba97796b1bdfc68b034ce3f719af81c3e48.zip
gdb-11ec4ba97796b1bdfc68b034ce3f719af81c3e48.tar.gz
gdb-11ec4ba97796b1bdfc68b034ce3f719af81c3e48.tar.bz2
include
* coff/pe.h (COFF_ENCODE_ALIGNMENT) Define. gas * read.c (ALIGN_LIMIT): Rename to ... (TC_ALIGN_LIMIT): Guard against prior definition. * config/tc-i386.h (TC_ALIGN_LIMIT)[TE_PE]: Define. bfd * pe-i386.c (COFF_SECTION_ALIGNMENT_ENTRIES): Let .data, .text and .bss section use the default. * pei-i386.c (COFF_SECTION_ALIGNMENT_ENTRIES): Likewise. ld/testsuite * ld-scripts/align.exp: Enable for PECOFF. * ld-scripts/alignof.exp: Likewise.
Diffstat (limited to 'ld/testsuite/ld-scripts/alignof.exp')
-rw-r--r--ld/testsuite/ld-scripts/alignof.exp4
1 files changed, 2 insertions, 2 deletions
diff --git a/ld/testsuite/ld-scripts/alignof.exp b/ld/testsuite/ld-scripts/alignof.exp
index 207d22c..0f05aeb 100644
--- a/ld/testsuite/ld-scripts/alignof.exp
+++ b/ld/testsuite/ld-scripts/alignof.exp
@@ -19,9 +19,9 @@
# 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
}