This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [PATCH] Change x86-64 TLSGD sequences
- From: Jan Hubicka <jh at suse dot cz>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: binutils at sources dot redhat dot com, aj at suse dot de, jh at suse dot cz
- Date: Tue, 1 Oct 2002 11:07:12 +0200
- Subject: Re: [PATCH] Change x86-64 TLSGD sequences
- References: <20021001110413.A3451@sunsite.ms.mff.cuni.cz>
> Hi!
>
> x86-64 prefers to have at most 3 prefixes for an instruction, so TLSGD
> sequence was changed from
> .long 0x666666; leaq foo@tlsgd(%rip), %rdi
> call __tls_get_addr@plt
> to
> .byte 0x66; leaq foo@tlsgd(%rip), %rdi
> .word 0x6666; rex64; call __tls_get_addr@plt
> Ok to commit?
>
> 2002-10-01 Jakub Jelinek <jakub@redhat.com>
>
> bfd/
> * elf64-x86-64.c (elf64_x86_64_relocate_section): Change TLSGD
> sequence and its transitions.
> ld/testsuite/
> * ld-x86-64/tlspic1.s: Change TLSGD sequences.
> * ld-x86-64/tlsbinpic.s: Likewise.
> * ld-x86-64/tlspic.dd: Adjust.
OK. Thanks!
Honza