aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2018-04-17 17:42:19 -0700
committerH.J. Lu <hjl.tools@gmail.com>2018-04-17 18:13:48 -0700
commit8f56f7a23911b6a48b372c8f0893343bfe7ed2e9 (patch)
tree7d046ca606d57f95a6691907e5c8e2817cb90faf
parente4e6a73d26ef82622d3bd190749aad508534abe6 (diff)
downloadgdb-8f56f7a23911b6a48b372c8f0893343bfe7ed2e9.zip
gdb-8f56f7a23911b6a48b372c8f0893343bfe7ed2e9.tar.gz
gdb-8f56f7a23911b6a48b372c8f0893343bfe7ed2e9.tar.bz2
elf32_bed/elf64_bed
-rw-r--r--bfd/elf32-i386.c2
-rw-r--r--bfd/elf64-x86-64.c6
2 files changed, 8 insertions, 0 deletions
diff --git a/bfd/elf32-i386.c b/bfd/elf32-i386.c
index 5570846..c1c4ed0 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 2572379..c1237bb 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. */