elf32_bed/elf64_bed
authorH.J. Lu <hjl.tools@gmail.com>
Wed, 18 Apr 2018 00:42:19 +0000 (17:42 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Wed, 18 Apr 2018 01:13:48 +0000 (18:13 -0700)
bfd/elf32-i386.c
bfd/elf64-x86-64.c

index 557084647cbbcbf35891f0b3601b6e56e284f5dc..c1c4ed02376d124e8b84b605574dde4ce7ea165e 100644 (file)
@@ -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.  */
index 25723797ba5616b74ea13115c237faba72c96e61..c1237bb2e42998921acbc02d8970d76da696132d 100644 (file)
@@ -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.  */