From 7ba29e2a41ab1802c0e56ce97b290d5f0aece80e Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Thu, 6 Aug 2009 17:38:04 +0000 Subject: Add support for Xilinx MicroBlaze processor. * bfd/Makefile.am: Add cpu-microblaze.{lo,c}, elf32-microblaze.{lo,c}. * bfd/Makefile.in: Same. * bfd/archures.c: Add bfd_arch_microblaze. * bfd/bfd-in2.h: Regenerate. * bfd/config.bfd: Add microblaze target. * bfd/configure: Add bfd_elf32_microblaze_vec target. * bfd/configure.in: Same. * bfd/cpu-microblaze.c: New. * bfd/elf32-microblaze.c: New. * bfd/libbfd-in.h: Add prototype _bfd_dwarf2_fixup_section_debug_loc(). * bfd/libbfd.h: Regenerate. * bfd/reloc.c: Add MICROBLAZE relocations. * bfd/section.c: Add struct relax_table and relax_count to section. * bfd/targets.c: Add bfd_elf32_microblaze_vec. * binutils/MAINTAINERS: Add self as maintainer. * binutils/readelf.c: Include elf/microblaze.h, add EM_MICROBLAZE & EM_MICROBLAZE_OLD to guess_is_rela(), dump_relocations(), get_machine_name(). * config.sub: Add microblaze target. * configure: Same. * configure.ac: Same. * gas/Makefile.am: add microblaze to CPU_TYPES, config/tc-microblaze.c to TARGET_CPU_CFILES, config/tc-microblaze.h to TARGET_CPU_HFILES, add DEP_microblaze_elf target. * gas/Makefile.in: Same. * gas/config/tc-microblaze.c: Add MicroBlaze assembler. * gas/config/tc-microblaze.h: Add header for tc-microblaze.c. * gas/configure: Add microblaze target. * gas/configure.in: Same. * gas/configure.tgt: Same. * gas/doc/Makefile.am: Add c-microblaze.texi to CPU_DOCS. * gas/doc/Makefile.in: Same. * gas/doc/all.texi: Set MICROBLAZE. * gas/doc/as.texinfo: Add MicroBlaze doc links. * gas/doc/c-microblaze.texi: New MicroBlaze docs. * include/dis-asm.h: Decl print_insn_microblaze(). * include/elf/common.h: Define EM_MICROBLAZE & EM_MICROBLAZE_OLD. * include/elf/microblaze.h: New reloc definitions. * ld/Makefile.am: Add eelf32mb_linux.o, eelf32microblaze.o to ALL_EMULATIONS, targets. * ld/Makefile.in: Same. * ld/configure.tgt: Add microblaze*-linux*, microblaze* targets. * ld/emulparams/elf32mb_linux.sh: New. * ld/emulparams/elf32microblaze.sh. New. * ld/scripttempl/elfmicroblaze.sc: New. * opcodes/Makefile.am: Add microblaze-opc.h to HFILES, microblaze-dis.c to CFILES, microblaze-dis.lo to ALL_MACHINES, targets. * opcodes/Makefile.in: Same. * opcodes/configure: Add bfd_microblaze_arch target. * opcodes/configure.in: Same. * opcodes/disassemble.c: Define ARCH_microblaze, return print_insn_microblaze(). * opcodes/microblaze-dis.c: New MicroBlaze disassembler. * opcodes/microblaze-opc.h: New MicroBlaze opcode definitions. * opcodes/microblaze-opcm.h: New MicroBlaze opcode types. --- opcodes/Makefile.am | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'opcodes/Makefile.am') diff --git a/opcodes/Makefile.am b/opcodes/Makefile.am index d2a76c7..077a9da 100644 --- a/opcodes/Makefile.am +++ b/opcodes/Makefile.am @@ -49,6 +49,7 @@ HFILES = \ m32r-desc.h m32r-opc.h \ mcore-opc.h \ mep-desc.h mep-opc.h \ + microblaze-opc.h \ mt-desc.h mt-opc.h \ openrisc-desc.h openrisc-opc.h \ score-opc.h \ @@ -160,6 +161,7 @@ CFILES = \ mep-ibld.c \ mep-opc.c \ mips-dis.c \ + microblaze-dis.c \ mips-opc.c \ mips16-opc.c \ m10200-dis.c \ @@ -315,6 +317,7 @@ ALL_MACHINES = \ mep-ibld.lo \ mep-opc.lo \ mips-dis.lo \ + microblaze-dis.lo \ mips-opc.lo \ mips16-opc.lo \ mmix-dis.lo \ @@ -1798,6 +1801,11 @@ mep-opc.lo: \ mep-desc.h \ mep-opc.h \ sysdep.h +microblaze-dis.lo: \ + microblaze-dis.c \ + microblaze-opc.h \ + $(INCDIR)/ansidecl.h \ + $(INCDIR)/dis-asm.h mips-dis.lo: \ mips-dis.c \ $(BFDDIR)/elf-bfd.h \ -- cgit v1.1