From: Alan Modra Date: Tue, 22 Mar 2005 14:29:09 +0000 (+0000) Subject: gas/testsuite/ X-Git-Tag: binutils-csl-arm-2005q1-branchpoint~8 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=352a2bd8bb7c089bd795be66b80bf0632c28d5d2;p=thirdparty%2Fbinutils-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 ac98f45366a..68f166783cb 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,15 +1,19 @@ +2005-03-23 Alan Modra + + * gas/elf/section5.s: Don't start directives in first column. + 2005-03-14 Eric Christopher - * gas/cfi/cfi-mips-1.d, gas/cfi/cfi-mips-1.s: New dump test. - * gas/cfi/cfi.exp: Run it. - * gas/cfi/cfi-common-1.d: Update. - * gas/cfi/cfi-common-2.d: Ditto. - * gas/cfi/cfi-common-3.d: Ditto. - * gas/cfi/cfi-common-4.d: Ditto. + * gas/cfi/cfi-mips-1.d, gas/cfi/cfi-mips-1.s: New dump test. + * gas/cfi/cfi.exp: Run it. + * gas/cfi/cfi-common-1.d: Update. + * gas/cfi/cfi-common-2.d: Ditto. + * gas/cfi/cfi-common-3.d: Ditto. + * gas/cfi/cfi-common-4.d: Ditto. 2005-03-10 Aldy Hernandez - * gas/ppc/e500.d: Fix encoding of efscfd. + * gas/ppc/e500.d: Fix encoding of efscfd. 2005-03-09 Richard Sandiford @@ -102,7 +106,7 @@ 2005-03-03 Ramana Radhakrishnan * gas/arc/extensions.s: Add tests for extcoreregister - * gas/arc/extensions.d: Likewise. + * gas/arc/extensions.d: Likewise. * gas/arc/warn.s: Warnings for readonly core registers accessed . * gas/arc/warn.d:Likewise. @@ -114,8 +118,8 @@ 2005-03-03 Ramana Radhakrishnan - * gas/arc/ld.s:Add checks for short immediates with ld - * gas/arc/ld.d:Likewise. + * gas/arc/ld.s: Add checks for short immediates with ld. + * gas/arc/ld.d: Likewise. 2005-03-02 Daniel Jacobowitz 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 99769c98f5e..04f2d450229 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-16 David Heine Bob Wilson 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