This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
[binutils-gdb] sim: avr: Fix 'multiple definition of sim_{read, write}'
- From: Michael Frysinger <vapier at sourceware dot org>
- To: gdb-cvs at sourceware dot org
- Date: 27 Apr 2015 13:56:11 -0000
- Subject: [binutils-gdb] sim: avr: Fix 'multiple definition of sim_{read, write}'
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=180d40b903774d6c7bd8110ce4f77a2f5fb06e7a
commit 180d40b903774d6c7bd8110ce4f77a2f5fb06e7a
Author: Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
Date: Mon Apr 27 14:26:04 2015 +0530
sim: avr: Fix 'multiple definition of sim_{read,write}'
This patch does whatever was done in
https://sourceware.org/ml/gdb-patches/2015-04/msg00437.html to fix
broken gdb build for the AVR target.
Diff:
---
sim/avr/ChangeLog | 5 +++++
sim/avr/Makefile.in | 2 +-
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/sim/avr/ChangeLog b/sim/avr/ChangeLog
index c486303..036c057 100644
--- a/sim/avr/ChangeLog
+++ b/sim/avr/ChangeLog
@@ -1,3 +1,8 @@
+2015-04-27 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
+
+ * Makefile.in (SIM_OBJS): Move interp.o
+ above $(SIM_NEW_COMMON_OBJS).
+
2015-04-18 Mike Frysinger <vapier@gentoo.org>
* sim-main.h (SIM_CPU): Delete.
diff --git a/sim/avr/Makefile.in b/sim/avr/Makefile.in
index 80a1230..f0a9bcc 100644
--- a/sim/avr/Makefile.in
+++ b/sim/avr/Makefile.in
@@ -17,8 +17,8 @@
## COMMON_PRE_CONFIG_FRAG
SIM_OBJS = \
- $(SIM_NEW_COMMON_OBJS) \
interp.o \
+ $(SIM_NEW_COMMON_OBJS) \
sim-hload.o \
sim-reason.o \
sim-resume.o \