diff options
author | Kazu Hirata <kazu@codesourcery.com> | 2007-01-08 18:42:37 +0000 |
---|---|---|
committer | Kazu Hirata <kazu@codesourcery.com> | 2007-01-08 18:42:37 +0000 |
commit | 3bdcfdf41f04c851af504aa0b653e0c806a930f4 (patch) | |
tree | c3b84f2be979ef63edfcca340ffb50b340af54fa /include/elf | |
parent | 00fa51f6801ada6b33763db75f5cdab6c74ea90b (diff) | |
download | gdb-3bdcfdf41f04c851af504aa0b653e0c806a930f4.zip gdb-3bdcfdf41f04c851af504aa0b653e0c806a930f4.tar.gz gdb-3bdcfdf41f04c851af504aa0b653e0c806a930f4.tar.bz2 |
bfd/
* archures.c (bfd_mach_cpu32_fido): Rename to bfd_mach_fido.
* bfd-in2.h: Regenerate.
* cpu-m68k.c (arch_info_struct): Use bfd_mach_fido instead of
bfd_mach_cpu32_fido.
(m68k_arch_features): Use fido_a instead of cpu32.
(bfd_m68k_compatible): Reject the combination of Fido and
ColdFire. Accept the combination of CPU32 and Fido with a
warning.
* elf32-m68k.c (elf32_m68k_object_p,
elf32_m68k_merge_private_bfd_data,
elf32_m68k_print_private_bfd_data): Treat Fido as an
architecture by itself.
binutils/
* readelf.c (get_machine_flags): Treat Fido as an architecture
by itself.
gas/
* config/tc-m68k.c (m68k_archs, m68k_cpus): Treat Fido as an
architecture by itself.
(m68k_ip): Don't issue a warning for tbl instructions on fido.
(m68k_elf_final_processing): Treat Fido as an architecture by
itself.
include/elf/
* m68k.h (EF_M68K_FIDO): New.
(EF_M68K_ARCH_MASK): OR EF_M68K_FIDO.
(EF_M68K_CPU32_FIDO_A, EF_M68K_CPU32_MASK): Remove.
include/opcode/
* m68k.h (m68010up): OR fido_a.
opcodes/
* m68k-opc.c (m68k_opcodes): Replace cpu32 with
cpu32 | fido_a except on tbl instructions.
Diffstat (limited to 'include/elf')
-rw-r--r-- | include/elf/ChangeLog | 6 | ||||
-rw-r--r-- | include/elf/m68k.h | 10 |
2 files changed, 9 insertions, 7 deletions
diff --git a/include/elf/ChangeLog b/include/elf/ChangeLog index c3dd116..5504cb0 100644 --- a/include/elf/ChangeLog +++ b/include/elf/ChangeLog @@ -1,3 +1,9 @@ +2007-01-08 Kazu Hirata <kazu@codesourcery.com> + + * m68k.h (EF_M68K_FIDO): New. + (EF_M68K_ARCH_MASK): OR EF_M68K_FIDO. + (EF_M68K_CPU32_FIDO_A, EF_M68K_CPU32_MASK): Remove. + 2006-12-25 Kazu Hirata <kazu@codesourcery.com> * m68k.h (EF_M68K_CPU32_FIDO_A, EF_M68K_CPU32_MASK): New. diff --git a/include/elf/m68k.h b/include/elf/m68k.h index 8751729..a9f2203 100644 --- a/include/elf/m68k.h +++ b/include/elf/m68k.h @@ -57,7 +57,9 @@ END_RELOC_NUMBERS (R_68K_max) #define EF_M68K_CPU32 0x00810000 #define EF_M68K_M68000 0x01000000 #define EF_M68K_CFV4E 0x00008000 -#define EF_M68K_ARCH_MASK (EF_M68K_M68000 | EF_M68K_CPU32 | EF_M68K_CFV4E) +#define EF_M68K_FIDO 0x02000000 +#define EF_M68K_ARCH_MASK \ + (EF_M68K_M68000 | EF_M68K_CPU32 | EF_M68K_CFV4E | EF_M68K_FIDO) /* We use the bottom 8 bits to encode information about the coldfire variant. If we use any of these bits, the top 24 bits are @@ -76,10 +78,4 @@ 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 |