aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2015-04-30 06:52:34 -0700
committerH.J. Lu <hjl.tools@gmail.com>2015-04-30 06:52:34 -0700
commit914082d11b5de9509491615cce448ce937e91515 (patch)
treeb4cabf9933709c6a8c76606b10db23710f06aed3
parent8b2d793ce5ee03336d6c1d1f30b8d296cbe443de (diff)
downloadgdb-914082d11b5de9509491615cce448ce937e91515.zip
gdb-914082d11b5de9509491615cce448ce937e91515.tar.gz
gdb-914082d11b5de9509491615cce448ce937e91515.tar.bz2
Undef elf_backend_post_process_headers for Solaris
* elf32-i386.c (elf_backend_post_process_headers): Undef for Solaris 2.
-rw-r--r--bfd/ChangeLog5
-rw-r--r--bfd/elf32-i386.c2
2 files changed, 7 insertions, 0 deletions
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