diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2017-09-06 04:49:47 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2017-09-06 04:53:59 -0700 |
commit | 419414eafcee7cd749ee4622ef25020e48b52cc4 (patch) | |
tree | 65f51f689818825a3d356ef500a7ee57649f2e8d /ld/Makefile.am | |
parent | fbd1b77155bd8139033b72871dbe7bf5be6031b1 (diff) | |
download | gdb-419414eafcee7cd749ee4622ef25020e48b52cc4.zip gdb-419414eafcee7cd749ee4622ef25020e48b52cc4.tar.gz gdb-419414eafcee7cd749ee4622ef25020e48b52cc4.tar.bz2 |
x86: Don't change r_type when performing TLS transitions
Don't change r_type when performing TLS transitions to avoid getting
the relocation type with ELF32_R_TYPE again.
* elf32-i386.c (elf_i386_relocate_section): Don't change r_type
when calling elf_i386_tls_transition. Don't use ELF32_R_TYPE
to get the relocation type again.
* elf64-x86-64.c (elf_x86_64_relocate_section): Don't change
r_type when calling elf_x86_64_tls_transition. Don't use
ELF32_R_TYPE to get the relocation type again.
Diffstat (limited to 'ld/Makefile.am')
0 files changed, 0 insertions, 0 deletions