Commit: Improve .rsrc section merging.

Nick Clifton
Wed Mar 19 15:20:00 GMT 2014

Hi Guys,

  Following on from my previous update to the .rsrc section merging
  code, I am committing a second patch that improves the algorithm
  further.  This time it should be able to cope with all sizes of input
  .rsrc section.


2014-03-19  Nick Clifton  <>

	* peXXigen.c (rsrc_process_section): Add code to scan input
	sections and record their lengths.  Use these lengths to find the
	start of each merged .rsrc section.

2014-03-19  Nick Clifton  <>

	* scripttempl/ (R_RSRC): Fix default-manifest exclusion.
	(.rsrc): Add SUBALIGN(4).  Remove SORT.
	* scripttempl/ Likewise.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: rsrc_merge.patch
Type: text/x-patch
Size: 8186 bytes
Desc: not available
URL: <>

More information about the Binutils mailing list