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); |