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

Commit c75994d6 authored by Elliott Hughes's avatar Elliott Hughes
Browse files

Disable BTI for now.

Bug: https://issuetracker.google.com/216395195
Test: readelf -aW libc.so | grep PROPERTY
Change-Id: I4d157cbe5bf5b54cb7d3c4efe8fb74d4f72af6f3
parent 844d8f52
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -33,7 +33,9 @@ var (
		},
		"armv8-a-branchprot": []string{
			"-march=armv8-a",
			"-mbranch-protection=standard",
			// Disable BTI until drm vendors stop using OS libraries as sources
			// of gadgets (https://issuetracker.google.com/216395195).
			"-mbranch-protection=pac-ret",
		},
		"armv8-2a": []string{
			"-march=armv8.2-a",