ac9eb3e1ef
LLD is a linker from the LLVM project that is a drop-in replacement for system linkers and runs much faster than them. It also provides features that are useful for toolchain developers.
18 lines
545 B
Groff
18 lines
545 B
Groff
$NetBSD: patch-docs_ld.lld.1,v 1.1 2019/02/01 16:30:00 mgorny Exp $
|
|
|
|
Add '-z nognustack' option to disable emitting PT_GNU_STACK.
|
|
https://reviews.llvm.org/D56554
|
|
|
|
--- docs/ld.lld.1.orig 2018-07-30 23:07:44.000000000 +0000
|
|
+++ docs/ld.lld.1
|
|
@@ -462,6 +462,10 @@ Set the
|
|
.Dv DF_1_NOOPEN
|
|
flag to indcate that the object may not be opened by
|
|
.Xr dlopen 3 .
|
|
+.It Cm nognustack
|
|
+Do not emit the
|
|
+.Dv PT_GNU_STACK
|
|
+segment.
|
|
.It Cm norelro
|
|
Do not indicate that portions of the object shold be mapped read-only
|
|
after initial relocation processing.
|