diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2016-04-25 17:19:44 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2016-05-03 10:40:41 -0700 |
commit | efc9f749f7320b12849d1e0a57bb17184222ae1b (patch) | |
tree | ad421121248b3967e72355f95f91d74d6048cf14 /include/aout64.h | |
parent | 99d1b2682145c2b154a8a0d91787e55321f2b269 (diff) | |
download | gdb-efc9f749f7320b12849d1e0a57bb17184222ae1b.zip gdb-efc9f749f7320b12849d1e0a57bb17184222ae1b.tar.gz gdb-efc9f749f7320b12849d1e0a57bb17184222ae1b.tar.bz2 |
Cache the section contents in x86 check_relocs
Cache the section contents in x86 check_relocs for sections without
TLS relocations.
* elf32-i386.c (elf_i386_check_tls_transition): Remove abfd.
Don't check if contents == NULL.
(elf_i386_tls_transition): Add from_relocate_section. Check
from_relocate_section instead of contents != NULL. Update
elf_i386_check_tls_transition call.
(elf_i386_check_relocs): Cache the section contents if
keep_memory is FALSE. Pass FALSE as from_relocate_section to
elf_i386_tls_transition.
(elf_i386_relocate_section): Pass TRUE as from_relocate_section
to elf_i386_tls_transition.
(elf_backend_caches_rawsize): New.
* elf64-x86-64.c (elf_x86_64_check_tls_transition): Don't check
if contents == NULL.
(elf_x86_64_tls_transition): Add from_relocate_section. Check
from_relocate_section instead of contents != NULL.
(elf_x86_64_check_relocs): Cache the section contents if
keep_memory is FALSE. Pass FALSE as from_relocate_section to
elf_x86_64_tls_transition.
(elf_x86_64_relocate_section): Pass TRUE as from_relocate_section
to elf_x86_64_tls_transition.
(elf_backend_caches_rawsize): New.
Diffstat (limited to 'include/aout64.h')
0 files changed, 0 insertions, 0 deletions