This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Add support for Lattice Mico32 (LM32)


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 \


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]