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: "Dave Korn" <dave dot korn at artimi dot com>
- To: "'Andreas Schwab'" <schwab at suse dot de>
- Cc: "'Jan Beulich'" <JBeulich at novell dot com>,<binutils at sources dot redhat dot com>
- Date: Fri, 6 May 2005 15:20:59 +0100
- Subject: RE: [PATCH] x86: suppress emission of zero displacements in memoryoperands
----Original Message----
>From: Andreas Schwab
>Sent: 06 May 2005 15:13
> "Dave Korn" <dave.korn@artimi.com> writes:
>
>> I'm not sure if I've fully understood the intent of this patch, ...
> The m68k assembler is doing something similar, also known as relaxing.
Hopefully *only* if you specify --relax on the command line, no?
>> What if someone wants to write self-modifying code that stores varying
>> offsets into that field?
>
> In the m68k assembler you can force a field by adding an explicit size
> modifier.
Yes, I understand that; what I'm asking is if this patch of Jan's actually
discards the field *even if* it is explicitly stated, when the offset value
is zero.
cheers,
DaveK
--
Can't think of a witty .sigline today....