aboutsummaryrefslogtreecommitdiff
path: root/ld
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 /ld
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.
Diffstat (limited to 'ld')
-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
6 files changed, 17 insertions, 18 deletions
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