summaryrefslogtreecommitdiff
path: root/opcodes
diff options
context:
space:
mode:
Diffstat (limited to 'opcodes')
-rw-r--r--opcodes/i386-opc.c10
-rw-r--r--opcodes/i386-opc.h1
2 files changed, 0 insertions, 11 deletions
diff --git a/opcodes/i386-opc.c b/opcodes/i386-opc.c
index 66566bd54b6..729c22932b1 100644
--- a/opcodes/i386-opc.c
+++ b/opcodes/i386-opc.c
@@ -22,13 +22,3 @@
#include "libiberty.h"
#include "i386-opc.h"
#include "i386-tbl.h"
-
-/* To be indexed by segment register number. */
-const unsigned char i386_seg_prefixes[] = {
- ES_PREFIX_OPCODE,
- CS_PREFIX_OPCODE,
- SS_PREFIX_OPCODE,
- DS_PREFIX_OPCODE,
- FS_PREFIX_OPCODE,
- GS_PREFIX_OPCODE
-};
diff --git a/opcodes/i386-opc.h b/opcodes/i386-opc.h
index 168729fec62..459268f3656 100644
--- a/opcodes/i386-opc.h
+++ b/opcodes/i386-opc.h
@@ -1014,4 +1014,3 @@ reg_entry;
extern const reg_entry i386_regtab[];
extern const unsigned int i386_regtab_size;
-extern const unsigned char i386_seg_prefixes[6];