Added support for NaCl IO to use the IRT Extension API.
In order to better integrate the IRT Extension API into NaCl IO, the
first implementation mirrors the other kernel_wrap_* files. All the
unit tests should therefore still be valid. Eventually it may be
easier to just have a separate version of kernel_intercept which
utilizes the IRT extension API directly.
Currently the IRT Extension interface is only supported within newlib,
so I have enabled it for newlib only.
BUG=
https://code.google.com/p/nativeclient/issues/detail?id=3918
TEST= trybots
Committed:
https://crrev.com/3183230ac54a9b443f6e67a64121a0c3ee734e6b
Cr-Commit-Position: refs/heads/master@{#299938}