diff options
Diffstat (limited to 'gas/config')
-rw-r--r-- | gas/config/tc-i386.c | 1 | ||||
-rw-r--r-- | gas/config/tc-i386.h | 11 |
2 files changed, 4 insertions, 8 deletions
diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c index 0f3077c..63d95fa 100644 --- a/gas/config/tc-i386.c +++ b/gas/config/tc-i386.c @@ -32,7 +32,6 @@ #include "subsegs.h" #include "dwarf2dbg.h" #include "dw2gencfi.h" -#include "opcodes/i386-opc.h" #include "elf/x86-64.h" #ifndef REGISTER_WARNINGS diff --git a/gas/config/tc-i386.h b/gas/config/tc-i386.h index ed80850..51638b0 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; |