From cbb54a288a91084361cd4d57c88a73540494980b Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Fri, 1 Nov 2019 13:41:50 +1030 Subject: [PATCH] Unset EMBEDDED rather than assigning as empty No real changes here, just making it that much easier to find targets that set EMBEDDED to a non-empty string. * emulparams/elf32bfinfd.sh: Unset EMBEDDED rather assigning as empty. * emulparams/elf32frvfd.sh: Likewise. * emulparams/elf32lm32fd.sh: Likewise. * emulparams/i386lynx.sh: Likewise. --- ld/ChangeLog | 7 +++++++ ld/emulparams/elf32bfinfd.sh | 3 ++- ld/emulparams/elf32frvfd.sh | 3 ++- ld/emulparams/elf32lm32fd.sh | 3 ++- ld/emulparams/i386lynx.sh | 2 +- 5 files changed, 14 insertions(+), 4 deletions(-) diff --git a/ld/ChangeLog b/ld/ChangeLog index 8f64296c079..2741f877d0a 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,10 @@ +2019-11-05 Alan Modra + + * emulparams/elf32bfinfd.sh: Unset EMBEDDED rather assigning as empty. + * emulparams/elf32frvfd.sh: Likewise. + * emulparams/elf32lm32fd.sh: Likewise. + * emulparams/i386lynx.sh: Likewise. + 2019-10-22 Alan Modra PR 22269 diff --git a/ld/emulparams/elf32bfinfd.sh b/ld/emulparams/elf32bfinfd.sh index c2a12ff7a60..7af69f1e07c 100644 --- a/ld/emulparams/elf32bfinfd.sh +++ b/ld/emulparams/elf32bfinfd.sh @@ -5,7 +5,8 @@ MAXPAGESIZE="CONSTANT (MAXPAGESIZE)" TEMPLATE_NAME=elf GENERATE_SHLIB_SCRIPT=yes GENERATE_PIE_SCRIPT=yes -EMBEDDED= # This gets us program headers mapped as part of the text segment. +# This gets us program headers mapped as part of the text segment. +unset EMBEDDED OTHER_GOT_SYMBOLS= OTHER_READONLY_SECTIONS=" .rofixup : { diff --git a/ld/emulparams/elf32frvfd.sh b/ld/emulparams/elf32frvfd.sh index 420dea471f3..dde60d62c42 100644 --- a/ld/emulparams/elf32frvfd.sh +++ b/ld/emulparams/elf32frvfd.sh @@ -6,7 +6,8 @@ TEMPLATE_NAME=elf unset EXTRA_EM_FILE GENERATE_SHLIB_SCRIPT=yes GENERATE_PIE_SCRIPT=yes -EMBEDDED= # This gets us program headers mapped as part of the text segment. +# This gets us program headers mapped as part of the text segment. +unset EMBEDDED OTHER_GOT_SYMBOLS= OTHER_READONLY_SECTIONS=" .rofixup : { diff --git a/ld/emulparams/elf32lm32fd.sh b/ld/emulparams/elf32lm32fd.sh index 0be3378df38..1204cc97cdd 100644 --- a/ld/emulparams/elf32lm32fd.sh +++ b/ld/emulparams/elf32lm32fd.sh @@ -6,7 +6,8 @@ MAXPAGESIZE="CONSTANT (MAXPAGESIZE)" TEMPLATE_NAME=elf GENERATE_SHLIB_SCRIPT=yes GENERATE_PIE_SCRIPT=yes -EMBEDDED= # This gets us program headers mapped as part of the text segment. +# This gets us program headers mapped as part of the text segment. +unset EMBEDDED OTHER_GOT_SYMBOLS= OTHER_READONLY_SECTIONS=" .rofixup : { diff --git a/ld/emulparams/i386lynx.sh b/ld/emulparams/i386lynx.sh index 59e99d9a4b0..e556df60913 100644 --- a/ld/emulparams/i386lynx.sh +++ b/ld/emulparams/i386lynx.sh @@ -18,4 +18,4 @@ GENERATE_SHLIB_SCRIPT=yes ELF_INTERPRETER_NAME=\"/usr/lib/ld.so.1\" # Leave room of SIZEOF_HEADERS before text. -EMBEDDED= +unset EMBEDDED -- 2.30.2