Merge "[RISC-V] rv64gc_zbb for Android"

This commit is contained in:
Aditya Kumar
2023-03-28 05:05:05 +00:00
committed by Gerrit Code Review

View File

@@ -28,6 +28,7 @@ var (
"-fno-emulated-tls", "-fno-emulated-tls",
// For -fsanitize=shadow-call-stack. // For -fsanitize=shadow-call-stack.
"-ffixed-x18", "-ffixed-x18",
"-march=rv64gc_zbb",
} }
riscv64ArchVariantCflags = map[string][]string{} riscv64ArchVariantCflags = map[string][]string{}
@@ -36,6 +37,7 @@ var (
"-Wl,--hash-style=gnu", "-Wl,--hash-style=gnu",
// For -fsanitize=shadow-call-stack. // For -fsanitize=shadow-call-stack.
"-ffixed-x18", "-ffixed-x18",
"-march=rv64gc_zbb",
} }
riscv64Lldflags = append(riscv64Ldflags, riscv64Lldflags = append(riscv64Ldflags,