Merge "riscv64: stop explicitly disabling emutls." into main am: 198583ed20

Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2855429

Change-Id: I39a7c1c8db0eb4bfb9886feb1deb8da44a2eee45
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Elliott Hughes 2023-12-01 21:25:13 +00:00 committed by Automerger Merge Worker
commit 7114430368

View file

@ -25,7 +25,6 @@ var (
riscv64Cflags = []string{ riscv64Cflags = []string{
// Help catch common 32/64-bit errors. // Help catch common 32/64-bit errors.
"-Werror=implicit-function-declaration", "-Werror=implicit-function-declaration",
"-fno-emulated-tls",
"-march=rv64gcv_zba_zbb_zbs", "-march=rv64gcv_zba_zbb_zbs",
// Equivalent to "-munaligned-access", but our clang doesn't have that yet. // Equivalent to "-munaligned-access", but our clang doesn't have that yet.
"-Xclang -target-feature -Xclang +unaligned-scalar-mem", "-Xclang -target-feature -Xclang +unaligned-scalar-mem",
@ -44,7 +43,6 @@ var (
riscv64Lldflags = append(riscv64Ldflags, riscv64Lldflags = append(riscv64Ldflags,
"-Wl,-z,max-page-size=4096", "-Wl,-z,max-page-size=4096",
"-Wl,-plugin-opt,-emulated-tls=0",
) )
riscv64Cppflags = []string{} riscv64Cppflags = []string{}