From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24413 invoked by alias); 10 May 2006 15:10:31 -0000 Received: (qmail 24399 invoked by uid 22791); 10 May 2006 15:10:30 -0000 X-Spam-Check-By: sourceware.org Received: from bender.bawue.de (HELO bender.bawue.de) (193.7.176.20) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 10 May 2006 15:10:24 +0000 Received: from lagash (unknown [194.74.144.146]) by bender.bawue.de (Postfix) with ESMTP id 84A7244970 for ; Wed, 10 May 2006 17:10:21 +0200 (MEST) Received: from ths by lagash with local (Exim 4.62) (envelope-from ) id 1FdqK0-0003DY-LC for binutils@sourceware.org; Wed, 10 May 2006 16:09:52 +0100 Date: Wed, 10 May 2006 17:01:00 -0000 To: binutils@sourceware.org Subject: [PATCH] Fix 64k segment test for MIPS ld Message-ID: <20060510150952.GC27394@networkno.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.11+cvs20060403 From: Thiemo Seufer X-IsSubscribed: yes Mailing-List: contact binutils-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sourceware.org X-SW-Source: 2006-05/txt/msg00198.txt.bz2 Hello All, I applied the appended patch, it fixes test FAILures for mips*-*-linux. Thiemo 2006-05-10 Thiemo Seufer * 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 "#..."