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

H. J. Lu hjl@lucon.org
Mon May 9 14:02:00 GMT 2005


On Mon, May 09, 2005 at 09:50:26AM +0200, Jan Beulich wrote:
> >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)
> 

OK. Approved.


H.J.



More information about the Binutils mailing list