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

Side by Side Diff: src/untrusted/irt/nacl.scons

Issue 6849008: Disable the irt_tls_test for bitcode. (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: Created 9 years, 8 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # -*- python -*- 1 # -*- python -*-
2 # Copyright (c) 2011 The Native Client Authors. All rights reserved. 2 # Copyright (c) 2011 The Native Client Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 6
7 Import('env') 7 Import('env')
8 8
9 # Since the integrated runtime will be built with newlib, 9 # Since the integrated runtime will be built with newlib,
10 # there's no need to build this module against glibc. 10 # there's no need to build this module against glibc.
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 irt_library = blob_env.ComponentProgram( 60 irt_library = blob_env.ComponentProgram(
61 'irt.nexe', files, 61 'irt.nexe', files,
62 EXTRA_LIBS=['ppruntime', 62 EXTRA_LIBS=['ppruntime',
63 'srpc', 63 'srpc',
64 'imc', 64 'imc',
65 'platform', 65 'platform',
66 'gio', 66 'gio',
67 'pthread', 67 'pthread',
68 'm']) 68 'm'])
69 69
70 if env.Bit('build_x86_32'): 70 if env.Bit('build_x86_32') and not env.Bit('bitcode'):
71 # Make sure that the linked IRT nexe never uses TLS via %gs access. 71 # Make sure that the linked IRT nexe never uses TLS via %gs access.
72 # All IRT code must avoid direct use of the TLS ABI register, which 72 # All IRT code must avoid direct use of the TLS ABI register, which
73 # is reserved for user TLS. Instead, ensure all TLS accesses use a 73 # is reserved for user TLS. Instead, ensure all TLS accesses use a
74 # call to __nacl_read_tp, which the IRT code overrides to segregate 74 # call to __nacl_read_tp, which the IRT code overrides to segregate
75 # IRT-private TLS from user TLS. 75 # IRT-private TLS from user TLS.
76 node = env.CommandTest('irt_tls_test.out', 76 node = env.CommandTest('irt_tls_test.out',
77 ['${PYTHON}', env.File('check_tls.py'), 77 ['${PYTHON}', env.File('check_tls.py'),
78 '${OBJDUMP}', irt_library]) 78 '${OBJDUMP}', irt_library])
79 env.AddNodeToTestSuite(node, ['small_tests'], 'run_irt_tls_test') 79 env.AddNodeToTestSuite(node, ['small_tests'], 'run_irt_tls_test')
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698