From b5a6538b07a83aac9fd1fe8c0b08ec1133b41ce3 Mon Sep 17 00:00:00 2001 From: George Rimar Date: Tue, 25 Sep 2018 09:32:31 +0000 Subject: [PATCH] [ELF] - Add -z global option to manual. This was requested during review of D49374, but for some unknown reason was not in the final commit. llvm-svn: 342954 --- lld/docs/ld.lld.1 | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lld/docs/ld.lld.1 b/lld/docs/ld.lld.1 index 34fb1ec..3271cd8 100644 --- a/lld/docs/ld.lld.1 +++ b/lld/docs/ld.lld.1 @@ -442,6 +442,12 @@ Make the main stack executable. Stack permissions are recorded in the .Dv PT_GNU_STACK segment. +.It Cm global +Sets the +.Dv DF_1_GLOBAL flag in the +.Dv DYNAMIC +section. +Different loaders can decide how to handle this flag on their own. .It Cm initfirst Sets the .Dv DF_1_INITFIRST -- 2.7.4