artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
402c60e
)
Missing bit to make ld.bfd actually emit PT_OPENBSD_NOBTCFI.
author
pascal
<pascal@openbsd.org>
Fri, 7 Jul 2023 17:23:03 +0000
(17:23 +0000)
committer
pascal
<pascal@openbsd.org>
Fri, 7 Jul 2023 17:23:03 +0000
(17:23 +0000)
ok deraadt@
gnu/usr.bin/binutils-2.17/bfd/elflink.c
patch
|
blob
|
history
diff --git
a/gnu/usr.bin/binutils-2.17/bfd/elflink.c
b/gnu/usr.bin/binutils-2.17/bfd/elflink.c
index
d6fe664
..
afb40ba
100644
(file)
--- 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;