From: Mike Frysinger Date: Sun, 12 Apr 2015 09:47:39 +0000 (-0400) Subject: sim: arm/mips: fix sim_read/sim_write linkage errors X-Git-Tag: gdb-7.10-release~833 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e787f858a43c9a6b54a74cec24f954b52619433e;p=external%2Fbinutils.git sim: arm/mips: fix sim_read/sim_write linkage errors 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. --- diff --git a/sim/arm/ChangeLog b/sim/arm/ChangeLog index 88d6c7a..802e837 100644 --- a/sim/arm/ChangeLog +++ b/sim/arm/ChangeLog @@ -1,3 +1,7 @@ +2015-04-12 Mike Frysinger + + * Makefile.in (SIM_OBJS): Move wrapper.o to the start of the list. + 2015-04-06 Mike Frysinger * Makefile.in (SIM_OBJS): Delete sim-engine.o. diff --git a/sim/arm/Makefile.in b/sim/arm/Makefile.in index 00c9bdf..5c37723 100644 --- a/sim/arm/Makefile.in +++ b/sim/arm/Makefile.in @@ -20,11 +20,12 @@ 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 diff --git a/sim/mips/ChangeLog b/sim/mips/ChangeLog index 477c8c8..d6a29c1 100644 --- a/sim/mips/ChangeLog +++ b/sim/mips/ChangeLog @@ -1,3 +1,7 @@ +2015-04-12 Mike Frysinger + + * Makefile.in (SIM_OBJS): Move interp.o to the start of the list. + 2015-04-06 Mike Frysinger * Makefile.in (SIM_OBJS): Delete sim-engine.o. diff --git a/sim/mips/Makefile.in b/sim/mips/Makefile.in index 2016db3..17eeab6 100644 --- a/sim/mips/Makefile.in +++ b/sim/mips/Makefile.in @@ -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 \