aboutsummaryrefslogtreecommitdiff
path: root/gas/testsuite
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2019-07-24 10:51:56 +0930
committerAlan Modra <amodra@gmail.com>2019-07-24 16:12:01 +0930
commit7613ca5e3885b8e79d9096a53f3e5492a5c06cd7 (patch)
tree9e23d9ee132a2a03d68a146418a3625d4c78ac82 /gas/testsuite
parent7137a1ed0ad9afdd57e6ef44abbfaeaeb44dd17e (diff)
downloadgdb-7613ca5e3885b8e79d9096a53f3e5492a5c06cd7.zip
gdb-7613ca5e3885b8e79d9096a53f3e5492a5c06cd7.tar.gz
gdb-7613ca5e3885b8e79d9096a53f3e5492a5c06cd7.tar.bz2
Define ELF_OSABI for visium
and update expected results for gas mbind tests. bfd/ * elf32-visium.c (visium_elf_post_process_headers): Don't set EI_OSABI header byte here. (ELF_OSABI): Define. gas/ * testsuite/gas/elf/section12a.d: xfail visium and cloudabi. * testsuite/gas/elf/section12b.d: Likewise. * testsuite/gas/elf/section13.d: Likewise.
Diffstat (limited to 'gas/testsuite')
-rw-r--r--gas/testsuite/gas/elf/section12a.d5
-rw-r--r--gas/testsuite/gas/elf/section12b.d7
-rw-r--r--gas/testsuite/gas/elf/section13.d3
3 files changed, 10 insertions, 5 deletions
diff --git a/gas/testsuite/gas/elf/section12a.d b/gas/testsuite/gas/elf/section12a.d
index 2b6aa3e..5b764af 100644
--- a/gas/testsuite/gas/elf/section12a.d
+++ b/gas/testsuite/gas/elf/section12a.d
@@ -2,8 +2,9 @@
#as: --no-pad-sections
#readelf: -Sg --wide
#name: mbind sections
-# msp430 and hpux do not support SHF_GNU_MBIND
-#xfail: msp430-*-* *-*-hpux*
+# A number of targets do not support SHF_GNU_MBIND
+#xfail: msp430-*-* visium-*-*
+#xfail: *-*-hpux* *-*-cloudabi
#...
\[[ 0-9]+\] \.mbind\.data[ ]+PROGBITS[ ]+0+0 0+[0-9a-f]+ 0+1 00 WAD 0 0 1
diff --git a/gas/testsuite/gas/elf/section12b.d b/gas/testsuite/gas/elf/section12b.d
index fcbb697..a8406c3 100644
--- a/gas/testsuite/gas/elf/section12b.d
+++ b/gas/testsuite/gas/elf/section12b.d
@@ -3,8 +3,11 @@
#objdump: -s
#name: mbind section contents
# RX annoyingly reorders the sections so that they do not match the sequence
-# expected below. msp430 and hpux do not support SHF_GNU_MBIND
-#xfail: rx-*-* msp430-*-* *-*-hpux*
+# expected below.
+#xfail: rx-*-*
+# A number of targets do not support SHF_GNU_MBIND
+#xfail: msp430-*-* visium-*-*
+#xfail: *-*-hpux* *-*-cloudabi
#...
Contents of section .mbind.data:
diff --git a/gas/testsuite/gas/elf/section13.d b/gas/testsuite/gas/elf/section13.d
index 9f4fe36..39bc2a3 100644
--- a/gas/testsuite/gas/elf/section13.d
+++ b/gas/testsuite/gas/elf/section13.d
@@ -1,3 +1,4 @@
#name: mbind sections without SHF_ALLOC
#error_output: section13.l
-#xfail: msp430-*-* *-*-hpux*
+#xfail: msp430-*-* visium-*-*
+#xfail: *-*-hpux* *-*-cloudabi