diff options
| author | Nick Kralevich <nnk@google.com> | 2013-08-27 16:35:01 -0700 |
|---|---|---|
| committer | Nick Kralevich <nnk@google.com> | 2013-08-27 17:05:19 -0700 |
| commit | bdbdbb8319b85044ba528f673de253a97910cf77 (patch) | |
| tree | e835d32f520f7f4ad240f209c716aa542f59b0d1 /libc | |
| parent | 33dd7c116d652223b5bf3dabe49641c310d1216b (diff) | |
| download | bionic-bdbdbb8319b85044ba528f673de253a97910cf77.zip bionic-bdbdbb8319b85044ba528f673de253a97910cf77.tar.gz bionic-bdbdbb8319b85044ba528f673de253a97910cf77.tar.bz2 | |
Delete CAVEATS / fix spelling.
Change-Id: I0ed504271b7c2e4434d0d5f53bc10335c8cf7b5b
Diffstat (limited to 'libc')
| -rw-r--r-- | libc/CAVEATS | 26 | ||||
| -rw-r--r-- | libc/arch-arm/bionic/eabi.c | 2 |
2 files changed, 1 insertions, 27 deletions
diff --git a/libc/CAVEATS b/libc/CAVEATS deleted file mode 100644 index 72281a0..0000000 --- a/libc/CAVEATS +++ /dev/null @@ -1,26 +0,0 @@ -Bionic is a very small C library because we have decided to *not* implement various features -of the POSIX standard. we only add functions on a as-needed basis, and there are a few things -we wish we'll never put in there. - -this file is here to document explicitely what we don't want to support in Bionic: - -- C++ exceptions are not supported. on embedded systems, they lead to extremely larger and - slower code for no good reason (even when so-called zero-cost exception schemes are - implemented, they enforce very large numbers of registers spills to the stack, even - in functions that do not throw an exception themselves). - -- pthread cancellation is *not* supported. this seemingly simple "feature" is the source - of much bloat and complexity in a C library. Besides, you'd better write correct - multi-threaded code instead of relying on this stuff. - -- pthread_once() doesn't support C++ exceptions thrown from the init function, or the init - function doing a fork(). - -- locales and wide characters are not supported. we use ICU for all this i18n stuff, which - is much better than the ill-designed related C libraries functions. - -- at the moment, several user-account-related functions like getpwd are stubbed and return - the values corresponding to root. this will be fixed when we'll be able to have distinct - users on the Android filesystem. :-( - - see bionic/stubs.c for the details diff --git a/libc/arch-arm/bionic/eabi.c b/libc/arch-arm/bionic/eabi.c index 51a5b97..5511ddd 100644 --- a/libc/arch-arm/bionic/eabi.c +++ b/libc/arch-arm/bionic/eabi.c @@ -32,7 +32,7 @@ extern int __cxa_atexit(void (*)(void*), void*, void* ); /* The "C++ ABI for ARM" document states that static C++ constructors, * which are called from the .init_array, should manually call - * __aeabi_atexit() to register static destructors explicitely. + * __aeabi_atexit() to register static destructors explicitly. * * Note that 'dso_handle' is the address of a magic linker-generate * variable from the shared object that contains the constructor/destructor |
