artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1178674
)
use symbolic name PF_X instead of 1, pointed out by kettenis
author
deraadt
<deraadt@openbsd.org>
Thu, 6 Jul 2023 10:01:15 +0000
(10:01 +0000)
committer
deraadt
<deraadt@openbsd.org>
Thu, 6 Jul 2023 10:01:15 +0000
(10:01 +0000)
gnu/usr.bin/binutils-2.17/bfd/elf.c
patch
|
blob
|
history
diff --git
a/gnu/usr.bin/binutils-2.17/bfd/elf.c
b/gnu/usr.bin/binutils-2.17/bfd/elf.c
index
6c1454c
..
feb9a27
100644
(file)
--- a/
gnu/usr.bin/binutils-2.17/bfd/elf.c
+++ b/
gnu/usr.bin/binutils-2.17/bfd/elf.c
@@
-3986,7
+3986,7
@@
map_sections_to_segments (bfd *abfd)
goto error_return;
m->next = NULL;
m->p_type = PT_OPENBSD_WXNEEDED;
- m->p_flags =
1
;
+ m->p_flags =
PF_X
;
m->p_flags_valid = 1;
*pm = m;
@@
-4001,7
+4001,7
@@
map_sections_to_segments (bfd *abfd)
goto error_return;
m->next = NULL;
m->p_type = PT_OPENBSD_NOBTCFI;
- m->p_flags =
1
;
+ m->p_flags =
PF_X
;
m->p_flags_valid = 1;
*pm = m;