Skip to content

Commit

Permalink
[ELF] Add a description for --defsym to the man page
Browse files Browse the repository at this point in the history
  • Loading branch information
rui314 committed Dec 30, 2021
1 parent 35ca107 commit f6e8006
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docs/mold.1
Original file line number Diff line number Diff line change
Expand Up @@ -396,6 +396,13 @@ Set \fIdir\fR to root directory.
Compress DWARF debug info (\fB.debug_*\fR sections) using the zlib
compression algorithm.

.IP "\fB\-\-defsym\\fR=\fIsymbol\fR=\fIvalue\fR"

Define \fIsymbol\fR as an alias for \fIvalue\fR. \fIvalue\fR is either
an integer (in decimal or hexadecimal with 0x prefix) or a symbol name.
If an integer is given as a value, \fIsymbol\fR is defined as an absolute
symbol with the given value.

.IP "\fB\-\-demangle\fR"
.PD 0
.IP "\fB\-\-no\-demangle\fR"
Expand Down

0 comments on commit f6e8006

Please sign in to comment.