Unset EMBEDDED rather than assigning as empty
Alan Modra
amodra@gmail.com
Tue Nov 5 03:32:00 GMT 2019
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.
diff --git a/ld/emulparams/elf32bfinfd.sh b/ld/emulparams/elf32bfinfd.sh
index c2a12ff7a6..7af69f1e07 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 420dea471f..dde60d62c4 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 0be3378df3..1204cc97cd 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 59e99d9a4b..e556df6091 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
--
Alan Modra
Australia Development Lab, IBM
More information about the Binutils
mailing list