1
1
mirror of https://github.com/rui314/mold.git synced 2024-09-22 02:20:51 +03:00

Add strings to the --help message for autoconf

Gentoo's app-emulation/hercules package contains a configure script
that recognizes "supported targets" and "supported emulations" in
the --help message. Without them, mold is recognized as a linker that
does not support dynamic linking.
This commit is contained in:
Rui Ueyama 2021-05-25 15:43:47 +09:00
parent 712eab03d8
commit d00b65d0de

View File

@ -124,7 +124,10 @@ Options:
-z nodelete Mark DSO non-deletable at runtime
-z nocopyreloc Do not create copy relocations
-z initfirst Mark DSO to be initialized first at runtime
-z interpose Mark object to interpose all DSOs but executable)";
-z interpose Mark object to interpose all DSOs but executable)
mold: supported targets: elf32-i386 elf64-x86-64
mold: supported emulations: elf_i386 elf_x86_64)";
template <typename E>
static std::vector<std::string_view>