Date: Wed, 25 Feb 2009 19:48:17 GMT From: Oleksandr Tymoshenko <gonzo@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 158279 for review Message-ID: <200902251948.n1PJmHe7020911@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=158279 Change 158279 by gonzo@gonzo_figaro on 2009/02/25 19:47:41 - Add AVR32 bits to libopcodes Affected files ... .. //depot/projects/avr32/src/contrib/binutils/opcodes/Makefile.am#2 edit .. //depot/projects/avr32/src/contrib/binutils/opcodes/Makefile.in#2 edit .. //depot/projects/avr32/src/contrib/binutils/opcodes/avr32-asm.c#1 add .. //depot/projects/avr32/src/contrib/binutils/opcodes/avr32-asm.h#1 add .. //depot/projects/avr32/src/contrib/binutils/opcodes/avr32-dis.c#1 add .. //depot/projects/avr32/src/contrib/binutils/opcodes/avr32-opc.c#1 add .. //depot/projects/avr32/src/contrib/binutils/opcodes/avr32-opc.h#1 add .. //depot/projects/avr32/src/contrib/binutils/opcodes/disassemble.c#2 edit Differences ... ==== //depot/projects/avr32/src/contrib/binutils/opcodes/Makefile.am#2 (text+ko) ==== @@ -25,6 +25,7 @@ # Header files. HFILES = \ arm-opc.h \ + avr32-asm.h avr32-opc.h \ fr30-desc.h fr30-opc.h \ frv-desc.h frv-opc.h \ h8500-opc.h \ @@ -52,6 +53,9 @@ arc-ext.c \ arm-dis.c \ avr-dis.c \ + avr32-asm.c \ + avr32-dis.c \ + avr32-opc.c \ cgen-asm.c \ cgen-dis.c \ cgen-opc.c \ @@ -174,6 +178,9 @@ arc-ext.lo \ arm-dis.lo \ avr-dis.lo \ + avr32-asm.lo \ + avr32-dis.lo \ + avr32-opc.lo \ cgen-asm.lo \ cgen-dis.lo \ cgen-opc.lo \ @@ -536,6 +543,15 @@ avr-dis.lo: avr-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \ $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/symcat.h opintl.h \ $(INCDIR)/libiberty.h $(INCDIR)/opcode/avr.h +avr32-asm.lo: avr32-asm.c sysdep.h config.h $(INCDIR)/ansidecl.h \ + $(BFD_H) $(INCDIR)/symcat.h avr32-opc.h opintl.h \ + $(INCDIR)/xregex.h $(INCDIR)/xregex2.h \ + $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h +avr32-dis.lo: avr32-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \ + $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/symcat.h $(INCDIR)/libiberty.h \ + avr32-opc.h opintl.h +avr32-opc.lo: avr32-opc.c sysdep.h config.h $(INCDIR)/ansidecl.h \ + $(BFD_H) $(INCDIR)/symcat.h avr32-opc.h $(INCDIR)/libiberty.h cgen-asm.lo: cgen-asm.c sysdep.h config.h $(INCDIR)/ansidecl.h \ $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h $(BFD_H) \ $(INCDIR)/symcat.h $(INCDIR)/opcode/cgen.h opintl.h ==== //depot/projects/avr32/src/contrib/binutils/opcodes/Makefile.in#2 (text+ko) ==== @@ -135,6 +135,7 @@ # Header files. HFILES = \ arm-opc.h \ + avr32-asm.h avr32-opc.h \ fr30-desc.h fr30-opc.h \ frv-desc.h frv-opc.h \ h8500-opc.h \ @@ -163,6 +164,9 @@ arc-ext.c \ arm-dis.c \ avr-dis.c \ + avr32-asm.c \ + avr32-dis.c \ + avr32-opc.c \ cgen-asm.c \ cgen-dis.c \ cgen-opc.c \ @@ -286,6 +290,9 @@ arc-ext.lo \ arm-dis.lo \ avr-dis.lo \ + avr32-asm.lo \ + avr32-dis.lo \ + avr32-opc.lo \ cgen-asm.lo \ cgen-dis.lo \ cgen-opc.lo \ @@ -1032,6 +1039,15 @@ avr-dis.lo: avr-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \ $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/symcat.h opintl.h \ $(INCDIR)/libiberty.h $(INCDIR)/opcode/avr.h +avr32-asm.lo: avr32-asm.c sysdep.h config.h $(INCDIR)/ansidecl.h \ + $(BFD_H) $(INCDIR)/symcat.h avr32-opc.h opintl.h \ + $(INCDIR)/xregex.h $(INCDIR)/xregex2.h \ + $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h +avr32-dis.lo: avr32-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \ + $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/symcat.h $(INCDIR)/libiberty.h \ + avr32-opc.h opintl.h +avr32-opc.lo: avr32-opc.c sysdep.h config.h $(INCDIR)/ansidecl.h \ + $(BFD_H) $(INCDIR)/symcat.h avr32-opc.h $(INCDIR)/libiberty.h cgen-asm.lo: cgen-asm.c sysdep.h config.h $(INCDIR)/ansidecl.h \ $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h $(BFD_H) \ $(INCDIR)/symcat.h $(INCDIR)/opcode/cgen.h opintl.h ==== //depot/projects/avr32/src/contrib/binutils/opcodes/disassemble.c#2 (text+ko) ==== @@ -25,6 +25,7 @@ #define ARCH_arc #define ARCH_arm #define ARCH_avr +#define ARCH_avr32 #define ARCH_cris #define ARCH_d10v #define ARCH_d30v @@ -118,6 +119,11 @@ disassemble = print_insn_avr; break; #endif +#ifdef ARCH_avr32 + case bfd_arch_avr32: + disassemble = print_insn_avr32; + break; +#endif #ifdef ARCH_cris case bfd_arch_cris: disassemble = cris_get_disassembler (abfd); @@ -394,6 +400,9 @@ #ifdef ARCH_powerpc print_ppc_disassembler_options (stream); #endif +#ifdef ARCH_avr32 + print_avr32_disassembler_options (stream); +#endif return; }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200902251948.n1PJmHe7020911>