This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [PATCH] x86: suppress emission of zero displacements in memoryoperands
- From: "H. J. Lu" <hjl at lucon dot org>
- To: Jan Beulich <JBeulich at novell dot com>
- Cc: dave dot korn at artimi dot com, binutils at sources dot redhat dot com
- Date: Mon, 9 May 2005 06:02:18 -0700
- Subject: Re: [PATCH] x86: suppress emission of zero displacements in memoryoperands
- References: <s27f2447.091@emea1-mh.id2.novell.com>
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.