1
1
mirror of https://github.com/rui314/mold.git synced 2024-12-26 09:51:53 +03:00

Ignore --warn-constructors

This is needed by Gentoo's sys-apps/memtest86-4.3.7-r2 package.
This commit is contained in:
Rui Ueyama 2021-06-24 19:54:43 +09:00
parent 00c907158c
commit 4787363651
2 changed files with 2 additions and 0 deletions

View File

@ -758,6 +758,7 @@ void parse_nonpositional_args(Context<E> &ctx,
} else if (read_flag(args, "sort-common")) {
} else if (read_flag(args, "warn-once")) {
} else if (read_flag(args, "nodefaultlibs")) {
} else if (read_flag(args, "warn-constructors")) {
} else if (read_arg(ctx, args, arg, "rpath-link")) {
} else if (read_z_flag(args, "combreloc")) {
} else if (read_z_flag(args, "nocombreloc")) {

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\-constructors\fR"
.IP "\fB\-\-warn\-once\fR"
.IP "\fB\-z combreloc\fR"
.IP "\fB\-z nocombreloc\fR"