Merge "riscv64: stop reserving x18 for shadow call stack." am: 0ee012c2c4 am: 5823afeacd
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2534260 Change-Id: I95e512a3c407ba0a9c635d85dc9fd53b15897ad3 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -26,8 +26,6 @@ var (
|
||||
// Help catch common 32/64-bit errors.
|
||||
"-Werror=implicit-function-declaration",
|
||||
"-fno-emulated-tls",
|
||||
// For -fsanitize=shadow-call-stack.
|
||||
"-ffixed-x18",
|
||||
// A temporary fix for SExtWRemoval miscompilation bug.
|
||||
"-mllvm",
|
||||
"-riscv-disable-sextw-removal=true",
|
||||
@@ -37,8 +35,6 @@ var (
|
||||
|
||||
riscv64Ldflags = []string{
|
||||
"-Wl,--hash-style=gnu",
|
||||
// For -fsanitize=shadow-call-stack.
|
||||
"-ffixed-x18",
|
||||
}
|
||||
|
||||
riscv64Lldflags = append(riscv64Ldflags,
|
||||
|
||||
Reference in New Issue
Block a user