bfd:
authorNathan Sidwell <nathan@codesourcery.com>
Mon, 6 Mar 2006 13:42:05 +0000 (13:42 +0000)
committerNathan Sidwell <nathan@codesourcery.com>
Mon, 6 Mar 2006 13:42:05 +0000 (13:42 +0000)
commit0b2e31dc3b568d10386bcfc3e2c75e21a72be568
tree8b39c845b03c3b998c7b31093d2fce685a007099
parentd8d1c398ee0a95ea474cf14697328196c289eac7
bfd:
* archures.c (bfd_mach_mcf_isa_a_nodiv, bfd_mach_mcf_isa_b_nousp):
New.  Adjust other variants.
(bfd_default_scan): Update.
* bfd-in2.h: Rebuilt.
* cpu-m68k.c: Adjust.
(bfd_m68k_compatible): New. Use it for architectures.
* elf32-m68k.c (elf32_m68k_object_p): Adjust.
(elf32_m68k_merge_private_bfd_data): Adjust.  Correct isa-a/b
mismatch.
(elf32_m68k_print_private_bfd_data): Adjust.
* ieee.c (ieee_write_processor): Adjust.

binutils:
* readelf.c (get_machine_flags): Adjust.

gas:
* config/tc-m68k.c (m68k_extensions): Allow 'float' on both m68k
and cf.
(m68k_ip): <case 'J'> Check we have some control regs.
(md_parse_option): Allow raw arch switch.
(m68k_init_arch): Better detection of arch/cpu mismatch.  Detect
whether 68881 or cfloat was meant by -mfloat.
(md_show_usage): Adjust extension display.
(m68k_elf_final_processing): Adjust.

gas/testsuite:
* gas/m68k/arch-cpu-1.s: Tweak.
* gas/m68k/arch-cpu-1.d: Tweak.

include/elf:
* m68k.h (EF_M68K_ISA_MASK, EF_M68K_ISA_A,
EF_M68K_ISA_A_PLUS, EF_M68K_ISA_B, EF_M68K_ISA_C): Adjust.
(EF_M68K_ISA_A_NODIV, EF_M68K_ISA_B_NOUSP): New.
(EF_M68K_HW_DIV, EF_M68K_USP): Remove.
(EF_M68K_MAC, EF_M68K_EMAC, EF_M68K_FLOAT): Adjust.
(EF_M68K_EMAC_B): New.

ld/testsuite:
* ld-m68k: New tests.
30 files changed:
bfd/ChangeLog
bfd/archures.c
bfd/bfd-in2.h
bfd/cpu-m68k.c
bfd/elf32-m68k.c
bfd/ieee.c
binutils/ChangeLog
binutils/readelf.c
gas/ChangeLog
gas/config/tc-m68k.c
gas/testsuite/ChangeLog
gas/testsuite/gas/m68k/arch-cpu-1.d
gas/testsuite/gas/m68k/arch-cpu-1.s
include/elf/ChangeLog
include/elf/m68k.h
ld/testsuite/ChangeLog
ld/testsuite/ld-m68k/isaa-mac.d [new file with mode: 0644]
ld/testsuite/ld-m68k/isaa-mac.s [new file with mode: 0644]
ld/testsuite/ld-m68k/isaa-nodiv.s [new file with mode: 0644]
ld/testsuite/ld-m68k/isaa.d [new file with mode: 0644]
ld/testsuite/ld-m68k/isaa.s [new file with mode: 0644]
ld/testsuite/ld-m68k/isaaplus.d [new file with mode: 0644]
ld/testsuite/ld-m68k/isaaplus.s [new file with mode: 0644]
ld/testsuite/ld-m68k/isab-float.d [new file with mode: 0644]
ld/testsuite/ld-m68k/isab-float.s [new file with mode: 0644]
ld/testsuite/ld-m68k/isab-nousp.s [new file with mode: 0644]
ld/testsuite/ld-m68k/isab.d [new file with mode: 0644]
ld/testsuite/ld-m68k/isab.s [new file with mode: 0644]
ld/testsuite/ld-m68k/m68k.exp [new file with mode: 0644]
ld/testsuite/ld-m68k/merge.ld [new file with mode: 0644]