From e290d3abf748b3cc270cc9bc24e05f9626fc7385 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Thu, 28 Oct 2010 06:21:49 +0000 Subject: [PATCH] * ld-elf/flags1.s: Use arm compatible .type syntax. * ld-elf/flags1.d: Remove arm and xscale xfails, add i960, ip2k, moxie, mt. --- ld/testsuite/ChangeLog | 6 ++++++ ld/testsuite/ld-elf/flags1.d | 11 +++++------ ld/testsuite/ld-elf/flags1.s | 4 ++-- 3 files changed, 13 insertions(+), 8 deletions(-) diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index f0efb354f43..c62b30833b1 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2010-10-28 Alan Modra + + * ld-elf/flags1.s: Use arm compatible .type syntax. + * ld-elf/flags1.d: Remove arm and xscale xfails, add i960, ip2k, + moxie, mt. + 2010-10-27 Andreas Krebbel * ld-s390/tlsbin.dd: bc 0,0 -> nop 0 and bcr 0,%r0 -> nopr %r0. diff --git a/ld/testsuite/ld-elf/flags1.d b/ld/testsuite/ld-elf/flags1.d index 502a42d2094..2053de05393 100644 --- a/ld/testsuite/ld-elf/flags1.d +++ b/ld/testsuite/ld-elf/flags1.d @@ -2,13 +2,12 @@ #ld: -Tflags1.ld #objcopy_linked_file: --set-section-flags .post_text_reserve=contents,alloc,load,readonly,code #readelf: -l --wide -#xfail: "arm*-*-*" "xscale-*-*" -#xfail: "avr-*-*" "dlx-*-*" "h8300-*-*" "m32r-*-*" "msp430-*-*" "tic6x-*-*" +#xfail: "avr-*-*" "dlx-*-*" "h8300-*-*" "i960-*-*" "ip2k-*-*" "m32r-*-*" +#xfail: "moxie-*-*" "mt-*-*" "msp430-*-*" "tic6x-*-*" #xfail: "*-*-hpux*" "hppa*64*-*-*" -# Fails on the ARM because the .section type character is % rather than @. -# Fails on the AVR, DLX, H8300, M32R, MSP430 and TI C6X because the two -# sections are not merged into one segment. (There is no good reason why -# they have to be). +# Fails on the AVR, DLX, H8300, I960, IP2K, M32R, MOXIE, MT, MSP430 and +# TI C6X because the two sections are not merged into one segment. +# (There is no good reason why they have to be). # Fails on HPUX systems because the .type pseudo-op behaves differently. # Fails on hppa64 because a PHDR is always added. diff --git a/ld/testsuite/ld-elf/flags1.s b/ld/testsuite/ld-elf/flags1.s index 0562131edd9..bb475363629 100644 --- a/ld/testsuite/ld-elf/flags1.s +++ b/ld/testsuite/ld-elf/flags1.s @@ -1,5 +1,5 @@ .text -.globl start - .type start, @function + .globl start + .type start, %function start: .byte 0 -- 2.30.2