aboutsummaryrefslogtreecommitdiff
path: root/ld/emultempl
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2017-08-02 05:08:41 -0700
committerH.J. Lu <hjl.tools@gmail.com>2017-08-02 05:09:25 -0700
commitb8f4abd342cc54bc2b90c796a2aae93e6c3bda6b (patch)
tree07a3df22006250421cd1319b4963a163ecbd9a32 /ld/emultempl
parent70b0cf90bc6c071895b989666bcf3e6eca7b99ce (diff)
downloadgdb-b8f4abd342cc54bc2b90c796a2aae93e6c3bda6b.zip
gdb-b8f4abd342cc54bc2b90c796a2aae93e6c3bda6b.tar.gz
gdb-b8f4abd342cc54bc2b90c796a2aae93e6c3bda6b.tar.bz2
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.
Diffstat (limited to 'ld/emultempl')
-rw-r--r--ld/emultempl/elf32.em2
1 files changed, 0 insertions, 2 deletions
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