1
1
mirror of https://github.com/rui314/mold.git synced 2024-12-26 01:44:29 +03:00

Document --{warn,error}-unresolved-symbols

This commit is contained in:
Rui Ueyama 2021-06-15 17:03:24 +09:00
parent faee02060d
commit 0280c39bc8

View File

@ -546,6 +546,15 @@ Read version script from \fIfile\fR.
.PD
Warn about common symbols
.IP "\fB\-\-warn\-unresolved\-symbols\fR"
.PD 0
.IP "\fB\-\-error\-unresolved\-symbols\fR"
.PD
Normally, the linker reports an error for unresolved symbols.
\fB\-\-warn\-unresolved\-symbols\fR option turns it into a warning.
\fB\-\-error\-unresolved\-symbols\fR option restores the default
behavior.
.IP "\fB\-\-whole\-archive\fR"
.PD 0
.IP "\fB\-\-no\-whole\-archive\fR"