diff options
Diffstat (limited to 'lld/docs/ld.lld.1')
-rw-r--r-- | lld/docs/ld.lld.1 | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/lld/docs/ld.lld.1 b/lld/docs/ld.lld.1 index d18914ca509..24c624b1cdb 100644 --- a/lld/docs/ld.lld.1 +++ b/lld/docs/ld.lld.1 @@ -254,6 +254,8 @@ Set target emulation. .It Fl -Map Ns = Ns Ar file , Fl M Ar file Print a link map to .Ar file . +.It Fl -nmagic , Fl n +Do not page align sections, link against static libraries. .It Fl -no-allow-shlib-undefined Do not allow unresolved references in shared libraries. This option is enabled by default when linking an executable. @@ -277,6 +279,10 @@ Disable garbage collection of unused sections. Disable STB_GNU_UNIQUE symbol binding. .It Fl -no-merge-exidx-entries Disable merging .ARM.exidx entries. +.It F1 -no-nmagic +Page align sections. +.It F1 -no-omagic +Do not set the text data sections to be writable, page align sections. .It Fl -no-rosegment Do not put read-only non-executable sections in their own segment. .It Fl -no-threads @@ -325,7 +331,7 @@ is .Cm binary , which produces output with no ELF header. .It Fl -omagic , Fl N -Set the text and data sections to be readable and writable. +Set the text and data sections to be readable and writable, do not page align sections, link against static libraries. .It Fl -opt-remarks-filename Ar file Write optimization remarks in YAML format to .Ar file . |