summaryrefslogtreecommitdiff
path: root/bfd/Makefile.am
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2009-08-06 17:38:04 +0000
committerNick Clifton <nickc@redhat.com>2009-08-06 17:38:04 +0000
commitad627b386b6942f5ca67d6374afaa9853f74cdbf (patch)
treedc720185e27e125c1198439422ae8c2569c8cf63 /bfd/Makefile.am
parent560c595224d5a41856e15532ebcc2e09682bb5fd (diff)
downloadbinutils-redhat-ad627b386b6942f5ca67d6374afaa9853f74cdbf.tar.gz
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.
Diffstat (limited to 'bfd/Makefile.am')
-rw-r--r--bfd/Makefile.am19
1 files changed, 19 insertions, 0 deletions
diff --git a/bfd/Makefile.am b/bfd/Makefile.am
index 73ff95327c..20fcf5a1ab 100644
--- a/bfd/Makefile.am
+++ b/bfd/Makefile.am
@@ -101,6 +101,7 @@ ALL_MACHINES = \
cpu-maxq.lo \
cpu-mcore.lo \
cpu-mep.lo \
+ cpu-microblaze.lo \
cpu-mips.lo \
cpu-mmix.lo \
cpu-moxie.lo \
@@ -171,6 +172,7 @@ ALL_MACHINES_CFILES = \
cpu-maxq.c \
cpu-mcore.c \
cpu-mep.c \
+ cpu-microblaze.c \
cpu-mips.c \
cpu-mmix.c \
cpu-moxie.c \
@@ -291,6 +293,7 @@ BFD32_BACKENDS = \
elf32-m88k.lo \
elf32-mcore.lo \
elf32-mep.lo \
+ elf32-microblaze.lo \
elf32-mips.lo \
elf32-moxie.lo \
elf32-msp430.lo \
@@ -474,6 +477,7 @@ BFD32_BACKENDS_CFILES = \
elf32-m88k.c \
elf32-mcore.c \
elf32-mep.c \
+ elf32-microblaze.c \
elf32-mips.c \
elf32-moxie.c \
elf32-msp430.c \
@@ -1387,6 +1391,10 @@ cpu-mep.lo: \
cpu-mep.c \
$(INCDIR)/filenames.h \
$(INCDIR)/hashtab.h
+cpu-microblaze.lo: \
+ cpu-microblaze.c $\
+ $(INCDIR)/filenames.h \
+ $(INCDIR)/hashtab.h
cpu-mips.lo: \
cpu-mips.c \
$(INCDIR)/filenames.h \
@@ -2844,6 +2852,17 @@ elflink.lo: \
$(INCDIR)/objalloc.h \
$(INCDIR)/safe-ctype.h \
elf-bfd.h
+elf32-microblaze.lo: \
+ elf32-microblaze.c \
+ $(INCDIR)/filenames.h \
+ $(INCDIR)/bfdlink.h \
+ genlink.h \
+ elf-bfd.h \
+ $(INCDIR)/elf/common.h \
+ $(INCDIR)/elf/internal.h \
+ $(INCDIR)/elf/external.h \
+ $(INCDIR)/elf/reloc-macros.h \
+ elf32-target.h
elfxx-mips.lo: \
elfxx-mips.c \
$(INCDIR)/bfdlink.h \