[ELF] - Add -z global option to manual.
authorGeorge Rimar <grimar@accesssoftek.com>
Tue, 25 Sep 2018 09:32:31 +0000 (09:32 +0000)
committerGeorge Rimar <grimar@accesssoftek.com>
Tue, 25 Sep 2018 09:32:31 +0000 (09:32 +0000)
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

index 34fb1ec..3271cd8 100644 (file)
@@ -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