OSDN Git Service

* 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)
commit1b07d399ec1b23ac8e070f0415198e331038a24a
tree913e207ba286a9146df77ee3d0b4dc46e6eece05
parentb4bb09a55d35fb215c59c58b5ad7be2aadbcdb6d
* 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