aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-i386.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2001-11-15 13:19:46 +0000
committerAlan Modra <amodra@gmail.com>2001-11-15 13:19:46 +0000
commita847613f7489967c9bf31c82fab3fb44e5d9d7e2 (patch)
treea48e6578a026a94e070407adafe62d0a81cb22de /gas/config/tc-i386.h
parent0d3afcfcaa8d9cbac690fddebab73001ee150be4 (diff)
downloadgdb-a847613f7489967c9bf31c82fab3fb44e5d9d7e2.zip
gdb-a847613f7489967c9bf31c82fab3fb44e5d9d7e2.tar.gz
gdb-a847613f7489967c9bf31c82fab3fb44e5d9d7e2.tar.bz2
* config/tc-i386.h (md_end): Define.
(i386_elf_emit_arch_note): Declare. (CpuUnknown): Delete. * config/tc-i386.c (default_arch): Constify. (smallest_imm_type): Remove CpuUnknown test. (md_assemble): Don't bother checking cpu_arch_flags non-zero. (i386_elf_emit_arch_note): New function.
Diffstat (limited to 'gas/config/tc-i386.h')
-rw-r--r--gas/config/tc-i386.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/gas/config/tc-i386.h b/gas/config/tc-i386.h
index cea225b..aff5980 100644
--- a/gas/config/tc-i386.h
+++ b/gas/config/tc-i386.h
@@ -111,6 +111,11 @@ extern const char *i386_target_format PARAMS ((void));
#endif
#endif
+#if (defined (OBJ_MAYBE_ELF) || defined (OBJ_ELF))
+#define md_end i386_elf_emit_arch_note
+extern void i386_elf_emit_arch_note PARAMS ((void));
+#endif
+
#else /* ! BFD_ASSEMBLER */
/* COFF STUFF */
@@ -293,7 +298,6 @@ typedef struct
#define CpuSSE 0x1000 /* Streaming SIMD extensions required */
#define CpuSSE2 0x2000 /* Streaming SIMD extensions 2 required */
#define Cpu3dnow 0x4000 /* 3dnow! support required */
-#define CpuUnknown 0x8000 /* The CPU is unknown, be on the safe side. */
/* These flags are set by gas depending on the flag_code. */
#define Cpu64 0x4000000 /* 64bit support required */