This is the mail archive of the binutils@sourceware.org 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]
Other format: [Raw text]

[PATCH] Fix 64k segment test for MIPS ld


Hello All,

I applied the appended patch, it fixes test FAILures for mips*-*-linux.


Thiemo


2006-05-10  Thiemo Seufer  <ths@debian.org>

	* ld-elf/sec64k.exp: Extend for MIPS ELF.


Index: testsuite/ld-elf/sec64k.exp
===================================================================
RCS file: /cvs/src/src/ld/testsuite/ld-elf/sec64k.exp,v
retrieving revision 1.8
diff -u -p -r1.8 sec64k.exp
--- testsuite/ld-elf/sec64k.exp	15 Nov 2005 08:32:02 -0000	1.8
+++ testsuite/ld-elf/sec64k.exp	10 May 2006 14:55:34 -0000
@@ -51,7 +51,9 @@ for { set i 0 } { $i < $max_sec / $secs_
 
     if { $i == 0 } {
 	puts $ofd " .global _start"
+	puts $ofd " .global __start"
 	puts $ofd "_start:"
+	puts $ofd "__start:"
 	puts $ofd " .global foo_0"
 	puts $ofd "foo_0: .long 0"
     }
@@ -101,7 +103,7 @@ puts $ofd "  \\\[65536\\\] (.rel\[a\]?)?
 puts $ofd "#..."
 puts $ofd " 680..: 0+\[ \]+0\[ \]+SECTION\[ \]+LOCAL\[ \]+DEFAULT\[ \]+68... "
 puts $ofd "#..."
-puts $ofd " 680..: 0+4\[ \]+0\[ \]+NOTYPE\[ \]+LOCAL\[ \]+DEFAULT\[ \]+2 bar_1"
+puts $ofd " 680..: 0+4\[ \]+0\[ \]+NOTYPE\[ \]+LOCAL\[ \]+DEFAULT\[ \]+\[23\] bar_1"
 puts $ofd "#..."
 puts $ofd ".* bar_34000"
 puts $ofd "#..."


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