This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Patch to detect invalid mergeable string sections


On Wed, Oct 31, 2007 at 06:07:56PM +0000, Joseph S. Myers wrote:
> bfd:
> 2007-10-31  Joseph Myers  <joseph@codesourcery.com>
> 
> 	* merge.c (sec_merge_hash_lookup): Add parameter sec_end.  Check
> 	for unterminated strings.  All callers changed.
> 	(record_section): Add parameter abfd.  Give error message for
> 	unterminated strings.
> 	(_bfd_merge_sections): Update call to record_section.
> 	(_bfd_write_merged_section, _bfd_merged_section_offset): Handle
> 	NULL secinfo from merge failures.
> 
> ld/testsuite:
> 2007-10-31  Joseph Myers  <joseph@codesourcery.com>
> 
> 	* ld-elf/merge3.d, ld-elf/merge3.s: New.

OK.

-- 
Alan Modra
Australia Development Lab, IBM


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]