aboutsummaryrefslogtreecommitdiff
path: root/gas/config
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2007-03-21 15:37:21 +0000
committerH.J. Lu <hjl.tools@gmail.com>2007-03-21 15:37:21 +0000
commit1d5f2fe90da978c067d28b95b0eb9e504063194d (patch)
treeed15b2635d2a7eea2ac962ce3987038a4821f1e2 /gas/config
parent5ac8f2a23bdc87db533640b5fd06108b1f040bd0 (diff)
downloadgdb-1d5f2fe90da978c067d28b95b0eb9e504063194d.zip
gdb-1d5f2fe90da978c067d28b95b0eb9e504063194d.tar.gz
gdb-1d5f2fe90da978c067d28b95b0eb9e504063194d.tar.bz2
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')
-rw-r--r--gas/config/tc-i386.c1
-rw-r--r--gas/config/tc-i386.h11
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;