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: For 2.12: sh-coff


On Mon, Feb 18, 2002 at 12:32:02PM -0500, Hans-Peter Nilsson wrote:
> On Mon, 18 Feb 2002, Daniel Jacobowitz wrote:
> > On Mon, Feb 18, 2002 at 03:14:29AM -0500, Hans-Peter Nilsson wrote:
> > > BTW, the pic.s tests isn't supposed to be run on sh-coff, only
> > > on ELF targets, and then only *-linux* I guess.  (Are there *bsd
> > > ports for SH?)
> >
> > Should I limit it to ELF or to sh*-linux*?
> 
> Both sh*-*elf and sh*-linux*.

I've committed the attached.

-- 
Daniel Jacobowitz                           Carnegie Mellon University
MontaVista Software                         Debian GNU/Linux Developer

2002-02-18  Daniel Jacobowitz  <drow@mvista.com>

	* gas/sh/basic.exp: Don't run PIC tests for targets that don't
	support it.

Index: sh/basic.exp
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/sh/basic.exp,v
retrieving revision 1.5
diff -u -p -r1.5 basic.exp
--- basic.exp	2002/02/06 06:18:28	1.5
+++ basic.exp	2002/02/18 23:37:55
@@ -91,7 +91,9 @@ if [istarget sh*-*-*] then {
     # Test DSP instructions
     run_dump_test "dsp"
 
-    run_dump_test "pic"
+    if {[istarget sh*-*elf] || [istarget sh*-linux*]} then {
+	run_dump_test "pic"
+    }
 
     run_dump_test "pcrel"
 }


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