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.
+2019-07-24 Alan Modra <amodra@gmail.com>
+
+ * elf32-visium.c (visium_elf_post_process_headers): Don't set
+ EI_OSABI header byte here.
+ (ELF_OSABI): Define.
+
2019-07-23 Alan Modra <amodra@gmail.com>
* elf-bfd.h (enum elf_gnu_osabi): Add elf_gnu_osabi_mbind.
struct bfd_link_info *info ATTRIBUTE_UNUSED)
{
Elf_Internal_Ehdr *i_ehdrp = elf_elfheader (abfd);
- i_ehdrp->e_ident[EI_OSABI] = ELFOSABI_STANDALONE;
i_ehdrp->e_ident[EI_ABIVERSION] = 1;
}
#define ELF_ARCH bfd_arch_visium
#define ELF_MACHINE_CODE EM_VISIUM
+#define ELF_OSABI ELFOSABI_STANDALONE
#define ELF_MAXPAGESIZE 1
#define TARGET_BIG_SYM visium_elf32_vec
+2019-07-24 Alan Modra <amodra@gmail.com>
+
+ * testsuite/gas/elf/section12a.d: xfail visium and cloudabi.
+ * testsuite/gas/elf/section12b.d: Likewise.
+ * testsuite/gas/elf/section13.d: Likewise.
+
2019-07-23 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
* testsuite/gas/aarch64/sysreg-4.s: Test gmid_el1 read.
#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
#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:
#name: mbind sections without SHF_ALLOC
#error_output: section13.l
-#xfail: msp430-*-* *-*-hpux*
+#xfail: msp430-*-* visium-*-*
+#xfail: *-*-hpux* *-*-cloudabi