[PATCH] x86: Fix comment typos in TLS relocation check

Jan Beulich jbeulich@suse.com
Mon Sep 2 07:42:36 GMT 2024


On 31.08.2024 13:56, H.J. Lu wrote:
> --- a/bfd/elf32-i386.c
> +++ b/bfd/elf32-i386.c
> @@ -975,15 +975,15 @@ elf_i386_check_tls_transition (asection *sec,
>  
>      case R_386_TLS_IE:
>        /* Check transition from IE access model:
> -		movl foo@indntpoff(%rip), %eax
> -		movl foo@indntpoff(%rip), %reg
> -		addl foo@indntpoff(%rip), %reg
> +		movl foo@indntpoff, %eax
> +		movl foo@indntpoff, %reg

These two could do with disambiguating: As written the 1st of the two lines
looks redundant with the 2nd one.

Jan


More information about the Binutils mailing list