aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2005-03-22 14:20:38 +0000
committerAlan Modra <amodra@gmail.com>2005-03-22 14:20:38 +0000
commit52a43e710025c249ec5d6d87ca60a9e7b82209ee (patch)
treeb4ad7c93fa0a444c7058773024a5fc6b3c77bd4d
parent76750a2f8dc08ff9830889b35693f99623eb610c (diff)
downloadgdb-52a43e710025c249ec5d6d87ca60a9e7b82209ee.zip
gdb-52a43e710025c249ec5d6d87ca60a9e7b82209ee.tar.gz
gdb-52a43e710025c249ec5d6d87ca60a9e7b82209ee.tar.bz2
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.
-rw-r--r--gas/testsuite/ChangeLog6
-rw-r--r--gas/testsuite/gas/elf/section5.s26
-rw-r--r--ld/testsuite/ChangeLog8
-rw-r--r--ld/testsuite/ld-elf/tbss.s4
-rw-r--r--ld/testsuite/ld-scripts/weak1.s2
-rw-r--r--ld/testsuite/ld-scripts/weak2.s2
-rw-r--r--ld/testsuite/ld-undefined/undefined.exp11
-rw-r--r--ld/testsuite/ld-undefined/weak-undef.s8
8 files changed, 35 insertions, 32 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index 715428b..d1add90 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2005-03-23 Alan Modra <amodra@bigpond.net.au>
+
+ * gas/elf/section5.s: Don't start directives in first column.
+
2005-03-21 Nick Clifton <nickc@redhat.com>
* gas/arm/iwmmxt.s: Update instructions that use the "never" value
@@ -7,7 +11,7 @@
2005-03-17 Jan Beulich <jbeulich@novell.com>
- * 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 c5e6c7a..3a133cd 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 8760d49..d82b583 100644
--- a/ld/testsuite/ChangeLog
+++ b/ld/testsuite/ChangeLog
@@ -1,3 +1,11 @@
+2005-03-23 Alan Modra <amodra@bigpond.net.au>
+
+ * 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 <amodra@bigpond.net.au>
* ld-powerpc/tlsexe32.r: Update.
diff --git a/ld/testsuite/ld-elf/tbss.s b/ld/testsuite/ld-elf/tbss.s
index 37246bb..cc43340 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 046fbe1..26bffbd 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 04edff5..963b229 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 9239322..4d6b624 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 386a311..dbdbaa2 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