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

Unified Diff: src/untrusted/irt/aeabi_read_tp.S

Issue 140653005: Adds tls_edit utility which patches irt_core.nexe's TLS usage. (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: gyp builds with host toolsets should not inherit target flags for arm and mips Created 6 years, 11 months 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
Index: src/untrusted/irt/aeabi_read_tp.S
diff --git a/src/untrusted/irt/aeabi_read_tp.S b/src/untrusted/irt/aeabi_read_tp.S
deleted file mode 100644
index 4150e170f6562bfd7cbfdec2f7c0e03a1ca38cc8..0000000000000000000000000000000000000000
--- a/src/untrusted/irt/aeabi_read_tp.S
+++ /dev/null
@@ -1,23 +0,0 @@
-/*
- * Copyright (c) 2011 The Native Client Authors. All rights reserved.
- * Use of this source code is governed by a BSD-style license that can be
- * found in the LICENSE file.
- */
-
-#include "native_client/src/trusted/service_runtime/nacl_config.h"
-
-/*
- * The IRT uses its own private TLS, leaving [r9, #0] for the
- * application. We must define __aeabi_read_tp to get the private one
- * instead of the standard one. The EABI requires that this function
- * preserve all registers except r0 (the return value register). A
- * normal function is permitted to clobber r1, r2, and r3 as well.
- */
-
- .globl __aeabi_read_tp
- .type __aeabi_read_tp,%function
- .p2align NACL_BLOCK_SHIFT
-__aeabi_read_tp:
- ldr r0, [r9, #4]
- bic lr, lr, #NACL_CONTROL_FLOW_MASK
- bx lr

Powered by Google App Engine
This is Rietveld 408576698