This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] Add support for Lattice Mico32 (LM32)
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: Nick Clifton <nickc at redhat dot com>
- Cc: Jon Beniston <jon at beniston dot com>, binutils at sourceware dot org
- Date: Wed, 24 Dec 2008 01:25:26 +0100
- Subject: Re: [PATCH] Add support for Lattice Mico32 (LM32)
- References: <1A41E556101B4E19A198F69B67EDAB8F@bibi> <49513739.2050609@redhat.com>
Hi Nick and Jon,
on --enable-targets=all GDB now fails to build, specifically:
./configure --enable-targets=all --enable-64-bit-bfd --enable-static --disable-shared --enable-debug
[...]
gcc -m64 -ggdb2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -lmcheck \
-o gdb gdb.o libgdb.a \
../readline/libreadline.a ../opcodes/libopcodes.a ../bfd/libbfd.a ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a -lncurses -lz -lm -lpython2.5 -lexpat ../libiberty/libiberty.a gnulib/libgnu.a -ldl -rdynamic
op../opcodes/libopcodes.a(disassemble.o): In function `disassembler':
/home/short/redhat/gdb-cvs/opcodes/.././opcodes/disassemble.c:229: undefined reference to `print_insn_lm32'
collect2: ld returned 1 exit status
OK to check in?
Regards,
Jan
2008-12-24 Jan Kratochvil <jan.kratochvil@redhat.com>
* Makefile.am (CFILES, ALL_MACHINES): Add LM32 source and object files.
* Makefile.in: Regenerate.
--- opcodes/Makefile.am 23 Dec 2008 19:10:24 -0000 1.129
+++ opcodes/Makefile.am 24 Dec 2008 00:21:05 -0000
@@ -123,6 +123,14 @@ CFILES = \
iq2000-dis.c \
iq2000-ibld.c \
iq2000-opc.c \
+ lm32-asm.c \
+ lm32-desc.c \
+ lm32-desc.h \
+ lm32-dis.c \
+ lm32-ibld.c \
+ lm32-opc.c \
+ lm32-opc.h \
+ lm32-opinst.c \
m32c-asm.c \
m32c-desc.c \
m32c-dis.c \
@@ -265,6 +273,12 @@ ALL_MACHINES = \
iq2000-dis.lo \
iq2000-ibld.lo \
iq2000-opc.lo \
+ lm32-asm.lo \
+ lm32-desc.lo \
+ lm32-dis.lo \
+ lm32-ibld.lo \
+ lm32-opc.lo \
+ lm32-opinst.lo \
m32c-asm.lo \
m32c-desc.lo \
m32c-dis.lo \