aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf32-visium.c
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 /bfd/elf32-visium.c
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 'bfd/elf32-visium.c')
-rw-r--r--bfd/elf32-visium.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elf32-visium.c b/bfd/elf32-visium.c
index de81fdc..76271ce 100644
--- a/bfd/elf32-visium.c
+++ b/bfd/elf32-visium.c
@@ -727,7 +727,6 @@ visium_elf_post_process_headers (bfd *abfd,
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;
}
@@ -852,6 +851,7 @@ visium_elf_print_private_bfd_data (bfd *abfd, void *ptr)
#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