Shims for lib2l and logbl.
Wrappers for clearerr, feof, ferror (which newlib implements as macros).
Edit: fix title. This one isn't ARM specific.
Edit: fix title again. This one no longer has to do with cmath.
Differential D5420
[libc++] Support Newlib as libc++'s C library [cstdio part, part 2] jroelofs on Sep 19 2014, 2:41 PM. Authored by
Details
Diff Detail Event TimelineComment Actions I looked at this again, and it seems like they should be in newlib because of C99. Should this be fixed in newlib instead? There was a thread about this on the newlib mailing list: https://sourceware.org/ml/newlib/2014/msg00349.html These two functions are mentioned later.
Comment Actions Yes, it does make sense to use that pattern, for the case of REENT_SMALL. @jfb do we lose anything by implementing these shims here, and then later pushing them into newlib? Comment Actions There may be a combination of newlib + libc++ where the functions are defined twice, once in newlib and once in libc++. That seems like a bad idea.
Comment Actions Updating the diff to reflect the parts of this that have already made it into newlib itself. Now the title is a little misleading, so renaming that at the same time. |