[lld] 7f0acc4 - [docs] ld.lld.1: Mention -z nostart-stop-gc

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Fri May 21 19:58:00 PDT 2021


Author: Fangrui Song
Date: 2021-05-21T19:57:51-07:00
New Revision: 7f0acc4e4f97a359f00da67f62f94d1232a0a45c

URL: https://github.com/llvm/llvm-project/commit/7f0acc4e4f97a359f00da67f62f94d1232a0a45c
DIFF: https://github.com/llvm/llvm-project/commit/7f0acc4e4f97a359f00da67f62f94d1232a0a45c.diff

LOG: [docs] ld.lld.1: Mention -z nostart-stop-gc

Added: 
    

Modified: 
    lld/docs/ld.lld.1

Removed: 
    


################################################################################
diff  --git a/lld/docs/ld.lld.1 b/lld/docs/ld.lld.1
index b338832172b3e..ba3b0779e6991 100644
--- a/lld/docs/ld.lld.1
+++ b/lld/docs/ld.lld.1
@@ -815,7 +815,11 @@ The stack size is recorded as the size of the
 program segment.
 .Pp
 .It Cm start-stop-gc
-Don't let __start_/__stop_ references retain non-SHF_LINK_ORDER non-SHF_GROUP C identifier name sections.
+Don't let __start_/__stop_ references retain the associated C identifier name sections (default).
+.Pp
+.It Cm nostart-stop-gc
+Let __start_/__stop_ references retain the associated C identifier name sections.
+.Pp
 .It Cm text
 Do not allow relocations against read-only segments.
 This is the default.


        


More information about the llvm-commits mailing list