From 4b4477b52eee60ddadd59c36ffd778bbd9ab1c07 Mon Sep 17 00:00:00 2001 From: Anthony Green Date: Wed, 18 Dec 2019 14:55:35 -0500 Subject: [PATCH] 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-*-*. --- ld/ChangeLog | 6 ++++++ ld/configure.tgt | 1 - ld/emulparams/elf32moxie.sh | 3 +-- 3 files changed, 7 insertions(+), 3 deletions(-) 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" -- 2.30.2