Generate the "combreloc" scripts for the new linker script template as well.
authorkettenis <kettenis@openbsd.org>
Mon, 9 Jan 2023 18:58:13 +0000 (18:58 +0000)
committerkettenis <kettenis@openbsd.org>
Mon, 9 Jan 2023 18:58:13 +0000 (18:58 +0000)
ok deraadt@

gnu/usr.bin/binutils-2.17/ld/genscripts.sh

index 6c49e4c..5c9ca76 100755 (executable)
@@ -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