* elf.c (elf_sort_sections): Don't reorder .tbss.
authorJakub Jelinek <jakub@redhat.com>
Sat, 28 Dec 2002 21:15:35 +0000 (21:15 +0000)
committerJakub Jelinek <jakub@redhat.com>
Sat, 28 Dec 2002 21:15:35 +0000 (21:15 +0000)
commiteecdbe52790f6ccf451f00b074f993bdb83f2677
tree5ab1cc5e16a29107fb6a1db81775c2f1c90075ba
parent8f0dfb36fa11a0da4218ead9f578a4aa24f19d84
* elf.c (elf_sort_sections): Don't reorder .tbss.
(assign_file_positions_for_segments): Only adjust off/voff
for increased alignment in PT_LOAD or PT_NOTE segment,
but adjust p_filesz for .tbss too.  in PT_LOAD consider
.tbss to have zero memory size.
(copy_private_bfd_data) [SECTION_SIZE]: Define.
[IS_CONTAINED_BY_VMA, IS_CONTAINED_BY_LMA]: Use it.
[INCLUDE_SECTION_IN_SEGMENT]: Only put SHF_TLS sections
into PT_TLS segment.  Never put SHF_TLS sections in
segments other than PT_TLS or PT_LOAD.

* elf64-alpha.c (elf64_alpha_finish_dynamic_sections): Clear .plt
sh_entsize.
bfd/ChangeLog
bfd/elf.c
bfd/elf64-alpha.c