From: Alan Modra Date: Tue, 22 Mar 2005 14:20:38 +0000 (+0000) Subject: gas/testsuite/ X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=52a43e710025c249ec5d6d87ca60a9e7b82209ee;p=binutils-gdb.git gas/testsuite/ * gas/elf/section5.s: Don't start directives in first column. ld/testsuite/ * ld-elf/tbss.s: Don't start directives in first column. * ld-scripts/weak1.s: Likewise. * ld-scripts/weak2.s: Likewise. * ld-undefined/weak-undef.s: Likewise. * ld-undefined/undefined.exp: Enable tests for hppa-elf. --- diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index 715428b48b6..d1add90f467 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2005-03-23 Alan Modra + + * gas/elf/section5.s: Don't start directives in first column. + 2005-03-21 Nick Clifton * gas/arm/iwmmxt.s: Update instructions that use the "never" value @@ -7,7 +11,7 @@ 2005-03-17 Jan Beulich - * gas/i386/intel.d: Add stderr directive. + * gas/i386/intel.d: Add stderr directive. * gas/i386/intel.e: New. * gas/i386/intel16.d: Add stderr directive. Adjust for changed source. diff --git a/gas/testsuite/gas/elf/section5.s b/gas/testsuite/gas/elf/section5.s index c5e6c7ace57..3a133cd0a27 100644 --- a/gas/testsuite/gas/elf/section5.s +++ b/gas/testsuite/gas/elf/section5.s @@ -1,24 +1,24 @@ -.section .test0 -.section .test1, "", %progbits -.section .test2 -.section .test3, "aw" -.section .test4, "aw", %nobits + .section .test0 + .section .test1, "", %progbits + .section .test2 + .section .test3, "aw" + .section .test4, "aw", %nobits -.section .test1, "aw", %nobits + .section .test1, "aw", %nobits test1: .long test1 -.section .test2, "w" + .section .test2, "w" test2: .long test2 -.section .test3, "aw", %progbits + .section .test3, "aw", %progbits test3: .long test3 -.section .test4, "aw" + .section .test4, "aw" -.section .data, "a" + .section .data, "a" -.section .bss, "a" + .section .bss, "a" -.section .data, "aw", %nobits + .section .data, "aw", %nobits -.section .bss, "aw", %progbits + .section .bss, "aw", %progbits diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index 8760d4907fe..d82b583ba64 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,11 @@ +2005-03-23 Alan Modra + + * ld-elf/tbss.s: Don't start directives in first column. + * ld-scripts/weak1.s: Likewise. + * ld-scripts/weak2.s: Likewise. + * ld-undefined/weak-undef.s: Likewise. + * ld-undefined/undefined.exp: Enable tests for hppa-elf. + 2005-03-22 Alan Modra * ld-powerpc/tlsexe32.r: Update. diff --git a/ld/testsuite/ld-elf/tbss.s b/ld/testsuite/ld-elf/tbss.s index 37246bbd0b6..cc43340da23 100644 --- a/ld/testsuite/ld-elf/tbss.s +++ b/ld/testsuite/ld-elf/tbss.s @@ -1,12 +1,12 @@ .file "x.c" -.globl bss + .globl bss .section .bss,"aw",%nobits .p2align 12 .type bss,%object .size bss,4096 bss: .zero 4096 -.globl tbss + .globl tbss .section .tbss,"awT",%nobits .p2align 12 .type tbss,%object diff --git a/ld/testsuite/ld-scripts/weak1.s b/ld/testsuite/ld-scripts/weak1.s index 046fbe1fa46..26bffbd608e 100644 --- a/ld/testsuite/ld-scripts/weak1.s +++ b/ld/testsuite/ld-scripts/weak1.s @@ -1,4 +1,4 @@ -.data + .data .global foo1 .global sym1 .weak sym2 diff --git a/ld/testsuite/ld-scripts/weak2.s b/ld/testsuite/ld-scripts/weak2.s index 04edff5e541..963b2297fca 100644 --- a/ld/testsuite/ld-scripts/weak2.s +++ b/ld/testsuite/ld-scripts/weak2.s @@ -1,4 +1,4 @@ -.data + .data .global foo2 .weak sym1 .global sym2 diff --git a/ld/testsuite/ld-undefined/undefined.exp b/ld/testsuite/ld-undefined/undefined.exp index 92393222ebf..4d6b6243a13 100644 --- a/ld/testsuite/ld-undefined/undefined.exp +++ b/ld/testsuite/ld-undefined/undefined.exp @@ -69,19 +69,10 @@ checkund $mu $testund #setup_xfail "arm*-*-pe*" #setup_xfail "thumb*-*-pe*" -# Just doesn't work for PA ELF. No clue why. -setup_xfail "hppa*-*-*elf*" - set mf "tmpdir/undefined.o* In function `function':" checkund $mf $testfn -if [is_elf_format] { - - # Just doesn't work for PA ELF. No clue why. - setup_xfail "hppa*-*-*" - -} else { - +if ![is_elf_format] { # COFF SH gets this test wrong--it reports line 10, because although # the jump is at line 9, the function address, and the reloc, is # stored at the end of the function. diff --git a/ld/testsuite/ld-undefined/weak-undef.s b/ld/testsuite/ld-undefined/weak-undef.s index 386a311f2b7..dbdbaa22ad7 100644 --- a/ld/testsuite/ld-undefined/weak-undef.s +++ b/ld/testsuite/ld-undefined/weak-undef.s @@ -1,4 +1,4 @@ -.data -.weak foo -.long foo -.long 0x11111111 + .data + .weak foo + .long foo + .long 0x11111111