This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[committed] Run fwdexp and octa on hppa*64*-*-*, skip on 32-bit hpux
- From: John David Anglin <dave at hiauly1 dot hia dot nrc dot ca>
- To: binutils at sourceware dot org
- Date: Fri, 31 Dec 2010 15:07:12 -0500
- Subject: [committed] Run fwdexp and octa on hppa*64*-*-*, skip on 32-bit hpux
- Reply-to: John David Anglin <dave dot anglin at nrc-cnrc dot gc dot ca>
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 {