public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* [committed] Run fwdexp and octa on hppa*64*-*-*, skip on 32-bit hpux
@ 2010-12-31 21:25 John David Anglin
  0 siblings, 0 replies; only message in thread
From: John David Anglin @ 2010-12-31 21:25 UTC (permalink / raw)
  To: binutils

The fwdexp and octa tests need to be skipped on 32-bit hpux because
this target doesn't use .text and .data sections.  The tests work on
hppa*-*-*.

Tested with hppa2.0w-hp-hpux11.11 and hppa64-hp-hpux11.11.  Committed
to trunk.

Dave
-- 
J. David Anglin                                  dave.anglin@nrc-cnrc.gc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6602)

2010-12-31  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>

	* gas/all/gas.exp (fwdexp): Run on hppa*64*-*-*.  Skip on 32-bit
	hppa*-*-hpux*.
	(octa): Likewise.

Index: gas/all/gas.exp
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/all/gas.exp,v
retrieving revision 1.68
diff -u -3 -p -r1.68 gas.exp
--- gas/all/gas.exp	20 Nov 2010 15:36:32 -0000	1.68
+++ gas/all/gas.exp	31 Dec 2010 19:36:33 -0000
@@ -92,7 +92,10 @@ case $target_triplet in {
 # ti addresses aren't octets.
 if { ![is_aout_format] } {
     case $target_triplet in {
-	{ hppa-*-hpux* } { }
+	{ hppa*64*-*-* } {
+	    run_dump_test fwdexp
+	}
+	{ hppa*-*-hpux* } { }
 	{ mep-*-* } { }
 	{ mips*-*-ecoff* } { }
 	{ mmix-*-* } { }
@@ -360,7 +363,16 @@ if { ![istarget "i960-*-*"] } {
     run_dump_test quad
 }
 
-run_dump_test octa
+# som doesn't use .data section.
+case $target_triplet in {
+    { hppa*64*-*-* } {
+	run_dump_test octa
+    }
+    { hppa*-*-hpux* } { }
+    default {
+	run_dump_test octa
+    }
+}
 
 # .set works differently on some targets.
 case $target_triplet in {

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-12-31 20:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-12-31 21:25 [committed] Run fwdexp and octa on hppa*64*-*-*, skip on 32-bit hpux John David Anglin

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).