bfd:
authorJoseph Myers <joseph@codesourcery.com>
Thu, 1 Nov 2007 11:45:20 +0000 (11:45 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Thu, 1 Nov 2007 11:45:20 +0000 (11:45 +0000)
commite6c6c8f39cff8723dae7c737eba79f1365a2ed1b
treeb8efd23109dca6ff556affe705c4faf984d326a9
parent96f2030e25e865286f3417372dab977005aff45b
bfd:
* 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:
* ld-elf/merge3.d, ld-elf/merge3.s: New.
bfd/ChangeLog
bfd/merge.c
ld/testsuite/ChangeLog
ld/testsuite/ld-elf/merge3.d [new file with mode: 0644]
ld/testsuite/ld-elf/merge3.s [new file with mode: 0644]