public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] Fix 64k segment test for MIPS ld
@ 2006-05-10 17:01 Thiemo Seufer
  0 siblings, 0 replies; only message in thread
From: Thiemo Seufer @ 2006-05-10 17:01 UTC (permalink / raw)
  To: binutils

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 "#..."

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-05-10 15:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-05-10 17:01 [PATCH] Fix 64k segment test for MIPS ld Thiemo Seufer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).