aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2000-10-02 10:18:14 +0000
committerAlan Modra <amodra@gmail.com>2000-10-02 10:18:14 +0000
commit65420b22d13adc143d4a5ad8bf42ab6b912ee4d1 (patch)
treec0af2e977375313c20fc0a66f8b30ba8f7b41008 /ld
parent36605136d4dc16ba344687ef50e48be1196727fe (diff)
downloadgdb-65420b22d13adc143d4a5ad8bf42ab6b912ee4d1.zip
gdb-65420b22d13adc143d4a5ad8bf42ab6b912ee4d1.tar.gz
gdb-65420b22d13adc143d4a5ad8bf42ab6b912ee4d1.tar.bz2
Remove some hppa-elf fudges.
Diffstat (limited to 'ld')
-rw-r--r--ld/testsuite/ChangeLog5
-rw-r--r--ld/testsuite/ld-scripts/crossref.exp5
-rw-r--r--ld/testsuite/ld-scripts/weak.exp6
3 files changed, 5 insertions, 11 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog
index 20d42ff..3d3ee06 100644
--- a/ld/testsuite/ChangeLog
+++ b/ld/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2000-10-02 Alan Modra <alan@linuxcare.com.au>
+
+ * ld-scripts/weak.exp: Don't set $global$ for hppa-elf any more.
+ * ld-scripts/crossref.exp: Ditto.
+
2000-09-29 Hans-Peter Nilsson <hp@bitrange.com>
* ld-selective/5.cc: New test.
diff --git a/ld/testsuite/ld-scripts/crossref.exp b/ld/testsuite/ld-scripts/crossref.exp
index d5bcc49..b52d92c 100644
--- a/ld/testsuite/ld-scripts/crossref.exp
+++ b/ld/testsuite/ld-scripts/crossref.exp
@@ -26,11 +26,6 @@ if [istarget a29k*-*-*] {
set flags "$flags --defsym V_SPILL=0 --defsym V_FILL=0"
}
-# hppa-elf needs a definition for $global$.
-if [istarget hppa*-*-*] {
- set flags "$flags --defsym \\\$global\\\$=0"
-}
-
verbose -log "$ld $flags -o tmpdir/cross1 -T $srcdir/$subdir/cross1.t tmpdir/cross1.o tmpdir/cross2.o"
catch "exec $ld $flags -o tmpdir/cross1 -T $srcdir/$subdir/cross1.t tmpdir/cross1.o tmpdir/cross2.o" exec_output
diff --git a/ld/testsuite/ld-scripts/weak.exp b/ld/testsuite/ld-scripts/weak.exp
index 47651c0..f3a22e1 100644
--- a/ld/testsuite/ld-scripts/weak.exp
+++ b/ld/testsuite/ld-scripts/weak.exp
@@ -35,12 +35,6 @@ 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.*"
-# 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 {