From 08e2f2bbb4a4db51ad8476af6963998c9f6350e7 Mon Sep 17 00:00:00 2001 From: DJ Delorie Date: Fri, 24 Apr 2015 17:05:13 -0400 Subject: [PATCH] Change msp430 emulation to msp430elf * Makefile.am (msp430): Rename primary emulation to msp430elf. (emsp430.c): Rename to emsp430elf.c, update dependencies (emsp430X.c): Update dependencies. * Makefile.in: Likewise. * configure.tgt (msp430-*-*): Rename primary emulation to msp430elf. * emulparame/msp430.sh: Rename to msp430elf.sh. * emulparams/msp430X.sh: Update. --- ld/ChangeLog | 10 ++++++++++ ld/Makefile.am | 6 +++--- ld/Makefile.in | 8 ++++---- ld/configure.tgt | 2 +- ld/emulparams/msp430X.sh | 2 +- ld/emulparams/{msp430.sh => msp430elf.sh} | 0 6 files changed, 19 insertions(+), 9 deletions(-) rename ld/emulparams/{msp430.sh => msp430elf.sh} (100%) diff --git a/ld/ChangeLog b/ld/ChangeLog index f5e25b2136d..ceb90293f4e 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,13 @@ +2015-04-24 DJ Delorie + + * Makefile.am (msp430): Rename primary emulation to msp430elf. + (emsp430.c): Rename to emsp430elf.c, update dependencies + (emsp430X.c): Update dependencies. + * Makefile.in: Likewise. + * configure.tgt (msp430-*-*): Rename primary emulation to msp430elf. + * emulparame/msp430.sh: Rename to msp430elf.sh. + * emulparams/msp430X.sh: Update. + 2015-04-23 H.J. Lu PR binutils/18209 diff --git a/ld/Makefile.am b/ld/Makefile.am index 99e6fb197df..15f89946ac3 100644 --- a/ld/Makefile.am +++ b/ld/Makefile.am @@ -351,7 +351,7 @@ ALL_EMULATION_SOURCES = \ emcorepe.c \ emn10200.c \ emn10300.c \ - emsp430.c \ + emsp430elf.c \ emsp430X.c \ ends32elf.c \ ends32elf16m.c \ @@ -1528,10 +1528,10 @@ emn10300.c: $(srcdir)/emulparams/mn10300.sh \ $(srcdir)/emulparams/mn10200.sh \ $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} -emsp430.c: $(srcdir)/emulparams/msp430.sh \ +emsp430elf.c: $(srcdir)/emulparams/msp430elf.sh \ $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc ${GEN_DEPENDS} -emsp430X.c: $(srcdir)/emulparams/msp430.sh $(srcdir)/emulparams/msp430X.sh \ +emsp430X.c: $(srcdir)/emulparams/msp430elf.sh $(srcdir)/emulparams/msp430X.sh \ $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc ${GEN_DEPENDS} ends32elf.c: $(srcdir)/emulparams/nds32elf.sh \ diff --git a/ld/Makefile.in b/ld/Makefile.in index bc874f13343..169fae114ad 100644 --- a/ld/Makefile.in +++ b/ld/Makefile.in @@ -681,7 +681,7 @@ ALL_EMULATION_SOURCES = \ emcorepe.c \ emn10200.c \ emn10300.c \ - emsp430.c \ + emsp430elf.c \ emsp430X.c \ ends32elf.c \ ends32elf16m.c \ @@ -1357,7 +1357,7 @@ distclean-compile: @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/emn10200.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/emn10300.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/emoxiebox.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/emsp430.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/emsp430elf.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/emsp430X.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ends32belf.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ends32belf16m.Po@am__quote@ @@ -3026,10 +3026,10 @@ emn10300.c: $(srcdir)/emulparams/mn10300.sh \ $(srcdir)/emulparams/mn10200.sh \ $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} -emsp430.c: $(srcdir)/emulparams/msp430.sh \ +emsp430elf.c: $(srcdir)/emulparams/msp430elf.sh \ $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc ${GEN_DEPENDS} -emsp430X.c: $(srcdir)/emulparams/msp430.sh $(srcdir)/emulparams/msp430X.sh \ +emsp430X.c: $(srcdir)/emulparams/msp430elf.sh $(srcdir)/emulparams/msp430X.sh \ $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc ${GEN_DEPENDS} ends32elf.c: $(srcdir)/emulparams/nds32elf.sh \ diff --git a/ld/configure.tgt b/ld/configure.tgt index 4a45f14e858..4dd59f6cc3b 100644 --- a/ld/configure.tgt +++ b/ld/configure.tgt @@ -522,7 +522,7 @@ mn10300-*-*) targ_emul=mn10300 ;; mt-*elf) targ_emul=elf32mt ;; -msp430-*-*) targ_emul=msp430 +msp430-*-*) targ_emul=msp430elf targ_extra_emuls="msp430X" ;; nds32*le-*-elf*) targ_emul=nds32elf diff --git a/ld/emulparams/msp430X.sh b/ld/emulparams/msp430X.sh index fea669bca70..4f5af486c59 100644 --- a/ld/emulparams/msp430X.sh +++ b/ld/emulparams/msp430X.sh @@ -1,4 +1,4 @@ -. ${srcdir}/emulparams/msp430.sh +. ${srcdir}/emulparams/msp430elf.sh ARCH=MSP430x43 ROM_START=0x02000 diff --git a/ld/emulparams/msp430.sh b/ld/emulparams/msp430elf.sh similarity index 100% rename from ld/emulparams/msp430.sh rename to ld/emulparams/msp430elf.sh -- 2.30.2