This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: fix PR45
- From: Christopher Faylor <me at cgf dot cx>
- To: binutils at sources dot redhat dot com
- Date: Sat, 26 Jun 2004 12:07:42 -0400
- Subject: Re: fix PR45
- References: <20040626041827.GK3469@bubble.modra.org>
On Sat, Jun 26, 2004 at 01:48:27PM +0930, Alan Modra wrote:
>ld/testsuite/ChangeLog
> * ld-bootstrap/bootstrap.exp: Handle timestamps in more pe targets.
Isn't there some other way of finding out if a target is PE-based other
than enumerating all of the target names?
cgf
>Index: ld-bootstrap/bootstrap.exp
>===================================================================
>RCS file: /cvs/src/src/ld/testsuite/ld-bootstrap/bootstrap.exp,v
>retrieving revision 1.9
>diff -u -p -r1.9 bootstrap.exp
>--- ld-bootstrap/bootstrap.exp 30 May 2002 21:39:41 -0000 1.9
>+++ ld-bootstrap/bootstrap.exp 26 Jun 2004 04:17:36 -0000
>@@ -137,7 +137,13 @@ foreach flags {"" "strip" "--static" "--
> send_log "compare (tail of) tmpdir/ld2 tmpdir/ld3\n"
> verbose "compare (tail of) tmpdir/ld2 tmpdir/ld3"
> if {[istarget "*-*-pe"]
>- || [istarget "*-*-wince"]} {
>+ || [istarget "*-*-wince"]
>+ || [istarget "*-*-cygwin*"]
>+ || [istarget "*-*-winnt*"]
>+ || [istarget "*-*-mingw32*"]
>+ || [istarget "*-*-interix*"]
>+ || [istarget "*-*-beospe*"]
>+ || [istarget "*-*-netbsdpe*"]} {
> # Trim off the date present in PE binaries by only looking
> # at the ends of the files
> # Although this works, a way to set the date would be better.