Even more hppa testsuite patches.

This commit is contained in:
Alan Modra
2000-07-10 17:02:16 +00:00
parent e0e338392e
commit 36a3dc5119
5 changed files with 24 additions and 2 deletions

View File

@@ -28,7 +28,7 @@ if [istarget a29k*-*-*] {
# hppa-elf needs a definition for $global$.
if [istarget hppa*-*-*] {
set flags "$flags --defsym '\$global\$'=0"
set flags "$flags --defsym \\\$global\\\$=0"
}
verbose -log "$ld $flags -o tmpdir/cross1 -T $srcdir/$subdir/cross1.t tmpdir/cross1.o tmpdir/cross2.o"

View File

@@ -35,7 +35,13 @@ set weak_regexp_big \
set weak_regexp_little \
".*Contents of section .text:.*1000 08100000 0c200000 12121212 34343434.*Contents of section .data:.*2000 08100000 0c200000 56565656 78787878.*"
if {! [ld_simple_link $ld tmpdir/weak "-T $srcdir/$subdir/weak.t tmpdir/weak1.o tmpdir/weak2.o"] } then {
# hppa-elf needs a definition for $global$.
set flags ""
if [istarget hppa*-*-*] {
set flags "--defsym \\\$global\\\$=0"
}
if {! [ld_simple_link $ld tmpdir/weak "$flags -T $srcdir/$subdir/weak.t tmpdir/weak1.o tmpdir/weak2.o"] } then {
fail $testname
} else {
if {[which $objdump] == 0} then {