Make debug output and linking properly pic/pie. Remove non-pic relocation from linker

This commit is contained in:
Brendan Hansknecht 2021-08-27 23:21:48 -07:00
parent 7d34c88e64
commit 379904fcc5
3 changed files with 2 additions and 5 deletions

View file

@ -403,6 +403,7 @@ fn link_linux(
"--eh-frame-hdr",
"-arch",
arch_str(target),
"-pie",
libcrt_path.join("crti.o").to_str().unwrap(),
libcrt_path.join("crtn.o").to_str().unwrap(),
])