sim: arm/mips: fix sim_read/sim_write linkage errors
authorMike Frysinger <vapier@gentoo.org>
Sun, 12 Apr 2015 09:47:39 +0000 (05:47 -0400)
committerMike Frysinger <vapier@gentoo.org>
Sun, 12 Apr 2015 09:47:39 +0000 (05:47 -0400)
With sim-hrw.o being built & linked in the common list, some people are
getting linking errors now for these targets.  Move the main objects that
provide these functions before the common list to avoid that.

sim/arm/ChangeLog
sim/arm/Makefile.in
sim/mips/ChangeLog
sim/mips/Makefile.in

index 88d6c7a..802e837 100644 (file)
@@ -1,3 +1,7 @@
+2015-04-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_OBJS): Move wrapper.o to the start of the list.
+
 2015-04-06  Mike Frysinger  <vapier@gentoo.org>
 
        * Makefile.in (SIM_OBJS): Delete sim-engine.o.
index 00c9bdf..5c37723 100644 (file)
 SIM_EXTRA_CFLAGS = -DMODET
 
 SIM_OBJS = \
+       wrapper.o \
        $(SIM_NEW_COMMON_OBJS) \
        sim-cpu.o \
        sim-hload.o \
        armemu26.o armemu32.o arminit.o armos.o armsupp.o \
-       armvirt.o bag.o thumbemu.o wrapper.o \
+       armvirt.o bag.o thumbemu.o \
        armcopro.o maverick.o iwmmxt.o
 
 ## COMMON_POST_CONFIG_FRAG
index 477c8c8..d6a29c1 100644 (file)
@@ -1,3 +1,7 @@
+2015-04-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (SIM_OBJS): Move interp.o to the start of the list.
+
 2015-04-06  Mike Frysinger  <vapier@gentoo.org>
 
        * Makefile.in (SIM_OBJS): Delete sim-engine.o.
index 2016db3..17eeab6 100644 (file)
@@ -40,10 +40,10 @@ SIM_MULTI_OBJ = itable.o @sim_multi_obj@
 MIPS_EXTRA_LIBS = @mips_extra_libs@
 
 SIM_OBJS = \
+       interp.o \
        $(SIM_@sim_gen@_OBJ) \
        $(SIM_NEW_COMMON_OBJS) \
        cp1.o \
-       interp.o \
        mdmx.o \
        dsp.o \
        sim-main.o \