summaryrefslogtreecommitdiff
path: root/gnu/usr.bin
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2023-01-09 18:58:14 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2023-01-09 18:58:14 +0000
commitcd6e40a783971cbc8ea972d9fd21e24e7d1627e0 (patch)
tree30fa0d98593a320e26cc9fae9723106efd27f37b /gnu/usr.bin
parentc9acc7ceee3a01f0bc8e0f097cbe695b0e07efb3 (diff)
Generate the "combreloc" scripts for the new linker script template as well.
ok deraadt@
Diffstat (limited to 'gnu/usr.bin')
-rwxr-xr-xgnu/usr.bin/binutils-2.17/ld/genscripts.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/usr.bin/binutils-2.17/ld/genscripts.sh b/gnu/usr.bin/binutils-2.17/ld/genscripts.sh
index 6c49e4ca53f..5c9ca762b77 100755
--- a/gnu/usr.bin/binutils-2.17/ld/genscripts.sh
+++ b/gnu/usr.bin/binutils-2.17/ld/genscripts.sh
@@ -212,7 +212,7 @@ fi
# $SCRIPT_NAME is "elf" and $GENERATE_SHLIB_SCRIPT is set by the emulation
# parameters too.
-if [ "x$SCRIPT_NAME" = "xelf" ]; then
+if [ "x$SCRIPT_NAME" = "xelf" ] || [ "x$SCRIPT_NAME" = "xelf_obsd" ]; then
GENERATE_COMBRELOC_SCRIPT=yes
fi