From: Alan Modra Date: Tue, 30 Jul 2002 07:41:15 +0000 (+0000) Subject: * ld-discard/discard.exp, ld-scripts/phdrs.exp, ld-scripts/phdrs2.exp, X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=19c7c5822243dbcbd867de476f910fb746e5aa09;p=binutils-gdb.git * 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. --- diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index ca4509aa152..b492850d3f0 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,14 @@ +2002-07-30 John David Anglin + + * 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. + 2002-07-29 Chris Demetriou * ld-mips-elf/mips16-1.d: Check that ASE flag is actually set. diff --git a/ld/testsuite/ld-discard/discard.exp b/ld/testsuite/ld-discard/discard.exp index da60e90666b..6aa95601209 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 80acef5c64e..cc6786cb424 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 da8e27603ea..f54a8a0ce75 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 82290c6bfa3..9a6749e13a8 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 b251c8b5eba..d6a6c681214 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 diff --git a/ld/testsuite/ld-elfvers/vers.exp b/ld/testsuite/ld-elfvers/vers.exp index 6381ea50847..1acc0e6559f 100644 --- a/ld/testsuite/ld-elfvers/vers.exp +++ b/ld/testsuite/ld-elfvers/vers.exp @@ -25,7 +25,9 @@ if ![isnative] then {return} # This test can only be run on a couple of ELF platforms. # Square bracket expressions seem to confuse istarget. # This is similar to the test that is used in ld-shared, BTW. -if { ![istarget i?86-*-sysv4*] \ +if { ![istarget hppa*64*-*-hpux*] \ + && ![istarget hppa*-*-linux*] \ + && ![istarget i?86-*-sysv4*] \ && ![istarget i?86-*-unixware] \ && ![istarget i?86-*-elf*] \ && ![istarget i?86-*-linux*] \ diff --git a/ld/testsuite/ld-elfvsb/elfvsb.exp b/ld/testsuite/ld-elfvsb/elfvsb.exp index eb72b0c2cad..d73f679deec 100644 --- a/ld/testsuite/ld-elfvsb/elfvsb.exp +++ b/ld/testsuite/ld-elfvsb/elfvsb.exp @@ -26,7 +26,9 @@ if ![isnative] then {return} # This test can only be run on a couple of ELF platforms. # Square bracket expressions seem to confuse istarget. -if { ![istarget i?86-*-linux*] \ +if { ![istarget hppa*64*-*-hpux*] \ + && ![istarget hppa*-*-linux*] \ + && ![istarget i?86-*-linux*] \ && ![istarget ia64-*-linux*] \ && ![istarget m68k-*-linux*] \ && ![istarget mips*-*-linux*] \ diff --git a/ld/testsuite/ld-elfweak/elfweak.exp b/ld/testsuite/ld-elfweak/elfweak.exp index bfefa115f11..11dd323780d 100644 --- a/ld/testsuite/ld-elfweak/elfweak.exp +++ b/ld/testsuite/ld-elfweak/elfweak.exp @@ -25,7 +25,9 @@ if ![isnative] then {return} # This test can only be run on a couple of ELF platforms. # Square bracket expressions seem to confuse istarget. # This is similar to the test that is used in ld-shared, BTW. -if { ![istarget i?86-*-sysv4*] \ +if { ![istarget hppa*64*-*-hpux*] \ + && ![istarget hppa*-*-linux*] \ + && ![istarget i?86-*-sysv4*] \ && ![istarget i?86-*-unixware] \ && ![istarget i?86-*-elf*] \ && ![istarget i?86-*-linux*] \ diff --git a/ld/testsuite/ld-linkonce/linkonce.exp b/ld/testsuite/ld-linkonce/linkonce.exp index d3be491a8cf..2e24d289462 100644 --- a/ld/testsuite/ld-linkonce/linkonce.exp +++ b/ld/testsuite/ld-linkonce/linkonce.exp @@ -21,7 +21,10 @@ # Test for ELF here (or really, .gnu.linkonce functionality), 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-scripts/phdrs.exp b/ld/testsuite/ld-scripts/phdrs.exp index 4c142c636c5..7901d79d39d 100644 --- a/ld/testsuite/ld-scripts/phdrs.exp +++ b/ld/testsuite/ld-scripts/phdrs.exp @@ -22,6 +22,7 @@ if { ![istarget *-*-sysv4*] \ && ![istarget *-*-unixware*] \ && ![istarget *-*-elf*] \ && ![istarget *-*-eabi*] \ + && ![istarget hppa*64*-*-hpux*] \ && ![istarget *-*-linux*] \ && ![istarget *-*-irix5*] \ && ![istarget *-*-irix6*] \ diff --git a/ld/testsuite/ld-scripts/phdrs2.exp b/ld/testsuite/ld-scripts/phdrs2.exp index bbe36d08e91..48f24c550da 100644 --- a/ld/testsuite/ld-scripts/phdrs2.exp +++ b/ld/testsuite/ld-scripts/phdrs2.exp @@ -19,6 +19,7 @@ if { ![istarget *-*-sysv4*] \ && ![istarget *-*-unixware*] \ && ![istarget *-*-elf*] \ && ![istarget *-*-eabi*] \ + && ![istarget hppa*64*-*-hpux*] \ && ![istarget *-*-linux*] \ && ![istarget *-*-irix5*] \ && ![istarget *-*-irix6*] \ diff --git a/ld/testsuite/ld-selective/sel-dump.exp b/ld/testsuite/ld-selective/sel-dump.exp index ee4de621aa4..e99d5aef527 100644 --- a/ld/testsuite/ld-selective/sel-dump.exp +++ b/ld/testsuite/ld-selective/sel-dump.exp @@ -20,6 +20,7 @@ if { ![istarget *-*-linux*] && ![istarget *-*-gnu] + && ![istarget hppa*64*-*-hpux*] && ![istarget *-*-elf] } { return } diff --git a/ld/testsuite/ld-shared/shared.exp b/ld/testsuite/ld-shared/shared.exp index 645721ea1df..dfe71ddb1f3 100644 --- a/ld/testsuite/ld-shared/shared.exp +++ b/ld/testsuite/ld-shared/shared.exp @@ -28,7 +28,9 @@ if ![isnative] then {return} # This test can only be run on a couple of ELF platforms. # Square bracket expressions seem to confuse istarget. -if { ![istarget i?86-*-sysv4*] \ +if { ![istarget hppa*64*-*-hpux*] \ + && ![istarget hppa*-*-linux*] \ + && ![istarget i?86-*-sysv4*] \ && ![istarget i?86-*-unixware] \ && ![istarget i?86-*-elf*] \ && ![istarget i?86-*-linux*] \ diff --git a/ld/testsuite/ld-undefined/weak-undef.exp b/ld/testsuite/ld-undefined/weak-undef.exp index 8de2949750c..fe21a8fc031 100644 --- a/ld/testsuite/ld-undefined/weak-undef.exp +++ b/ld/testsuite/ld-undefined/weak-undef.exp @@ -25,6 +25,7 @@ if { ![istarget *-*-sysv4*] \ && ![istarget *-*-unixware*] \ && ![istarget *-*-elf*] \ && ![istarget *-*-eabi*] \ + && ![istarget hppa*64*-*-hpux*] \ && ![istarget *-*-linux*] \ && ![istarget *-*-irix5*] \ && ![istarget *-*-irix6*] \