Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'include/elf/m68k.h')
-rw-r--r--include/elf/m68k.h20
1 files changed, 11 insertions, 9 deletions
diff --git a/include/elf/m68k.h b/include/elf/m68k.h
index 929cd60f4..08d0c4419 100644
--- a/include/elf/m68k.h
+++ b/include/elf/m68k.h
@@ -58,16 +58,18 @@ END_RELOC_NUMBERS (R_68K_max)
/* We use the bottom 8 bits to encode information about the
coldfire variant. */
-#define EF_M68K_ISA_MASK 0x07 /* Which ISA */
-#define EF_M68K_ISA_A 0x01
-#define EF_M68K_ISA_A_PLUS 0x02
-#define EF_M68K_ISA_B 0x03
-#define EF_M68K_HW_DIV 0x08 /* Has HW divide */
+#define EF_M68K_ISA_MASK 0x0F /* Which ISA */
+#define EF_M68K_ISA_A_NODIV 0x01 /* ISA A except for div */
+#define EF_M68K_ISA_A 0x02
+#define EF_M68K_ISA_A_PLUS 0x03
+#define EF_M68K_ISA_B_NOUSP 0x04 /* ISA_B except for USP */
+#define EF_M68K_ISA_B 0x05
+#define EF_M68K_ISA_C 0x06
#define EF_M68K_MAC_MASK 0x30
-#define EF_M68K_MAC 0x10 /* Has MAC */
-#define EF_M68K_EMAC 0x20 /* Has EMAC */
-#define EF_M68K_USP 0x40 /* Has USP insns */
-#define EF_M68K_FLOAT 0x80 /* Has float insns */
+#define EF_M68K_MAC 0x10 /* MAC */
+#define EF_M68K_EMAC 0x20 /* EMAC */
+#define EF_M68K_EMAC_B 0x30 /* EMAC_B */
+#define EF_M68K_FLOAT 0x40 /* Has float insns */
#define EF_M68K_CF_MASK 0xFF
#endif