bfd:sid-snapshot-20071101
commit62d08682f8d256777a0ef00733dac08f68016c8f
authorJoseph Myers <joseph@codesourcery.com>
Thu, 1 Nov 2007 11:45:20 +0000 (1 11:45 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Thu, 1 Nov 2007 11:45:20 +0000 (1 11:45 +0000)
tree513736301c2457ec8d1ff3d0b37f47ef3de9e27a
parentb0119a0f17aeeeed73cb70ba9466abc508d0bac9
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]