diff options
| author | Michał Górny <mgorny@gentoo.org> | 2019-10-21 19:27:51 +0200 |
|---|---|---|
| committer | Michał Górny <mgorny@gentoo.org> | 2019-10-29 17:54:23 +0100 |
| commit | 2a0fcae3d4d1fd85d6ae8378d7c6f12430c0087d (patch) | |
| tree | c4482ff8d3ffe253e8be8cd8f529277a91317ca9 /lld/docs | |
| parent | 6a93a12a8dd98291225a282b5b8f3c97e68ebe49 (diff) | |
| download | bcm5719-llvm-2a0fcae3d4d1fd85d6ae8378d7c6f12430c0087d.tar.gz bcm5719-llvm-2a0fcae3d4d1fd85d6ae8378d7c6f12430c0087d.zip | |
[lld] [ELF] Add '-z nognustack' opt to suppress emitting PT_GNU_STACK
Add a new '-z nognustack' option that suppresses emitting PT_GNU_STACK
segment. This segment is not supported at all on NetBSD (stack is
always non-executable), and the option is meant to be used to disable
emitting it.
Differential Revision: https://reviews.llvm.org/D56554
Diffstat (limited to 'lld/docs')
| -rw-r--r-- | lld/docs/ld.lld.1 | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lld/docs/ld.lld.1 b/lld/docs/ld.lld.1 index 1746ae9f5fd..5c558a4bcc7 100644 --- a/lld/docs/ld.lld.1 +++ b/lld/docs/ld.lld.1 @@ -655,6 +655,11 @@ Set the flag to indicate that the object may not be opened by .Xr dlopen 3 . .Pp +.It Cm nognustack +Do not emit the +.Dv PT_GNU_STACK +segment. +.Pp .It Cm norelro Do not indicate that portions of the object shold be mapped read-only after initial relocation processing. |

