1
1
mirror of https://github.com/rui314/mold.git synced 2024-11-13 09:39:13 +03:00

Ignore -warn-once

This is needed by Gentoo's dev-embedded/gputils-1.5.0 package.
This commit is contained in:
Rui Ueyama 2021-06-21 09:44:08 +09:00
parent f127281d05
commit 04dcfe2ae3
2 changed files with 2 additions and 0 deletions

View File

@ -753,6 +753,7 @@ void parse_nonpositional_args(Context<E> &ctx,
} else if (read_flag(args, "no-undefined-version")) {
} else if (read_arg(ctx, args, arg, "sort-section")) {
} else if (read_flag(args, "sort-common")) {
} else if (read_flag(args, "warn-once")) {
} else if (read_flag(args, "nodefaultlibs")) {
} else if (read_arg(ctx, args, arg, "rpath-link")) {
} else if (read_arg(ctx, args, arg, "version-script")) {

View File

@ -666,6 +666,7 @@ Mark object to interpose all DSOs but executable
.IP "\fB\-\-sort\-common\fR"
.IP "\fB\-\-sort\-section\fR"
.IP "\fB\-\-start\-group\fR"
.IP "\fB\-\-warn\-once\fR"
.PD
Ignored