From 914082d11b5de9509491615cce448ce937e91515 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Thu, 30 Apr 2015 06:52:34 -0700 Subject: [PATCH] Undef elf_backend_post_process_headers for Solaris * elf32-i386.c (elf_backend_post_process_headers): Undef for Solaris 2. --- 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 + + * elf32-i386.c (elf_backend_post_process_headers): Undef for + Solaris 2. + 2015-04-29 Nick Clifton 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 -- 2.7.4