Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(19)

Unified Diff: sandbox/linux/seccomp-bpf/syscall.cc

Issue 119453002: sandbox: Remove a TEXTREL on Linux ARM. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sandbox/linux/sandbox_linux.gypi ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sandbox/linux/seccomp-bpf/syscall.cc
diff --git a/sandbox/linux/seccomp-bpf/syscall.cc b/sandbox/linux/seccomp-bpf/syscall.cc
index acf207dc14c4511f91939d9077981f01732b70fd..ab125ff647e77bf72c17e7840e7449302d4541d2 100644
--- a/sandbox/linux/seccomp-bpf/syscall.cc
+++ b/sandbox/linux/seccomp-bpf/syscall.cc
@@ -143,7 +143,7 @@ namespace sandbox {
// used as a marker that BPF code inspects.
"cmp r0, #0\n"
"bge 1f\n"
- "ldr r0, =2f\n"
+ "adr r0, 2f\n"
"b 2f\n"
// We declared (almost) all clobbered registers to the compiler. On
// ARM there is no particular register pressure. So, we can go
« no previous file with comments | « sandbox/linux/sandbox_linux.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698