This is the mail archive of the binutils-cvs@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[binutils-gdb] Revert the last change to emultempl/elf32.em


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

commit b8f4abd342cc54bc2b90c796a2aae93e6c3bda6b
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Wed Aug 2 05:08:41 2017 -0700

    Revert the last change to emultempl/elf32.em
    
    It will be replaced by a different fix.
    
    	* emultempl/elf32.em (_place_orphan): Revert the last change.

Diff:
---
 ld/ChangeLog          | 4 ++++
 ld/emultempl/elf32.em | 2 --
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/ld/ChangeLog b/ld/ChangeLog
index ff99df4..14c6edd 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,7 @@
+2017-08-02  H.J. Lu  <hongjiu.lu@intel.com>
+
+	* emultempl/elf32.em (_place_orphan): Revert the last change.
+
 2017-08-02  Max Filippov  <jcmvbkbc@gmail.com>
 
 	* emultempl/xtensaelf.em (xtensa_wild_group_interleave_callback):
diff --git a/ld/emultempl/elf32.em b/ld/emultempl/elf32.em
index 8cdcc6c7..d2551b6 100644
--- a/ld/emultempl/elf32.em
+++ b/ld/emultempl/elf32.em
@@ -2150,8 +2150,6 @@ gld${EMULATION_NAME}_place_orphan (asection *s,
 	   one of them has SHF_EXCLUDE.  Don't merge 2 sections with
 	   different sh_info.  */
 	if (os->bfd_section != NULL
-	    /* PR 21884: Don't merge non-ELF sections.  */
-	    && bfd_get_flavour (os->bfd_section->owner) == bfd_target_elf_flavour
 	    && (elf_section_data (os->bfd_section)->this_hdr.sh_info
 		== elf_section_data (s)->this_hdr.sh_info)
 	    && (os->bfd_section->flags == 0


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]