aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2015-04-24 17:05:13 -0400
committerDJ Delorie <dj@redhat.com>2015-04-24 17:05:52 -0400
commit08e2f2bbb4a4db51ad8476af6963998c9f6350e7 (patch)
treee48f8974631c03529b745b9b1a25a6d97d7debd7
parentfaade85139b04a1de96fb78aab6ad5c25b826d01 (diff)
downloadgdb-08e2f2bbb4a4db51ad8476af6963998c9f6350e7.zip
gdb-08e2f2bbb4a4db51ad8476af6963998c9f6350e7.tar.gz
gdb-08e2f2bbb4a4db51ad8476af6963998c9f6350e7.tar.bz2
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.
-rw-r--r--ld/ChangeLog10
-rw-r--r--ld/Makefile.am6
-rw-r--r--ld/Makefile.in8
-rw-r--r--ld/configure.tgt2
-rw-r--r--ld/emulparams/msp430X.sh2
-rw-r--r--ld/emulparams/msp430elf.sh (renamed from ld/emulparams/msp430.sh)0
6 files changed, 19 insertions, 9 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index f5e25b2..ceb9029 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,13 @@
+2015-04-24 DJ Delorie <dj@redhat.com>
+
+ * 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 <hongjiu.lu@intel.com>
PR binutils/18209
diff --git a/ld/Makefile.am b/ld/Makefile.am
index 99e6fb1..15f8994 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 bc874f1..169fae1 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 4a45f14..4dd59f6 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 fea669b..4f5af48 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
index b459698..b459698 100644
--- a/ld/emulparams/msp430.sh
+++ b/ld/emulparams/msp430elf.sh