aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorAnthony Green <green@moxielogic.com>2019-12-18 14:55:35 -0500
committerAnthony Green <green@moxielogic.com>2019-12-18 14:55:35 -0500
commit4b4477b52eee60ddadd59c36ffd778bbd9ab1c07 (patch)
treeff6b0813a0a250adf92d5f11c7be65bcbe7798ca /ld
parent27e4fac77ea57b288ac1e08d936d9a8fdc01a1ee (diff)
downloadbinutils-4b4477b52eee60ddadd59c36ffd778bbd9ab1c07.zip
binutils-4b4477b52eee60ddadd59c36ffd778bbd9ab1c07.tar.gz
binutils-4b4477b52eee60ddadd59c36ffd778bbd9ab1c07.tar.bz2
2019-12-18 Anthony Green <green@moxielogic.com>
* emulparams/elf32moxie.sh (TEMPLATE_NAME): Switch to elf template to enable --build-id. * configure.tgt: Don't define targ_extra_ofiles for moxie-*-*.
Diffstat (limited to 'ld')
-rw-r--r--ld/ChangeLog6
-rw-r--r--ld/configure.tgt1
-rw-r--r--ld/emulparams/elf32moxie.sh3
3 files changed, 7 insertions, 3 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 7c36a5d..3ddc9cc 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,9 @@
+2019-12-18 Anthony Green <green@moxielogic.com>
+
+ * emulparams/elf32moxie.sh (TEMPLATE_NAME): Switch to elf template
+ to enable --build-id.
+ * configure.tgt: Don't define targ_extra_ofiles for moxie-*-*.
+
2019-12-18 Alan Modra <amodra@gmail.com>
* pe-dll.c (pe_get32, pe_as32): Avoid signed overflow.
diff --git a/ld/configure.tgt b/ld/configure.tgt
index 1e90d88..926733e 100644
--- a/ld/configure.tgt
+++ b/ld/configure.tgt
@@ -591,7 +591,6 @@ moxie-*-moxiebox*) targ_emul=moxiebox
targ_extra_ofiles=ldelfgen.o
;;
moxie-*-*) targ_emul=elf32moxie
- targ_extra_ofiles=ldelfgen.o
;;
msp430-*-*) targ_emul=msp430elf
targ_extra_emuls="msp430X"
diff --git a/ld/emulparams/elf32moxie.sh b/ld/emulparams/elf32moxie.sh
index cfa261d..5ce3819 100644
--- a/ld/emulparams/elf32moxie.sh
+++ b/ld/emulparams/elf32moxie.sh
@@ -1,6 +1,5 @@
SCRIPT_NAME=elf
-TEMPLATE_NAME=generic
-EXTRA_EM_FILE=genelf
+TEMPLATE_NAME=elf
OUTPUT_FORMAT="elf32-bigmoxie"
BIG_OUTPUT_FORMAT="elf32-bigmoxie"
LITTLE_OUTPUT_FORMAT="elf32-littlemoxie"