aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKazu Hirata <kazu@codesourcery.com>2006-12-25 22:39:21 +0000
committerKazu Hirata <kazu@codesourcery.com>2006-12-25 22:39:21 +0000
commitc5a95a529eb1e651ea7cfc7649132b25e60a7360 (patch)
tree2fc0ffcfc2f529ceddb7c6f85a4d3624ab58135e /include
parentb0ee53e9bcc5c4bbbbb1726a64bb8166ebe1f4d3 (diff)
downloadnewlib-c5a95a529eb1e651ea7cfc7649132b25e60a7360.zip
newlib-c5a95a529eb1e651ea7cfc7649132b25e60a7360.tar.gz
newlib-c5a95a529eb1e651ea7cfc7649132b25e60a7360.tar.bz2
bfd/
* archures.c (bfd_mach_cpu32_fido): New. (bfd_mach_mcf_isa_a_nodiv, bfd_mach_mcf_isa_a, bfd_mach_mcf_isa_a_mac, bfd_mach_mcf_isa_a_emac, bfd_mach_mcf_isa_aplus, bfd_mach_mcf_isa_aplus_mac, bfd_mach_mcf_isa_aplus_emac, bfd_mach_mcf_isa_b_nousp, bfd_mach_mcf_isa_b_nousp_mac, bfd_mach_mcf_isa_b_nousp_emac, bfd_mach_mcf_isa_b, bfd_mach_mcf_isa_b_mac, bfd_mach_mcf_isa_b_emac, bfd_mach_mcf_isa_b_float, bfd_mach_mcf_isa_b_float_mac, bfd_mach_mcf_isa_b_float_emac): Increment the defined values. * bfd-in2.h: Regenerate. * cpu-m68k.c (arch_info_struct): Add en entry for bfd_mach_cpu32_fido. * elf32-m68k.c (elf32_m68k_object_p): Handle EF_M68K_CPU32_FIDO_A. (elf32_m68k_merge_private_bfd_data): Use EF_M68K_CPU32_MASK. (elf32_m68k_print_private_bfd_data): Handle EF_M68K_CPU32_FIDO_A. binutils/ * readelf.c (get_machine_flags): Handle EF_M68K_CPU32_FIDO_A. gas/ * config/tc-m68k.c (cpu_of_arch): Add fido. (m68k_archs, m68k_cpu): Add entries for fido. (m68k_elf_final_processing): Handle EF_M68K_CPU32_FIDO_A. include/elf/ * m68k.h (EF_M68K_CPU32_FIDO_A, EF_M68K_CPU32_MASK): New. include/opcode/ * m68k.h (fido_a): New.
Diffstat (limited to 'include')
-rw-r--r--include/elf/ChangeLog4
-rw-r--r--include/elf/m68k.h6
-rw-r--r--include/opcode/ChangeLog4
-rw-r--r--include/opcode/m68k.h1
4 files changed, 15 insertions, 0 deletions
diff --git a/include/elf/ChangeLog b/include/elf/ChangeLog
index d0b1ec7..c3dd116 100644
--- a/include/elf/ChangeLog
+++ b/include/elf/ChangeLog
@@ -1,3 +1,7 @@
+2006-12-25 Kazu Hirata <kazu@codesourcery.com>
+
+ * m68k.h (EF_M68K_CPU32_FIDO_A, EF_M68K_CPU32_MASK): New.
+
2006-12-19 Kazu Hirata <kazu@codesourcery.com>
* m68k.h (EF_M68K_ARCH_MASK): New.
diff --git a/include/elf/m68k.h b/include/elf/m68k.h
index 3665d72..8751729 100644
--- a/include/elf/m68k.h
+++ b/include/elf/m68k.h
@@ -76,4 +76,10 @@ END_RELOC_NUMBERS (R_68K_max)
#define EF_M68K_CF_FLOAT 0x40 /* Has float insns */
#define EF_M68K_CF_MASK 0xFF
+/* We use the bottom 8 bits to encode information about the
+ CPU32 variant. If we use any of these bits, the top 24 bits must
+ be EF_M68K_CPU32. */
+#define EF_M68K_CPU32_FIDO_A 0x01
+#define EF_M68K_CPU32_MASK 0xFF
+
#endif
diff --git a/include/opcode/ChangeLog b/include/opcode/ChangeLog
index 8c67c33..526593b 100644
--- a/include/opcode/ChangeLog
+++ b/include/opcode/ChangeLog
@@ -1,3 +1,7 @@
+2006-12-25 Kazu Hirata <kazu@codesourcery.com>
+
+ * m68k.h (fido_a): New.
+
2006-12-24 Kazu Hirata <kazu@codesourcery.com>
* m68k.h (mcfmac, mcfemac, cfloat, mcfhwdiv, mcfisa_a,
diff --git a/include/opcode/m68k.h b/include/opcode/m68k.h
index 51b5e0b..ca0b4d9 100644
--- a/include/opcode/m68k.h
+++ b/include/opcode/m68k.h
@@ -31,6 +31,7 @@
#define m68881 0x040
#define m68851 0x080
#define cpu32 0x100 /* e.g., 68332 */
+#define fido_a 0x200
#define m68k_mask 0x3ff
#define mcfmac 0x400 /* ColdFire MAC. */