aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2018-09-17 08:51:24 +0930
committerAlan Modra <amodra@gmail.com>2018-09-17 23:17:14 +0930
commit0b1352e04caa6b562a532354dc48f775e6a1135b (patch)
treebe1ef773ed5fa56cb443f2e44307e738e1143485 /gas
parent8c9604b6a2c553bc1edc6d80b934b99112292e58 (diff)
downloadgdb-0b1352e04caa6b562a532354dc48f775e6a1135b.zip
gdb-0b1352e04caa6b562a532354dc48f775e6a1135b.tar.gz
gdb-0b1352e04caa6b562a532354dc48f775e6a1135b.tar.bz2
A few hppa testcase tidies
binutils/ * testsuite/lib/binutils-common.exp (is_som_format): New proc. (run_dump_test): Correct target test for alternate .comm syntax. (get_standard_section_names): Handle som format. * testsuite/lib/utils-lib.exp (default_binutils_assemble_flags): Correct target test for alternate .comm syntax. gas/ * testsuite/gas/all/gas.exp (redef3): Don't xfail for hppa. (octa): Run for hppa. * testsuite/gas/elf/elf.exp (common1, common2): Likewise. * testsuite/gas/elf/symver.d: Delete notarget. ld/ * testsuite/ld-elf/comm-data5.d: Remove notarget for hppa. * testsuite/ld-scripts/defined6.d: Likewise.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog7
-rw-r--r--gas/testsuite/gas/all/gas.exp14
-rw-r--r--gas/testsuite/gas/elf/elf.exp5
-rw-r--r--gas/testsuite/gas/elf/symver.d1
4 files changed, 11 insertions, 16 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 0fbe6fa..3772875 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,10 @@
+2018-09-17 Alan Modra <amodra@gmail.com>
+
+ * testsuite/gas/all/gas.exp (redef3): Don't xfail for hppa.
+ (octa): Run for hppa.
+ * testsuite/gas/elf/elf.exp (common1, common2): Likewise.
+ * testsuite/gas/elf/symver.d: Delete notarget.
+
2018-09-17 Nick Clifton <nickc@redhat.com>
* testuite/gas/elf/group0a.d: Add extra details to the test
diff --git a/gas/testsuite/gas/all/gas.exp b/gas/testsuite/gas/all/gas.exp
index 029795b..b658da3 100644
--- a/gas/testsuite/gas/all/gas.exp
+++ b/gas/testsuite/gas/all/gas.exp
@@ -170,8 +170,6 @@ case $target_triplet in {
setup_xfail "riscv*-*-*" "rx-*-*" "vax*-*-*" "xgate*-*-*" "z8k-*-*"
# rs6000-aix disallows redefinition via .comm.
setup_xfail "*-*-aix*"
- # SOM uses a different syntax for .comm
- setup_xfail "hppa*-*-hpux*"
# These targets fail redef3 because section contents for the
# word referencing the .comm sym is not zero and/or its reloc
# has a non-zero addend. Relaxing the test would hide real
@@ -414,17 +412,7 @@ if { ![istarget "powerpc*-*-*"] && ![istarget "rs6000*-*-*"] && ![istarget "s390
}
run_dump_test quad
-
-# som doesn't use .data section.
-case $target_triplet in {
- { hppa*64*-*-* } {
- run_dump_test octa
- }
- { hppa*-*-hpux* } { }
- default {
- run_dump_test octa
- }
-}
+run_dump_test octa
# .set works differently on some targets.
case $target_triplet in {
diff --git a/gas/testsuite/gas/elf/elf.exp b/gas/testsuite/gas/elf/elf.exp
index 44f26c3..9715ac8 100644
--- a/gas/testsuite/gas/elf/elf.exp
+++ b/gas/testsuite/gas/elf/elf.exp
@@ -252,10 +252,11 @@ if { [is_elf_format] } then {
run_dump_test "missing-build-notes"
+ run_dump_test "common1"
+ run_dump_test "common2"
+
# hpux has a non-standard common directive.
if { ![istarget "*-*-hpux*"] } then {
- run_dump_test "common1"
- run_dump_test "common2"
run_dump_test "common3a"
run_dump_test "common3b"
run_dump_test "common4a"
diff --git a/gas/testsuite/gas/elf/symver.d b/gas/testsuite/gas/elf/symver.d
index 3d180c7..7fcc62a 100644
--- a/gas/testsuite/gas/elf/symver.d
+++ b/gas/testsuite/gas/elf/symver.d
@@ -1,6 +1,5 @@
#objdump: --syms
#name: ELF symbol versioning
-#notarget: hppa64*-*-hpux*
#
# The #... and #pass are there to match extra symbols inserted by
# some toolchains, eg the mips-elf port will add .reginfo and .ptrd