[avr] Fix 'multiple definition of sim_{read,write}'

Message ID 20150427085603.GA1476@atmel.com
State Committed
Headers

Commit Message

Senthil Kumar Selvaraj April 27, 2015, 8:56 a.m. UTC
  Hi,

  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.

  If ok, could someone commit please? I don't have commit access.

Regards
Senthil

sim/avr/ChangeLog

2015-04-27  Senthil Kumar Selvaraj  <senthil_kumar.selvaraj@atmel.com>

	* Makefile.in (SIM_OBJS): Move interp.o
	above $(SIM_NEW_COMMON_OBJS).
  

Comments

Mike Frysinger April 27, 2015, 1:56 p.m. UTC | #1
On 27 Apr 2015 14:26, Senthil Kumar Selvaraj wrote:
>   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.
> 
>   If ok, could someone commit please? I don't have commit access.

thanks, i've pushed this now
-mike
  

Patch

diff --git sim/avr/Makefile.in sim/avr/Makefile.in
index 80a1230..f0a9bcc 100644
--- sim/avr/Makefile.in
+++ 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 \