public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* fix PR45
@ 2004-06-26  4:18 Alan Modra
  2004-06-26 16:08 ` Christopher Faylor
  0 siblings, 1 reply; 3+ messages in thread
From: Alan Modra @ 2004-06-26  4:18 UTC (permalink / raw)
  To: binutils

ld/testsuite/ChangeLog
	* ld-bootstrap/bootstrap.exp: Handle timestamps in more pe targets.

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.

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: fix PR45
  2004-06-26  4:18 fix PR45 Alan Modra
@ 2004-06-26 16:08 ` Christopher Faylor
  2004-06-29  8:51   ` Nick Clifton
  0 siblings, 1 reply; 3+ messages in thread
From: Christopher Faylor @ 2004-06-26 16:08 UTC (permalink / raw)
  To: binutils

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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: fix PR45
  2004-06-26 16:08 ` Christopher Faylor
@ 2004-06-29  8:51   ` Nick Clifton
  0 siblings, 0 replies; 3+ messages in thread
From: Nick Clifton @ 2004-06-29  8:51 UTC (permalink / raw)
  To: Christopher Faylor; +Cc: binutils

Hi Chris,

> Isn't there some other way of finding out if a target is PE-based other
> than enumerating all of the target names?

Not really.  We could move the code into the ld testsuite library 
however, like the is_elf_format proc that is already there.

Cheers
   Nick

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-06-29  8:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-06-26  4:18 fix PR45 Alan Modra
2004-06-26 16:08 ` Christopher Faylor
2004-06-29  8:51   ` Nick Clifton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).