diff options
| author | 2020-04-09 09:40:50 -0400 | |
|---|---|---|
| committer | 2020-04-09 09:40:50 -0400 | |
| commit | 78e5ee0b8d79305028139c22e37c0caf0dc9e74f (patch) | |
| tree | 5e2f8872498ba7af631815841c2613f6d27a7062 | |
| parent | 0d4b9e32d0c1e3d0b8059b47d2c53170388a1e95 (diff) | |
Remove rust execute-only memory linker flag.
With kernel support being removed for execute-only memory layouts,
remove support for XOM until there's kernel support again.
Bug: 153457617
Test: Rust binaries no longer have execute-only text sections.
Change-Id: I19cfb5b347a1f44394a619e17bb0c057c09e76a9
| -rw-r--r-- | rust/config/arm64_device.go | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/rust/config/arm64_device.go b/rust/config/arm64_device.go index 60796d8d8..180fd8ba0 100644 --- a/rust/config/arm64_device.go +++ b/rust/config/arm64_device.go @@ -27,7 +27,6 @@ var ( "-Wl,--icf=safe", "-Wl,-z,max-page-size=4096", - "-Wl,--execute-only", "-Wl,-z,separate-code", } |