This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: PR5900
- From: Hans-Peter Nilsson <hp at bitrange dot com>
- To: Alan Modra <amodra at bigpond dot net dot au>
- Cc: binutils at sourceware dot org
- Date: Thu, 13 Mar 2008 08:47:43 -0400 (EDT)
- Subject: Re: PR5900
- References: <20080312083240.GC19543@bubble.grove.modra.org>
On Wed, 12 Mar 2008, Alan Modra wrote:
> ld/testsuite/
> PR 5900
> * ld-elf/sec64k.exp: Update.
While it certainly makes sense to verify that the "old gap"
doesn't regress, wouldn't it make sense to focus on the 65535,
65536 lines being correctly handled?
> Index: ld/testsuite/ld-elf/sec64k.exp
> ===================================================================
> RCS file: /cvs/src/src/ld/testsuite/ld-elf/sec64k.exp,v
> retrieving revision 1.14
> diff -u -p -r1.14 sec64k.exp
> --- ld/testsuite/ld-elf/sec64k.exp 6 Jul 2007 14:09:43 -0000 1.14
> +++ ld/testsuite/ld-elf/sec64k.exp 12 Mar 2008 07:46:32 -0000
> @@ -1,5 +1,5 @@
> # Expect script for tests for >64k sections
> -# Copyright 2002, 2003, 2006, 2007 Free Software Foundation, Inc.
> +# Copyright 2002, 2003, 2006, 2007, 2008 Free Software Foundation, Inc.
> #
> # This file is part of the GNU Binutils.
> #
> @@ -106,12 +106,12 @@ if {![istarget "m32r-*-*"]} then {
> puts $ofd "#readelf: -W -Ss"
> puts $ofd "There are 680.. section headers.*:"
> puts $ofd "#..."
> - puts $ofd " \\\[ 0\\\] .* 682\[0-9\]\[0-9\]\[ \]+0\[ \]+0"
> + puts $ofd " \\\[ 0\\\] .* 680\[0-9\]\[0-9\]\[ \]+0\[ \]+0"
> puts $ofd "#..."
> puts $ofd " \\\[ \[0-9\]\\\] \.foo\.1\[ \]+PROGBITS\[ \]+.*"
> puts $ofd "#..."
> puts $ofd " \\\[65279\\\] (.rel\[a\]?)?\\.foo\\.\[0-9\]+ .*"
> - puts $ofd " \\\[65536\\\] (.rel\[a\]?)?\\.foo\\.\[0-9\]+ .*"
> + puts $ofd " \\\[65280\\\] (.rel\[a\]?)?\\.foo\\.\[0-9\]+ .*"
> puts $ofd "#..."
> puts $ofd " 340..: 0+\[ \]+0\[ \]+SECTION\[ \]+LOCAL\[ \]+DEFAULT\[ \]+68... "
> puts $ofd "#..."
> @@ -144,12 +144,12 @@ if { [istarget spu*-*-*] } {
> puts $ofd "#readelf: -W -Ss"
> puts $ofd "There are 660.. section headers.*:"
> puts $ofd "#..."
> -puts $ofd " \\\[ 0\\\] .* 662..\[ \]+0\[ \]+0"
> +puts $ofd " \\\[ 0\\\] .* 660..\[ \]+0\[ \]+0"
> puts $ofd "#..."
> puts $ofd " \\\[65279\\\] \\.foo\\.\[0-9\]+ .*"
> -puts $ofd " \\\[65536\\\] \\.foo\\.\[0-9\]+ .*"
> +puts $ofd " \\\[65280\\\] \\.foo\\.\[0-9\]+ .*"
> puts $ofd "#..."
> -puts $ofd " 660..: \[0-9a-f\]+\[ \]+0\[ \]+SECTION\[ \]+LOCAL\[ \]+DEFAULT\[ \]+662.. "
> +puts $ofd " 660..: \[0-9a-f\]+\[ \]+0\[ \]+SECTION\[ \]+LOCAL\[ \]+DEFAULT\[ \]+660.. "
> puts $ofd "#..."
> puts $ofd " 660..: \[0-9a-f\]+\[ \]+0\[ \]+NOTYPE\[ \]+LOCAL\[ \]+DEFAULT\[ \]+\[0-9\] bar_1$"
> puts $ofd "#..."