bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: vax gas


From: John David Anglin
Subject: Re: vax gas
Date: Wed, 15 Aug 2001 15:27:08 -0400 (EDT)

Forwarded message:
>From dave Mon Aug 13 14:02:07 EDT 2001
Subject: Re: vax gas
To: address@hidden (Alan Modra)
Date: Mon, 13 Aug 2001 14:02:07 -0400 (EDT)
From: "John David Anglin" <address@hidden>
In-Reply-To: <address@hidden> from "Alan Modra" at Aug 12, 2001 09:58:37 am
X-Mailer: ELM [version 2.4 PL25]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Length: 1674      

> I think this has been fixed.  Would you mind tying again?  If this problem
> persists, email address@hidden :)

All is well.

There was one ld testsuite failure (selective1).  Clearly, the a.out object
format on vax-*-ultrix* doesn't support selective linking because it only
has the three standard sections.  I also noticed that selective.exp quite
when the second test didn't compile rather than continuing with the next test.
Here is a little patch for these problems.

I have to wonder if the the gcc options, `-ffunction-sections' and
`-fdata-sections', should generate warnings if they are not supported.  At
the moment, they are silently ignored.  Maybe there is a way selective.exp
could check if a target supports these.

Dave
-- 
J. David Anglin                                  address@hidden
National Research Council of Canada              (613) 990-0752 (FAX: 952-6605)

2001-08-13  John David Anglin  <address@hidden>

        * ld-selective/selective.exp: Return if target is `vax-*-ultrix*'.
        Continue with other tests when there is a compilation error.

--- ld-selective/selective.exp.orig     Fri Jul 27 13:48:27 2001
+++ ld-selective/selective.exp  Mon Aug 13 13:20:50 2001
@@ -19,6 +19,10 @@
 # Make sure that constructors are handled correctly.
 
 
+# AOUT based ports do not support selective linking
+if {[istarget "vax-*-ultrix*"]} {
+    return
+}
 # COFF based ports do not support selective linking
 if {[istarget "*-*-coff"]} {
     return
@@ -88,7 +92,7 @@
     # leave as is.
     if { ![ld_compile "$CC $testflags" $srcdir/$subdir/$testfile $objfile] } {
        unresolved $testname
-       return
+       continue
     }
 
     # V850 targets need libgcc.a


-- 
J. David Anglin                                  address@hidden
National Research Council of Canada              (613) 990-0752 (FAX: 952-6605)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]