aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-undefined
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/testsuite/ld-undefined
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/testsuite/ld-undefined')
-rw-r--r--ld/testsuite/ld-undefined/undefined.exp11
-rw-r--r--ld/testsuite/ld-undefined/weak-undef.s8
2 files changed, 5 insertions, 14 deletions
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