This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: fix PR45


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]