OSDN Git Service

* merge.c (struct sec_merge_hash_entry): Add alignment field.
authorjakub <jakub>
Tue, 24 Apr 2001 17:55:55 +0000 (17:55 +0000)
committerjakub <jakub>
Tue, 24 Apr 2001 17:55:55 +0000 (17:55 +0000)
commit0e780befa3ab746fbf677fb61a1eb4983fefcbc3
tree99d50e38cd893f0b02f71096c16d8bc2885f5bde
parent6cd38f3b891fa13bb8bd5aef6898cab736beb9bc
* merge.c (struct sec_merge_hash_entry): Add alignment field.
(struct sec_merge_hash): Remove alignment_power.
(sec_merge_hash_newfunc): Clear alignment.
(sec_merge_hash_lookup): Pass alignment as argument.
Use hashp->root.next, not hashp->next to walk the hash chain.
If a string already in the hashtable does not have required
alignment, create a new hashtable entry.
(sec_merge_init): Remove alignment_power argument.
(sec_merge_add): Add alignment argument.
(sec_merge_emit): Alignment is now a per-entity thing, not per
section.
(_bfd_merge_section): Sanity check even non-SEC_STRINGS sections
for proper alignment.
Pass alignment information to sec_merge_add.
bfd/ChangeLog
bfd/merge.c