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

Unified Diff: src/untrusted/nacl/nacl_irt.c

Issue 10826171: Incorporate shimming into the irt (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client/
Patch Set: Created 8 years, 4 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
« src/untrusted/irt/irt_ppapi.c ('K') | « src/untrusted/irt/shim_dummy.c ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/untrusted/nacl/nacl_irt.c
===================================================================
--- src/untrusted/nacl/nacl_irt.c (revision 9381)
+++ src/untrusted/nacl/nacl_irt.c (working copy)
@@ -97,6 +97,12 @@
void __libnacl_irt_init(Elf32_auxv_t *auxv) {
grok_auxv(auxv);
+/* @IGNORE_LINES_FOR_CODE_HYGIENE[1] */
+#if defined(__pnacl__)
Roland McGrath 2012/08/06 23:32:24 This does not belong here. The shim only has to do
Robert Muth (chromium) 2012/08/07 14:45:40 I think it makes sense to keep it here. It is conc
+ /* switch irt to use pnacl shim wrappers */
+ /* enable this when removing src/untrusted/pnacl_irt_shim/ */
+ /* __libnacl_mandatory_irt_query("@nacl-cc-shim-mode", NULL, 0); */
Mark Seaborn 2012/08/06 23:30:29 This is not an appropriate place to enable the shi
Robert Muth (chromium) 2012/08/07 14:45:40 Moving it elsewhere will likely be quite messy. As
+#endif
DO_QUERY(NACL_IRT_BASIC_v0_1, basic);
DO_QUERY(NACL_IRT_FDIO_v0_1, fdio);
DO_QUERY(NACL_IRT_FILENAME_v0_1, filename);
« src/untrusted/irt/irt_ppapi.c ('K') | « src/untrusted/irt/shim_dummy.c ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698