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

This commit is contained in:
Fangrui Song 2021-05-21 19:57:51 -07:00
parent 5d9ea36baf
commit 7f0acc4e4f
1 changed files with 5 additions and 1 deletions

View File

@ -815,7 +815,11 @@ The stack size is recorded as the size of the
program segment. program segment.
.Pp .Pp
.It Cm start-stop-gc .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 .It Cm text
Do not allow relocations against read-only segments. Do not allow relocations against read-only segments.
This is the default. This is the default.