Add pie
as another relocation-model
value
This commit is contained in:
parent
497ee321af
commit
198d90786b
11 changed files with 147 additions and 8 deletions
|
@ -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!();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue