diff options
author | Pascal Stumpf <pascal@cvs.openbsd.org> | 2023-07-07 17:23:04 +0000 |
---|---|---|
committer | Pascal Stumpf <pascal@cvs.openbsd.org> | 2023-07-07 17:23:04 +0000 |
commit | 7bcf44ad2a061ed0610d2d21aba70b19fc8e1ef1 (patch) | |
tree | 67e4f7e1b1fc8b2c5e992ccdad7d8cefc362a7d6 /gnu/usr.bin/binutils-2.17 | |
parent | 879d58079635062f1ba14469138157caa4869e61 (diff) |
Missing bit to make ld.bfd actually emit PT_OPENBSD_NOBTCFI.
ok deraadt@
Diffstat (limited to 'gnu/usr.bin/binutils-2.17')
-rw-r--r-- | gnu/usr.bin/binutils-2.17/bfd/elflink.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; |