artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
025eba8
)
Build libc with executable-only .text on arm64.
author
kettenis
<kettenis@openbsd.org>
Sat, 24 Dec 2022 10:50:40 +0000
(10:50 +0000)
committer
kettenis
<kettenis@openbsd.org>
Sat, 24 Dec 2022 10:50:40 +0000
(10:50 +0000)
ok deraadt@
lib/libc/arch/aarch64/Makefile.inc
patch
|
blob
|
history
diff --git
a/lib/libc/arch/aarch64/Makefile.inc
b/lib/libc/arch/aarch64/Makefile.inc
index
320c45c
..
636d81f
100644
(file)
--- a/
lib/libc/arch/aarch64/Makefile.inc
+++ b/
lib/libc/arch/aarch64/Makefile.inc
@@
-1,8
+1,10
@@
-# $OpenBSD: Makefile.inc,v 1.
2 2019/04/01 03:53:21
kettenis Exp $
+# $OpenBSD: Makefile.inc,v 1.
3 2022/12/24 10:50:40
kettenis Exp $
# $NetBSD: Makefile.inc,v 1.5 2002/07/10 04:29:06 thorpej Exp $
.include <bsd.own.mk>
+LDADD+= -Wl,--execute-only
+
# Suppress DWARF2 warnings
DEBUG?= -gdwarf-4