]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - ld/emultempl/pep.em
Speedup mmo and pe orphan placement for relocatable link
authorH.J. Lu <hjl.tools@gmail.com>
Wed, 2 Mar 2016 13:05:42 +0000 (05:05 -0800)
committerH.J. Lu <hjl.tools@gmail.com>
Wed, 2 Mar 2016 13:07:50 +0000 (05:07 -0800)
commit523f4c9234439fd6ccc0dd2c3b387331dd64c54b
treeb05e390abf459b9a34281e09c364b7e5f229d26c
parentc697cf0b2b85cb1231e2c76c52cfed43770aa04a
Speedup mmo and pe orphan placement for relocatable link

Since there is no need to place output sections in specific order for
relocatable link, we can skip merging flags of other input sections.

PR ld/19739
* emultempl/mmo.em (mmo_place_orphan): Don't merge flags of other
input sections for relocatable link.
* emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
* emultempl/pep.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
ld/ChangeLog
ld/emultempl/mmo.em
ld/emultempl/pe.em
ld/emultempl/pep.em