From: H.J. Lu Date: Wed, 18 Apr 2018 00:42:19 +0000 (-0700) Subject: elf32_bed/elf64_bed X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8f56f7a23911b6a48b372c8f0893343bfe7ed2e9;p=binutils-gdb.git elf32_bed/elf64_bed --- diff --git a/bfd/elf32-i386.c b/bfd/elf32-i386.c index 557084647cb..c1c4ed02376 100644 --- a/bfd/elf32-i386.c +++ b/bfd/elf32-i386.c @@ -4435,6 +4435,8 @@ elf_i386_link_setup_gnu_properties (struct bfd_link_info *info) #define elf_backend_linux_prpsinfo32_ugid16 TRUE +#define elf32_bed elf32_i386_bed + #include "elf32-target.h" /* FreeBSD support. */ diff --git a/bfd/elf64-x86-64.c b/bfd/elf64-x86-64.c index 25723797ba5..c1237bb2e42 100644 --- a/bfd/elf64-x86-64.c +++ b/bfd/elf64-x86-64.c @@ -5020,6 +5020,9 @@ elf_x86_64_special_sections[]= #define elf_backend_hide_symbol \ _bfd_x86_elf_hide_symbol +#undef elf64_bed +#define elf64_bed elf64_x86_64_bed + #include "elf64-target.h" /* CloudABI support. */ @@ -5304,6 +5307,9 @@ elf32_x86_64_nacl_elf_object_p (bfd *abfd) #define elf_backend_size_info \ _bfd_elf32_size_info +#undef elf32_bed +#define elf32_bed elf32_x86_64_bed + #include "elf32-target.h" /* Restore defaults. */