From 52cb9dfed024ca2df3a1a7f7340e7faa07321db3 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Tue, 5 Jul 2011 19:04:41 +0000 Subject: [PATCH] Always elf_backend_post_process_headers to _bfd_elf_set_osabi. 2011-07-05 H.J. Lu * elf64-x86-64.c (elf_backend_post_process_headers): Always define to _bfd_elf_set_osabi. --- bfd/ChangeLog | 5 +++++ bfd/elf64-x86-64.c | 11 ----------- 2 files changed, 5 insertions(+), 11 deletions(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 6d9f246b1c6..2fc3d26c1cd 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2011-07-05 H.J. Lu + + * elf64-x86-64.c (elf_backend_post_process_headers): Always + define to _bfd_elf_set_osabi. + 2011-07-03 Samuel Thibault Thomas Schwinge diff --git a/bfd/elf64-x86-64.c b/bfd/elf64-x86-64.c index ca480ab32e0..12748d82f1d 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 -- 2.30.2