DescriptionAdd options for base dir and redirecting files to IRT open resource and use it.
These options are set by env vars: NACL_IRT_OPEN_RESOURCE_BASE and
NACL_IRT_OPEN_RESOURCE_REMAP. The redirection is used to map from
libpnacl_irt_shim.a to libpnacl_irt_shim_dummy.a.
Use these options with the PNaCl sandboxed translator, and
roll PNaCl translator ld DEPS. DEPS roll brings in:
https://codereview.chromium.org/770833002/
Also ensure that SPLIT_MODULE is always set in nativeld.py
so that the code can assume that value is valid.
Change the code so that when SPLIT_MODULE=1, the inputs
are partitioned into llc_output/linker_input files and
other linker input files, just like when SPLIT_MODULE > 1.
The consistent partitioning helps check that all native
libraries can use the same base_dir with open_resource.
BUG= https://code.google.com/p/nativeclient/issues/detail?id=3914
R=mseaborn@chromium.org
Committed: https://src.chromium.org/viewvc/native_client?view=rev&revision=14154
Patch Set 1 #Patch Set 2 : cleanup #Patch Set 3 : uncomment assert #
Total comments: 17
Patch Set 4 : simplify and add a comment #Patch Set 5 : more clarification #Patch Set 6 : one more review fix #Patch Set 7 : typo #Patch Set 8 : add deps change #Patch Set 9 : rebase #
Total comments: 8
Patch Set 10 : more review, revert some of streaming-bitcode change #Patch Set 11 : fix remap -- only compare up to the dash #Patch Set 12 : size_t? #
Total comments: 2
Messages
Total messages: 8 (1 generated)
|