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 c486303508bb6cb50ef4e51ea094fd6d10c4aced..036c057bfd6a8c9acc8536b18c44818400d7e242 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 80a1230e9d594c679b74b8b9ed096dffde230a93..f0a9bcc3f144457ce3e82103e162d1f224bb2c7a 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 \