[binutils-gdb] Undef elf_backend_post_process_headers for Solaris

H.J.Lu hjl@sourceware.org
Thu Apr 30 13:53:00 GMT 2015


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=914082d11b5de9509491615cce448ce937e91515

commit 914082d11b5de9509491615cce448ce937e91515
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Thu Apr 30 06:52:34 2015 -0700

    Undef elf_backend_post_process_headers for Solaris
    
    	* elf32-i386.c (elf_backend_post_process_headers): Undef for
    	Solaris 2.

Diff:
---
 bfd/ChangeLog    | 5 +++++
 bfd/elf32-i386.c | 2 ++
 2 files changed, 7 insertions(+)

diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index db19e8a..51ef196 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,8 @@
+2015-04-30  H.J. Lu  <hongjiu.lu@intel.com>
+
+	* elf32-i386.c (elf_backend_post_process_headers): Undef for
+	Solaris 2.
+
 2015-04-29  Nick Clifton  <nickc@redhat.com>
 
 	PR 17099
diff --git a/bfd/elf32-i386.c b/bfd/elf32-i386.c
index d76addb..10657f1 100644
--- a/bfd/elf32-i386.c
+++ b/bfd/elf32-i386.c
@@ -5403,6 +5403,8 @@ elf_i386_fbsd_post_process_headers (bfd *abfd, struct bfd_link_info *info)
 #undef	TARGET_LITTLE_NAME
 #define	TARGET_LITTLE_NAME		"elf32-i386-sol2"
 
+#undef elf_backend_post_process_headers
+
 /* Restore default: we cannot use ELFOSABI_SOLARIS, otherwise ELFOSABI_NONE
    objects won't be recognized.  */
 #undef ELF_OSABI



More information about the Binutils-cvs mailing list