This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PATCH: Move i386 opcode to opcodes/i386-opc.c


"H. J. Lu" <hjl@lucon.org> writes:

> --- binutils/gas/config/tc-i386.h.opc	2007-03-12 14:36:55.000000000 -0700
> +++ binutils/gas/config/tc-i386.h	2007-03-14 14:21:57.000000000 -0700
> @@ -96,10 +96,6 @@ extern const char extra_symbol_chars[];
>  extern const char *i386_comment_chars;
>  #define tc_comment_chars i386_comment_chars
>  
> -#define MAX_OPERANDS 4		/* max operands per insn */
> -#define MAX_IMMEDIATE_OPERANDS 2/* max immediates per insn (lcall, ljmp, insertq, extrq) */
> -#define MAX_MEMORY_OPERANDS 2	/* max memory refs per insn (string ops) */
> -
>  /* Prefixes will be emitted in the order defined below.
>     WAIT_PREFIX must be the first prefix since FWAIT is really is an
>     instruction, and so must come before any prefixes.
> @@ -118,21 +114,6 @@ extern const char *i386_comment_chars;
>  #define IMMEDIATE_PREFIX '$'
>  #define ABSOLUTE_PREFIX '*'
>  
> -#define TWO_BYTE_OPCODE_ESCAPE 0x0f
> -#define NOP_OPCODE (char) 0x90

Which means that frag_align_code no longer nop-fills.

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]