1
Fork 0

Add pie as another relocation-model value

This commit is contained in:
Marcel Hlopko 2021-09-10 15:11:56 +02:00
parent 497ee321af
commit 198d90786b
11 changed files with 147 additions and 8 deletions

View file

@ -211,9 +211,16 @@ impl CodegenBackend for LlvmCodegenBackend {
match req {
PrintRequest::RelocationModels => {
println!("Available relocation models:");
for name in
&["static", "pic", "dynamic-no-pic", "ropi", "rwpi", "ropi-rwpi", "default"]
{
for name in &[
"static",
"pic",
"pie",
"dynamic-no-pic",
"ropi",
"rwpi",
"ropi-rwpi",
"default",
] {
println!(" {}", name);
}
println!();