* merge.c (struct sec_merge_sec_info): Update comment.
authorAlan Modra <amodra@gmail.com>
Wed, 29 Oct 2003 22:59:37 +0000 (22:59 +0000)
committerAlan Modra <amodra@gmail.com>
Wed, 29 Oct 2003 22:59:37 +0000 (22:59 +0000)
commitddb2b44229cca1b2f601adaa62f4de9df291bddf
tree22dde31d3df8b7c40f0e9d3f5e8a2a00666b6d50
parent6d6d8e9cc3867ba0e7eb84cb39b7de86c14907d4
* merge.c (struct sec_merge_sec_info): Update comment.
(struct sec_merge_hash_entry): Remove entsize.
(sec_merge_hash_lookup): Only adjust alignment when creating.
(sec_merge_emit): Remove register keyword.
(cmplengthentry, last4_eq, last_eq): Delete.
(strrevcmp, strrevcmp_align, is_suffix): New.
(merge_strings): Use them to implement fast suffix merging.
* elf-strtab.c (struct elf_strtab_hash_entry): Update comments.
Make "len" signed.
(_bfd_elf_strtab_add): Lose on >2G strings.
(_bfd_elf_strtab_emit): Don't emit strings with len < 0.
(cmplengthentry, last4_eq): Delete.
(strrevcmp, is_suffix): New.
(_bfd_elf_strtab_finalize): Rework to implement fast suffix merging.
bfd/ChangeLog
bfd/elf-strtab.c
bfd/merge.c