mirror of
https://github.com/rui314/mold.git
synced 2024-09-22 10:27:48 +03:00
temporary
This commit is contained in:
parent
008783851a
commit
e9f334b60b
4
main.cc
4
main.cc
@ -642,6 +642,7 @@ int main(int argc, char **argv) {
|
||||
error("-o option is missing");
|
||||
|
||||
config.print_map = args.hasArg(OPT_print_map);
|
||||
config.is_static = args.hasArg(OPT_static);
|
||||
|
||||
std::vector<ObjectFile *> files;
|
||||
|
||||
@ -734,7 +735,8 @@ int main(int argc, char **argv) {
|
||||
out::ehdr = new OutputEhdr;
|
||||
out::phdr = new OutputPhdr;
|
||||
out::shdr = new OutputShdr;
|
||||
// out::interp = new InterpSection;
|
||||
if (!config.is_static)
|
||||
out::interp = new InterpSection;
|
||||
out::got = new GotSection(".got");
|
||||
out::gotplt = new GotSection(".got.plt");
|
||||
out::plt = new PltSection;
|
||||
|
Loading…
Reference in New Issue
Block a user