This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

ld testsuite tidy


Remove some fudges put in for earlier versions of hppa-elf.  Committed.

ld/testsuite/ChangeLog
	* ld-scripts/weak.exp: Don't set $global$ for hppa-elf any more.
	* ld-scripts/crossref.exp: Ditto.

Alan Modra
-- 
Linuxcare.  Support for the Revolution.

Index: ld-scripts/crossref.exp
===================================================================
RCS file: /cvs/src/src/ld/testsuite/ld-scripts/crossref.exp,v
retrieving revision 1.2
diff -u -p -r1.2 crossref.exp
--- crossref.exp	2000/07/10 17:02:16	1.2
+++ crossref.exp	2000/10/02 09:42:02
@@ -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
Index: ld-scripts/weak.exp
===================================================================
RCS file: /cvs/src/src/ld/testsuite/ld-scripts/weak.exp,v
retrieving revision 1.3
diff -u -p -r1.3 weak.exp
--- weak.exp	2000/07/10 17:02:16	1.3
+++ weak.exp	2000/10/02 09:42:02
@@ -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 {


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]