[PATCH] PR ld/19739: Speedup mmo and pe orphan placement for relocatable link

Alan Modra amodra@gmail.com
Wed Mar 2 05:23:00 GMT 2016


On Tue, Mar 01, 2016 at 06:09:54AM -0800, H.J. Lu wrote:
> I checked in a fix for ELF ld.  Here is similar patch for mmo and pe
> linkers.  OK for trunk?
> 
> H.J.
> ---
> 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.

OK, thanks.

-- 
Alan Modra
Australia Development Lab, IBM



More information about the Binutils mailing list