aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-discard
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2002-07-30 07:41:15 +0000
committerAlan Modra <amodra@gmail.com>2002-07-30 07:41:15 +0000
commit19c7c5822243dbcbd867de476f910fb746e5aa09 (patch)
tree2042d40466e42dbacbde3b7d5b6ab9229f6d1b6f /ld/testsuite/ld-discard
parent0c24a63fe308fef03ac58f5ed5fe709e99b01f2a (diff)
downloadgdb-19c7c5822243dbcbd867de476f910fb746e5aa09.zip
gdb-19c7c5822243dbcbd867de476f910fb746e5aa09.tar.gz
gdb-19c7c5822243dbcbd867de476f910fb746e5aa09.tar.bz2
* ld-discard/discard.exp, ld-scripts/phdrs.exp, ld-scripts/phdrs2.exp,
ld-selective/sel-dump.exp: Test hppa*64*-*-hpux* target. * ld-elfvers/vers.exp, ld-elfvsb/elfvsb.exp, ld-elfweak/elfweak.exp, ld-linkonce/linkonce.exp, ld-shared/shared.exp, ld-undefined/weak-undef.exp: Test hppa*64*-*-hpux* and hppa*-*-linux* targets. * ld-discard/exit.s, ld-discard/extern.s, ld-discard/start.s, ld-discard/static.s: Add whitespace before assembler directives.
Diffstat (limited to 'ld/testsuite/ld-discard')
-rw-r--r--ld/testsuite/ld-discard/discard.exp5
-rw-r--r--ld/testsuite/ld-discard/exit.s4
-rw-r--r--ld/testsuite/ld-discard/extern.s8
-rw-r--r--ld/testsuite/ld-discard/start.s4
-rw-r--r--ld/testsuite/ld-discard/static.s4
5 files changed, 14 insertions, 11 deletions
diff --git a/ld/testsuite/ld-discard/discard.exp b/ld/testsuite/ld-discard/discard.exp
index da60e90..6aa9560 100644
--- a/ld/testsuite/ld-discard/discard.exp
+++ b/ld/testsuite/ld-discard/discard.exp
@@ -22,7 +22,10 @@
# Test for ELF here, so we don't have to qualify on ELF specifically
# in every .d-file.
-if { ![istarget *-*-linux*] && ![istarget *-*-gnu] && ![istarget *-*-elf] } {
+if { ![istarget *-*-linux*] \
+ && ![istarget *-*-gnu] \
+ && ![istarget hppa*64*-*-hpux*] \
+ && ![istarget *-*-elf] } {
return
}
diff --git a/ld/testsuite/ld-discard/exit.s b/ld/testsuite/ld-discard/exit.s
index 80acef5..cc6786c 100644
--- a/ld/testsuite/ld-discard/exit.s
+++ b/ld/testsuite/ld-discard/exit.s
@@ -1,6 +1,6 @@
-.globl data
+ .globl data
.section .data.exit,"aw"
data:
-.globl text
+ .globl text
.section .text.exit,"aw"
text:
diff --git a/ld/testsuite/ld-discard/extern.s b/ld/testsuite/ld-discard/extern.s
index da8e276..f54a8a0 100644
--- a/ld/testsuite/ld-discard/extern.s
+++ b/ld/testsuite/ld-discard/extern.s
@@ -1,11 +1,11 @@
-.globl data
+ .globl data
.section .data.exit,"aw"
data:
-.globl text
+ .globl text
.section .text.exit,"aw"
text:
-.text
-.globl _start
+ .text
+ .globl _start
_start:
.long data
.section .debug_info
diff --git a/ld/testsuite/ld-discard/start.s b/ld/testsuite/ld-discard/start.s
index 82290c6..9a6749e 100644
--- a/ld/testsuite/ld-discard/start.s
+++ b/ld/testsuite/ld-discard/start.s
@@ -1,5 +1,5 @@
-.text
-.globl _start
+ .text
+ .globl _start
_start:
.long data
.section .debug_info
diff --git a/ld/testsuite/ld-discard/static.s b/ld/testsuite/ld-discard/static.s
index b251c8b..d6a6c68 100644
--- a/ld/testsuite/ld-discard/static.s
+++ b/ld/testsuite/ld-discard/static.s
@@ -2,8 +2,8 @@
data:
.section .text.exit,"aw"
text:
-.text
-.globl _start
+ .text
+ .globl _start
_start:
.long data
.section .debug_info