2003-03-03 Andrew Stubbs <andrew.stubbs@superh.com>
authorJoern Rennecke <joern.rennecke@embecosm.com>
Wed, 3 Mar 2004 18:01:49 +0000 (18:01 +0000)
committerJoern Rennecke <joern.rennecke@embecosm.com>
Wed, 3 Mar 2004 18:01:49 +0000 (18:01 +0000)
commitae51a426eb85feced6c79756b17f369073e9fc3b
tree13005024db55500b5d1508b7635b93847866c8e2
parent9545c4ce8548ba44d2401ce85aafb8c51b03c667
2003-03-03  Andrew Stubbs  <andrew.stubbs@superh.com>

opcodes:
* sh-dis.c (print_insn_sh): Don't disassemble fp instructions in
nofpu mode.  Add BFD type bfd_mach_sh4_nommu_nofpu.
* sh-opc.h: Add sh4_nommu_nofpu architecture and adjust instructions
accordingly.
bfd:
* archures.c: Add bfd_mach_sh4_nommu_nofpu.
* cpu-sh.c: Ditto.
* elf32-sh.c: Ditto.
* bfd-in2.h: Regenerate.
include/elf:
* sh.h: Add EF_SH4_NOMMU_NOFPU.
gas:
* config/tc-sh.c (md_parse_option): Add -isa=sh4-nofpu and
-isa=sh4-nommu-nofpu options. Adjust help messages accordingly.
(sh_elf_final_processing): Output BFD type sh4_nofpu if that is
the most general type or the user specifically requested it.
(md_assemble): Add a new error message for when an instruction
is understood, but is not allowed due to an -isa option.
12 files changed:
bfd/ChangeLog
bfd/archures.c
bfd/bfd-in2.h
bfd/cpu-sh.c
bfd/elf32-sh.c
gas/ChangeLog
gas/config/tc-sh.c
include/elf/ChangeLog
include/elf/sh.h
opcodes/ChangeLog
opcodes/sh-dis.c
opcodes/sh-opc.h