Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0ee012c2 authored by Elliott Hughes's avatar Elliott Hughes Committed by Gerrit Code Review
Browse files

Merge "riscv64: stop reserving x18 for shadow call stack."

parents 67237c82 2aff6c11
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -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,