diff options
author | Jakub Jelinek <jakub@redhat.com> | 2002-12-28 21:15:35 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2002-12-28 21:15:35 +0000 |
commit | eecdbe52790f6ccf451f00b074f993bdb83f2677 (patch) | |
tree | 5ab1cc5e16a29107fb6a1db81775c2f1c90075ba /bfd/elf64-alpha.c | |
parent | 8f0dfb36fa11a0da4218ead9f578a4aa24f19d84 (diff) | |
download | gdb-eecdbe52790f6ccf451f00b074f993bdb83f2677.zip gdb-eecdbe52790f6ccf451f00b074f993bdb83f2677.tar.gz gdb-eecdbe52790f6ccf451f00b074f993bdb83f2677.tar.bz2 |
* 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.
Diffstat (limited to 'bfd/elf64-alpha.c')
-rw-r--r-- | bfd/elf64-alpha.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/bfd/elf64-alpha.c b/bfd/elf64-alpha.c index ac9822a..bce2668 100644 --- a/bfd/elf64-alpha.c +++ b/bfd/elf64-alpha.c @@ -5137,8 +5137,7 @@ elf64_alpha_finish_dynamic_sections (output_bfd, info) bfd_put_64 (output_bfd, (bfd_vma) 0, splt->contents + 16); bfd_put_64 (output_bfd, (bfd_vma) 0, splt->contents + 24); - elf_section_data (splt->output_section)->this_hdr.sh_entsize = - PLT_HEADER_SIZE; + elf_section_data (splt->output_section)->this_hdr.sh_entsize = 0; } } |