This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Change x86-64 TLSGD sequences


> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]