From a847613f7489967c9bf31c82fab3fb44e5d9d7e2 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Thu, 15 Nov 2001 13:19:46 +0000 Subject: * 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. --- gas/config/tc-i386.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'gas/config/tc-i386.h') 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 */ -- cgit v1.1