summaryrefslogtreecommitdiff
path: root/gas/config/tc-i386.h
diff options
context:
space:
mode:
authorH.J. Lu <hjl@lucon.org>2007-03-21 15:37:21 +0000
committerH.J. Lu <hjl@lucon.org>2007-03-21 15:37:21 +0000
commit19b2e2dc6e0a54e2fc2270fe5a824391b710d0c1 (patch)
treeb1202264ec37d7749136cd8d0320f2d21fd5f2f7 /gas/config/tc-i386.h
parent8c3dcb6e4c1dba63ed7698df6e8198e9a0ecc514 (diff)
downloadbinutils-redhat-19b2e2dc6e0a54e2fc2270fe5a824391b710d0c1.tar.gz
2007-03-21 H.J. Lu <hongjiu.lu@intel.com>
* Makefile.am: Run dep-am. * Makefile.in: Regenerated. * config/tc-i386.c: Don't include "opcodes/i386-opc.h". * config/tc-i386.h: Include "opcodes/i386-opc.h". (NOP_OPCODE): Removed. (template): Likewise.
Diffstat (limited to 'gas/config/tc-i386.h')
-rw-r--r--gas/config/tc-i386.h11
1 files changed, 4 insertions, 7 deletions
diff --git a/gas/config/tc-i386.h b/gas/config/tc-i386.h
index ed8085018b..51638b0803 100644
--- a/gas/config/tc-i386.h
+++ b/gas/config/tc-i386.h
@@ -23,6 +23,8 @@
#ifndef TC_I386
#define TC_I386 1
+#include "opcodes/i386-opc.h"
+
struct fix;
#define TARGET_BYTES_BIG_ENDIAN 0
@@ -114,9 +116,6 @@ extern const char *i386_comment_chars;
#define IMMEDIATE_PREFIX '$'
#define ABSOLUTE_PREFIX '*'
-/* Byte to use for filling in frag_align_code. */
-#define NOP_OPCODE (char) 0x90
-
/* these are the instruction mnemonic suffixes. */
#define WORD_MNEM_SUFFIX 'w'
#define BYTE_MNEM_SUFFIX 'b'
@@ -135,12 +134,10 @@ extern const char *i386_comment_chars;
The templates themselves start at START and range up to (but not including)
END.
*/
-struct template;
-
typedef struct
{
- const struct template *start;
- const struct template *end;
+ const template *start;
+ const template *end;
}
templates;