]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
x86: Fix comment typos in TLS relocation check
authorH.J. Lu <hjl.tools@gmail.com>
Sat, 31 Aug 2024 11:56:48 +0000 (04:56 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Sat, 31 Aug 2024 12:07:19 +0000 (05:07 -0700)
commit5a655b5291b3f56088409d34e9077e98af63de60
treebc80e3227c3d2bf0584083acb119424ec240d27c
parent229ecf80f35c64145678e537daf54358d16107e3
x86: Fix comment typos in TLS relocation check

R_386_TLS_IE is used only in

movl foo@indntpoff, %eax
movl foo@indntpoff, %reg
addl foo@indntpoff, %reg

R_386_TLS_DESC_CALL and R_X86_64_TLSDESC_CALL are used only in

call *x@tlscall(%[er]ax)

* elf32-i386.c (elf_i386_check_tls_transition): Use foo@indntpoff
in comments for R_386_TLS_IE check.
(elf_i386_tls_transition): Use @tlscall in comments for
R_386_TLS_DESC_CALL check.
* elf64-x86-64.c (elf_x86_64_tls_transition): Use @tlscall in
comments for R_X86_64_TLSDESC_CALL check.

Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
bfd/elf32-i386.c
bfd/elf64-x86-64.c