fix PR45
Christopher Faylor
me@cgf.cx
Sat Jun 26 16:08:00 GMT 2004
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.
More information about the Binutils
mailing list