aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf64-x86-64.c
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2011-07-05 19:04:41 +0000
committerH.J. Lu <hjl.tools@gmail.com>2011-07-05 19:04:41 +0000
commit52cb9dfed024ca2df3a1a7f7340e7faa07321db3 (patch)
tree85a6de5352d699c38ce9c3ff6bc270e1153a6254 /bfd/elf64-x86-64.c
parent26e519b913a49af6f40c82617641514ea58302f9 (diff)
downloadgdb-52cb9dfed024ca2df3a1a7f7340e7faa07321db3.zip
gdb-52cb9dfed024ca2df3a1a7f7340e7faa07321db3.tar.gz
gdb-52cb9dfed024ca2df3a1a7f7340e7faa07321db3.tar.bz2
Always elf_backend_post_process_headers to _bfd_elf_set_osabi.
2011-07-05 H.J. Lu <hongjiu.lu@intel.com> * elf64-x86-64.c (elf_backend_post_process_headers): Always define to _bfd_elf_set_osabi.
Diffstat (limited to 'bfd/elf64-x86-64.c')
-rw-r--r--bfd/elf64-x86-64.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/bfd/elf64-x86-64.c b/bfd/elf64-x86-64.c
index ca480ab..12748d8 100644
--- a/bfd/elf64-x86-64.c
+++ b/bfd/elf64-x86-64.c
@@ -4940,7 +4940,6 @@ static const struct bfd_elf_special_section
#define elf_backend_hash_symbol \
elf_x86_64_hash_symbol
-#undef elf_backend_post_process_headers
#define elf_backend_post_process_headers _bfd_elf_set_osabi
#include "elf64-target.h"
@@ -4958,8 +4957,6 @@ static const struct bfd_elf_special_section
#undef elf64_bed
#define elf64_bed elf64_x86_64_fbsd_bed
-#undef elf_backend_post_process_headers
-
#include "elf64-target.h"
/* Solaris 2 support. */
@@ -5018,9 +5015,6 @@ elf64_l1om_elf_object_p (bfd *abfd)
#undef elf_backend_object_p
#define elf_backend_object_p elf64_l1om_elf_object_p
-#undef elf_backend_post_process_headers
-#define elf_backend_post_process_headers _bfd_elf_set_osabi
-
#undef elf_backend_static_tls_alignment
#undef elf_backend_want_plt_sym
@@ -5041,8 +5035,6 @@ elf64_l1om_elf_object_p (bfd *abfd)
#undef elf64_bed
#define elf64_bed elf64_l1om_fbsd_bed
-#undef elf_backend_post_process_headers
-
#include "elf64-target.h"
/* 32bit x86-64 support. */
@@ -5079,9 +5071,6 @@ elf32_x86_64_elf_object_p (bfd *abfd)
#undef ELF_OSABI
-#undef elf_backend_post_process_headers
-#define elf_backend_post_process_headers _bfd_elf_set_osabi
-
#undef elf_backend_object_p
#define elf_backend_object_p \
elf32_x86_64_elf_object_p