Speedup ELF orphan placement for relocatable link
authorH.J. Lu <hjl.tools@gmail.com>
Mon, 29 Feb 2016 19:04:22 +0000 (11:04 -0800)
committerH.J. Lu <hjl.tools@gmail.com>
Tue, 1 Mar 2016 13:38:46 +0000 (05:38 -0800)
commit077fcd6a3b5729044acce83f77ebedd3adbadab0
tree917f0b4c8a9801f6a1c28e648f2a1a5ec142a2e8
parent4a9321595003d86dd4794d0edab071f91989808e
Speedup ELF 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
* ld/emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
merge flags of other input sections for relocatable link.
ld/emultempl/elf32.em