sim: avr: Fix 'multiple definition of sim_{read,write}'
authorSenthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
Mon, 27 Apr 2015 08:56:04 +0000 (14:26 +0530)
committerMike Frysinger <vapier@gentoo.org>
Mon, 27 Apr 2015 13:54:37 +0000 (09:54 -0400)
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.

sim/avr/ChangeLog
sim/avr/Makefile.in

index c486303..036c057 100644 (file)
@@ -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.
index 80a1230..f0a9bcc 100644 (file)
@@ -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 \