This is the mail archive of the binutils@sourceware.org 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]

[committed] Run fwdexp and octa on hppa*64*-*-*, skip on 32-bit hpux


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 {


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