From: pascal Date: Fri, 7 Jul 2023 17:23:03 +0000 (+0000) Subject: Missing bit to make ld.bfd actually emit PT_OPENBSD_NOBTCFI. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=7cc743a934b9f3eb1c2df179a4df288a46aafd17;p=openbsd Missing bit to make ld.bfd actually emit PT_OPENBSD_NOBTCFI. ok deraadt@ --- diff --git a/gnu/usr.bin/binutils-2.17/bfd/elflink.c b/gnu/usr.bin/binutils-2.17/bfd/elflink.c index d6fe664949f..afb40ba276b 100644 --- a/gnu/usr.bin/binutils-2.17/bfd/elflink.c +++ b/gnu/usr.bin/binutils-2.17/bfd/elflink.c @@ -5111,6 +5111,7 @@ bfd_elf_size_dynamic_sections (bfd *output_bfd, elf_tdata (output_bfd)->relro = info->relro; elf_tdata (output_bfd)->wxneeded = info->wxneeded; + elf_tdata (output_bfd)->nobtcfi = info->nobtcfi; elf_tdata (output_bfd)->executable = info->executable; if (info->execstack) elf_tdata (output_bfd)->stack_flags = PF_R | PF_W | PF_X;