[PATCH] x86: suppress emission of zero displacements in memoryoperands

Jan Beulich JBeulich@novell.com
Mon May 9 10:29:00 GMT 2005


>Please check out
>
>http://people.redhat.com/drepper/tls.pdf 
>
>elf_i386_relocate_section and elf64_x86_64_relocate_section to make
>sure that TLS optimization, which depends on the exact length of
>the instruction, won't get affected. 

This can't be affected due to the O_constant check surrounding the whole construct:

    if ((i.types[op] & Disp) && i.op[op].disps->X_op == O_constant)

Jan



More information about the Binutils mailing list