From 01c51e443edfabfecc1e66c48dee3d9549efa74e Mon Sep 17 00:00:00 2001
From: Dave Anglin <dave.anglin@nrc.ca>
Date: Fri, 31 Dec 2010 20:01:39 +0000
Subject: [PATCH] 	* gas/all/gas.exp (fwdexp): Run on hppa*64*-*-*.  Skip
 on 32-bit 	hppa*-*-hpux*. 	(octa): Likewise.

---
 gas/testsuite/ChangeLog       |  4 ++++
 gas/testsuite/gas/all/gas.exp | 16 ++++++++++++++--
 2 files changed, 18 insertions(+), 2 deletions(-)

diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index d50bcde1030..96ee2331229 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -1,5 +1,9 @@
 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.
+
 	* gas/cfi/cfi.exp: Skip cfi-common-6 on hppa64*-*.
 
 2010-12-31  Richard Sandiford  <rdsandiford@googlemail.com>
diff --git a/gas/testsuite/gas/all/gas.exp b/gas/testsuite/gas/all/gas.exp
index c41db983c12..f9330d96e32 100644
--- a/gas/testsuite/gas/all/gas.exp
+++ b/gas/testsuite/gas/all/gas.exp
@@ -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 {