From: Anthony Green Date: Wed, 18 Dec 2019 19:55:35 +0000 (-0500) Subject: 2019-12-18 Anthony Green X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4b4477b52eee60ddadd59c36ffd778bbd9ab1c07;p=binutils-gdb.git 2019-12-18 Anthony Green * emulparams/elf32moxie.sh (TEMPLATE_NAME): Switch to elf template to enable --build-id. * configure.tgt: Don't define targ_extra_ofiles for moxie-*-*. --- diff --git a/ld/ChangeLog b/ld/ChangeLog index 7c36a5dae1c..3ddc9cc9c01 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,9 @@ +2019-12-18 Anthony Green + + * 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 * pe-dll.c (pe_get32, pe_as32): Avoid signed overflow. diff --git a/ld/configure.tgt b/ld/configure.tgt index 1e90d883ef8..926733e6e27 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 cfa261dab21..5ce3819f0c2 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"