Discrepancy with .reloc section between PE and PE+ emulations when linking -r.

Dave Korn dave.korn.cygwin@googlemail.com
Fri Feb 13 12:37:00 GMT 2009


Nick Clifton wrote:

> Please feel free to correct my mistake and restore the proper behaviour.

  You had it almost perfect, you just forgot to move the if clause from the
then leg of the preprocessor conditional to the else leg when inverting the
sense of the conditional test.  Now testing this proposed fix on a whole slew
of linux-x-PE cross-targets.

ld/ChangeLog

	* emultempl/pe.em (gld_${EMULATION_NAME}_after_open):  Don't emit
	inadvertent .reloc sections caused by refactoring accident.

    cheers,
      DaveK


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: pei-reloc-section-patch.diff
URL: <https://sourceware.org/pipermail/binutils/attachments/20090213/6452a3d3/attachment.ksh>


More information about the Binutils mailing list