DescriptionPNaCl dynamic loading: Extend pnacl-translate to be able to translate PSOs
Add a "-pso" option to tell pnacl-translate to treat the input as a PSO
and translate it to an ELF DSO.
In principle, pnacl-translate could auto-detect the difference between a
pexe and a PSO, but that would involve opening the file to check which
symbols it defines, which might slow down pnacl-translate unnecessarily.
The minimal test for this just checks that the DSO is created
successfully. I've also tested this against the PNaCl dynamic loader
implementation that I'll add in a follow-on change.
BUG=https://code.google.com/p/nativeclient/issues/detail?id=3873
TEST=run_pnacl_dynamic_loading_test
R=dschuff@chromium.org
Committed: https://src.chromium.org/viewvc/native_client?view=rev&revision=13413
Patch Set 1 #Patch Set 2 : Retry upload #Patch Set 3 : Retry upload #Patch Set 4 : Fix #Patch Set 5 : Cleanup #
Messages
Total messages: 3 (0 generated)
|