aboutsummaryrefslogtreecommitdiff
path: root/sim
diff options
context:
space:
mode:
Diffstat (limited to 'sim')
-rw-r--r--sim/v850/ChangeLog5
-rw-r--r--sim/v850/Makefile.in6
2 files changed, 7 insertions, 4 deletions
diff --git a/sim/v850/ChangeLog b/sim/v850/ChangeLog
index fcc16b0..0123252 100644
--- a/sim/v850/ChangeLog
+++ b/sim/v850/ChangeLog
@@ -1,3 +1,8 @@
+2001-01-31 Jonathan Larmour <jlarmour@redhat.com>
+
+ * Makefile.in (gencode): Link with libopcodes in build tree rather
+ than building source files from there.
+
2000-05-30 Nick Clifton <nickc@cygnus.com>
* v850.igen: Remove illegal instruction pattern, since it is the
diff --git a/sim/v850/Makefile.in b/sim/v850/Makefile.in
index 7f65230..7910aab 100644
--- a/sim/v850/Makefile.in
+++ b/sim/v850/Makefile.in
@@ -56,10 +56,8 @@ tmp-gencode: gencode
touch tmp-gencode
gencode.o: gencode.c
$(CC_FOR_BUILD) $(BUILD_CFLAGS) -c $(srcdir)/gencode.c
-v850-opc.o: $(srcdir)/../../opcodes/v850-opc.c
- $(CC_FOR_BUILD) $(BUILD_CFLAGS) -c $<
-gencode: gencode.o v850-opc.o
- $(CC_FOR_BUILD) $(BUILD_CFLAGS) -o gencode gencode.o v850-opc.o
+gencode: gencode.o ../../opcodes/libopcodes.a
+ $(CC_FOR_BUILD) $(BUILD_CFLAGS) -o gencode gencode.o ../../opcodes/libopcodes.a