[PATCH] x86 (Intel mode): fix handling of FLAT
H.J. Lu
hjl.tools@gmail.com
Wed Feb 13 17:21:00 GMT 2008
On Feb 13, 2008 5:39 AM, Jan Beulich <jbeulich@novell.com> wrote:
> --- 2008-02-13/opcodes/i386-opc.h 2008-02-13 11:13:40.000000000 +0100
> +++ 2008-02-13/opcodes/i386-opc.h 2008-02-13 14:02:34.000000000 +0100
> @@ -501,6 +501,8 @@ typedef struct
> /* EIZ and RIZ are fake index registers. */
> #define RegEiz (RegEip - 1)
> #define RegRiz (RegEiz - 1)
> +/* FLAT is a fake segment register (Intel mode). */
> +#define RegFlat ((unsigned char) ~0)
Please use (RegRiz - 1) instead of ((unsigned char) ~0). OK with this change.
Thanks.
H.J.
More information about the Binutils
mailing list