From 605d69b6304ec46d11cb2da87ddd06d0d47a9102 Mon Sep 17 00:00:00 2001 From: kettenis Date: Mon, 9 Jan 2023 18:58:13 +0000 Subject: [PATCH] Generate the "combreloc" scripts for the new linker script template as well. ok deraadt@ --- gnu/usr.bin/binutils-2.17/ld/genscripts.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.20.1