1
1
mirror of https://github.com/rui314/mold.git synced 2024-12-27 10:23:41 +03:00
This commit is contained in:
Rui Ueyama 2021-03-16 16:50:49 +09:00
parent 3b7860d375
commit 46ee41554f
2 changed files with 3 additions and 3 deletions

View File

@ -427,4 +427,7 @@ void parse_nonpositional_args(std::span<std::string_view> args,
if (config.pic)
config.image_base = 0;
if (config.output == "")
Fatal() << "-o option is missing";
}

View File

@ -1055,9 +1055,6 @@ int main(int argc, char **argv) {
std::vector<std::string_view> file_args;
parse_nonpositional_args(arg_vector, file_args);
if (config.output == "")
Fatal() << "-o option is missing";
if (!config.preload)
if (i64 code; resume_daemon(argv, &code))
exit(code);