diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2014-12-02 16:50:14 -0800 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2014-12-02 16:52:12 -0800 |
commit | 31c0ebfe8bfd9af65aee24cbff17fffe039c0b28 (patch) | |
tree | c95591625e7ecbf5ac6157810c5562871a701eeb /gdb/symtab.h | |
parent | 29f0c3b7b2b4fb46dd5ad29c72ae41a565f5ac60 (diff) | |
download | gdb-31c0ebfe8bfd9af65aee24cbff17fffe039c0b28.zip gdb-31c0ebfe8bfd9af65aee24cbff17fffe039c0b28.tar.gz gdb-31c0ebfe8bfd9af65aee24cbff17fffe039c0b28.tar.bz2 |
Discard space for relocs against symbols with copy relocs
This patch reverts the change in elf_x86_64_check_relocs and the partial
change in elf_x86_64_adjust_dynamic_symbol. Instead, we discard space
in PIE for relocs against symbols which turn out to need copy relocs.
* elf64-x86-64.c (elf_x86_64_check_relocs): Revert the last
change.
(elf_x86_64_adjust_dynamic_symbol): Don't check !info->shared
with ELIMINATE_COPY_RELOCS.
(elf_x86_64_allocate_dynrelocs): For PIE, discard space for
relocs against symbols which turn out to need copy relocs.
Diffstat (limited to 'gdb/symtab.h')
0 files changed, 0 insertions, 0 deletions