aboutsummaryrefslogtreecommitdiff
path: root/lld/docs/ld.lld.1
diff options
context:
space:
mode:
Diffstat (limited to 'lld/docs/ld.lld.1')
-rw-r--r--lld/docs/ld.lld.110
1 files changed, 6 insertions, 4 deletions
diff --git a/lld/docs/ld.lld.1 b/lld/docs/ld.lld.1
index da43cf0ef7ab..b81eeb2232a2 100644
--- a/lld/docs/ld.lld.1
+++ b/lld/docs/ld.lld.1
@@ -144,8 +144,6 @@ to set the compression level to 6.
Output cross reference table. If
.Fl Map
is specified, print to the map file.
-.It Fl -define-common , Fl d
-Assign space to common symbols.
.It Fl -defsym Ns = Ns Ar symbol Ns = Ns Ar expression
Define a symbol alias.
.Ar expression
@@ -326,8 +324,6 @@ Always set
for shared libraries.
.It Fl -no-color-diagnostics
Do not use colors in diagnostics.
-.It Fl -no-define-common
-Do not assign space to common symbols.
.It Fl -no-demangle
Do not demangle symbol names.
.It Fl -no-dynamic-linker
@@ -811,6 +807,12 @@ processing.
.It Cm pac-plt
AArch64 only, use pointer authentication in PLT.
.Pp
+.It Cm pack-relative-relocs
+Similar to
+.Cm -pack-dyn-relocs=relr
+, but synthesizes the GLIBC_ABI_DT_RELR version dependency if there is a GLIBC_2.* version dependency.
+glibc ld.so rejects loading a dynamically linked object without the GLIBC_ABI_DT_RELR version dependency.
+.Pp
.It Cm rel
Use REL format for dynamic relocations.
.Pp