1
1
mirror of https://github.com/rui314/mold.git synced 2024-12-25 17:34:02 +03:00

Ignore -z {no,}combreloc

This is needed by Gentoo's sys-boot/refind-0.12.0-r1 package.
This commit is contained in:
Rui Ueyama 2021-06-24 19:23:59 +09:00
parent fd1855a67b
commit 00c907158c
2 changed files with 4 additions and 0 deletions

View File

@ -759,6 +759,8 @@ void parse_nonpositional_args(Context<E> &ctx,
} 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_z_flag(args, "combreloc")) {
} else if (read_z_flag(args, "nocombreloc")) {
} else if (read_arg(ctx, args, arg, "version-script")) {
remaining.push_back("--version-script");
remaining.push_back(arg);

View File

@ -667,6 +667,8 @@ Mark object to interpose all DSOs but executable
.IP "\fB\-\-sort\-section\fR"
.IP "\fB\-\-start\-group\fR"
.IP "\fB\-\-warn\-once\fR"
.IP "\fB\-z combreloc\fR"
.IP "\fB\-z nocombreloc\fR"
.PD
Ignored