Skip to content

Commit

Permalink
rust: update eliminate-frame-pointer to frame-pointer
Browse files Browse the repository at this point in the history
This option changes from boolean to three options, "always", "non-leaf"
and "may-omit" in Rust 1.55 [0].

[0]: rust-lang/rust#86652

Signed-off-by: Gary Guo <gary@garyguo.net>
  • Loading branch information
nbdd0121 committed Oct 10, 2021
1 parent 3efad10 commit d8fad7a
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion arch/arm64/rust/target.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
"arch": "aarch64",
"data-layout": "e-m:e-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128",
"disable-redzone": true,
"eliminate-frame-pointer": false,
"emit-debug-gdb-scripts": false,
"env": "gnu",
"features": "+strict-align,+neon,+fp-armv8",
"frame-pointer": "always",
"function-sections": false,
"linker-flavor": "gcc",
"linker-is-gnu": true,
Expand Down
2 changes: 1 addition & 1 deletion arch/riscv/rust/rv32ima.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
"cpu": "generic-rv32",
"data-layout": "e-m:e-p:32:32-i64:64-n32-S128",
"disable-redzone": true,
"eliminate-frame-pointer": false,
"emit-debug-gdb-scripts": false,
"env": "gnu",
"features": "+m,+a",
"frame-pointer": "always",
"function-sections": false,
"linker-flavor": "gcc",
"linker-is-gnu": true,
Expand Down
2 changes: 1 addition & 1 deletion arch/riscv/rust/rv32imac.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
"cpu": "generic-rv32",
"data-layout": "e-m:e-p:32:32-i64:64-n32-S128",
"disable-redzone": true,
"eliminate-frame-pointer": false,
"emit-debug-gdb-scripts": false,
"env": "gnu",
"features": "+m,+a,+c",
"frame-pointer": "always",
"function-sections": false,
"linker-flavor": "gcc",
"linker-is-gnu": true,
Expand Down
2 changes: 1 addition & 1 deletion arch/riscv/rust/rv64ima.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
"cpu": "generic-rv64",
"data-layout": "e-m:e-p:64:64-i64:64-i128:128-n64-S128",
"disable-redzone": true,
"eliminate-frame-pointer": false,
"emit-debug-gdb-scripts": false,
"env": "gnu",
"features": "+m,+a",
"frame-pointer": "always",
"function-sections": false,
"linker-flavor": "gcc",
"linker-is-gnu": true,
Expand Down
2 changes: 1 addition & 1 deletion arch/riscv/rust/rv64imac.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
"cpu": "generic-rv64",
"data-layout": "e-m:e-p:64:64-i64:64-i128:128-n64-S128",
"disable-redzone": true,
"eliminate-frame-pointer": false,
"emit-debug-gdb-scripts": false,
"env": "gnu",
"features": "+m,+a,+c",
"frame-pointer": "always",
"function-sections": false,
"linker-flavor": "gcc",
"linker-is-gnu": true,
Expand Down
2 changes: 1 addition & 1 deletion arch/x86/rust/target.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
"cpu": "x86-64",
"data-layout": "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128",
"disable-redzone": true,
"eliminate-frame-pointer": false,
"emit-debug-gdb-scripts": false,
"env": "gnu",
"features": "-mmx,-sse,-sse2,-sse3,-ssse3,-sse4.1,-sse4.2,-3dnow,-3dnowa,-avx,-avx2,+soft-float",
"frame-pointer": "always",
"function-sections": false,
"linker-flavor": "gcc",
"linker-is-gnu": true,
Expand Down

0 comments on commit d8fad7a

Please sign in to comment.