Always elf_backend_post_process_headers to _bfd_elf_set_osabi.
authorH.J. Lu <hjl.tools@gmail.com>
Tue, 5 Jul 2011 19:04:41 +0000 (19:04 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Tue, 5 Jul 2011 19:04:41 +0000 (19:04 +0000)
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.

bfd/ChangeLog
bfd/elf64-x86-64.c

index 6d9f246b1c62cef3d9fb83f02963282e349098b9..2fc3d26c1cd95a5bc4312940cdd9a044874fc373 100644 (file)
@@ -1,3 +1,8 @@
+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.
+
 2011-07-03  Samuel Thibault  <samuel.thibault@gnu.org>
            Thomas Schwinge  <thomas@schwinge.name>
 
index ca480ab32e02f41d07692531f47cc5f00029e064..12748d82f1d31f20d9361bfc1bcddbefa91658af 100644 (file)
@@ -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