bb46afd6c44a847efe96e30d72708fd2d0906e8c |
05-Dec-2015 |
Elliott Hughes <enh@google.com> |
Revert "Revert "Remove __sinit and __sdidinit."" This reverts commit c8bae05f3ff9f1c736f7be70fa17d02795d748bb. We were breaking init (ueventd) because we initialize system properties before we initialize stdio. The new system property implementation uses stdio to read from /property_contexts, so we end up touching stdio data structures before they've been initialized. This second attempt takes things further by removing the stdio initialization function altogether. The data structures for stdin/stdout/stderr can be statically initialized as data, and -- since we already had to give the atexit implementation a backdoor for stdio -- we can just admit that we need to clean up stdio, and that we always do so last. This patch also removes the 17 statically pre-allocated file structures, so the first fopen will now allocate a block of 10 (the usual overflow behavior). I did this just to make my life simpler, but it's not actually necessary to remove it if we want it back. Change-Id: I936b2eb5e88e4ebaf5516121872b71fc88e5609c
texit.c
|
f0a73476a1e08e9deab7c4df557582cda60b36d2 |
25-Jul-2015 |
Daniel Micay <danielmicay@gmail.com> |
name the atexit handler pages Change-Id: I1718ddee7415a673b5818bc1455b8d90f1e8f9c6
texit.c
|
9cf6fc304bbbfb26911e0b624b80d862c40b0308 |
04-Jun-2015 |
Dmitriy Ivanov <dimitry@google.com> |
Hide __atexit Bug: http://b/21640806 Change-Id: I778b35c8c7538859179e97fcf5a82db2fcd9e50f
texit.c
texit.h
|
ea295f68f1fae7c701baaa717f67296659d567ac |
21-Nov-2014 |
Dmitriy Ivanov <dimitry@google.com> |
Unregister pthread_atfork handlers on dlclose() Bug: http://b/20339788 Change-Id: I874c87faa377645fa9e0752f4fc166d81fd9ef7e
texit.c
texit.h
|
094f58fb2a57d1ed5736ae3588bf0355618f915b |
24-Apr-2015 |
Dimitry Ivanov <dimitry@google.com> |
Revert "Unregister pthread_atfork handlers on dlclose()" The visibility control in pthread_atfork.h is incorrect. It breaks 64bit libc.so by hiding pthread_atfork. This reverts commit 6df122f8528f9b9fcf7dfea14ae98b0ef66274e1. Change-Id: I21e4b344d500c6f6de0ccb7420b916c4e233dd34
texit.c
texit.h
|
6df122f8528f9b9fcf7dfea14ae98b0ef66274e1 |
21-Nov-2014 |
Dmitriy Ivanov <dimitry@google.com> |
Unregister pthread_atfork handlers on dlclose() Change-Id: I326fdf6bb06bed12743f08980b5c69d849c015b8
texit.c
texit.h
|
163ab8ba86deb991c73152e6828f270cc71dc4c5 |
16-Apr-2015 |
Dmitriy Ivanov <dimitry@google.com> |
Call __cxa_thread_finalize for the main thread. Bug: http://b/20231984 Bug: http://b/16696563 Change-Id: I71cfddd0d404d1d4a593ec8d3bca9741de8cb90f
xit.c
|
53c3c271dc9927dd280981fc23409af60f460007 |
11-Jul-2014 |
Dmitriy Ivanov <dimitry@google.com> |
Upstream atexit Change-Id: Ia454a2181b5058ed9783dc02b6b1805d0e4d2715
texit.c
texit.h
|
91570ce987ef93f9ba2fa663a5fee1bd2525a2ba |
10-Jul-2014 |
Elliott Hughes <enh@google.com> |
Slim down static binaries by avoiding stdio. It's okay for a program to choose to drag in stdio, but it's unfortunate if even the minimal "int main() { return 42; }" drags in stdio... This brings the minimal static binary on ARM down from 78KiB to 46KiB. Given that we don't have a separate -lpthread it's not obvious to me that we can shave this down any further. I'm not sure whether this is a worthwhile change for that reason. (And the fact that dynamic binaries, the usual case, are unaffected either way.) Change-Id: I02f91dcff37d14354314a30b72fed2563f431c88
texit.c
|
11f715c62ee1464065560a2b78f0c20995e17e3b |
18-Jun-2014 |
Dan Albert <danalbert@google.com> |
Hide __atexit and remove __atexit_invalid. Bug: 11156955 Change-Id: I8c72edee8ecb92b75a282384277253bae19f7455
texit.c
texit.h
|
623b0d05bd924e7fa3c155492695123c87c3a2b1 |
15-May-2014 |
Dmitriy Ivanov <dimitry@google.com> |
Register _cleanup function with atexit * Register cleanup function with atexit instead of calling it explicitly on exit() * abort() no longer calls _cleanup: Flushing stdio buffers on abort is no longer required by POSIX. * dlmalloc no longer need to reset cleanup (see above) * Upstream findfp.c makebuf.c setvbuf.cexit.c to openbsd versions. Bug: 14415367 Change-Id: I277058852485a9d3dbb13e5c232db5f9948d78ac
texit.c
|
6b56691a678420477595a531b2d2829980eb51c0 |
29-Apr-2014 |
Dmitriy Ivanov <dimitry@google.com> |
Fixes for __cxa_finalize * Ability to register atexit handler from atexit handler * Correct way to handle both forms of atexit handler Bug: https://code.google.com/p/android/issues/detail?id=66595 Bug: 4998315 Change-Id: I39529afaef97b6e1469c21389d54c0d7d175da28
texit.c
texit.h
|
58d9e280d459225aa8dc4533e883182b08215f7d |
23-Apr-2014 |
Elliott Hughes <enh@google.com> |
Switch to the upstream OpenBSD getenv/putenv/setenv implementation. This fixes all the bugs found by the new tests. Change-Id: Id5a5f9f39a0620208bafa053f871a044725b4795
etenv.c
utenv.c
etenv.c
|
f3c73901cb5ca4de2651151cf2c65b31a729466e |
18-Apr-2014 |
Elliott Hughes <enh@google.com> |
Upgrade our <ctype.h> implementation to OpenBSD head. Adding the perfunctory <ctype.h> tests showed that we'd accidentally dropped several symbols. This puts everything back in its proper place and switches us to upstream head at the same time. Change-Id: Ib527ad280c9baded81e667fa598698526d93e66f
type_.c
type_private.h
|
0e351e4011bc98cacc3e37292bfb0e86c3a3bb5b |
18-Apr-2014 |
Dan Albert <danalbert@google.com> |
Merge "Changes our ctype identifiers to match the BSDs"
|
779585fb26f6ee25833e3bf1bb86e8578a9289f7 |
16-Apr-2014 |
Dan Albert <danalbert@google.com> |
Changes our ctype identifiers to match the BSDs This is to make it possible to adopt the BSDs' implementations for a few locale APIs in libc++ rather than writing our own, nearly identical, code. Change-Id: I482acd4ece83aa4ec9eb0c7acf48f3686794bcc3
type_.c
|
4bd97cee28dd815fff54fc97560be60d566c1fa5 |
11-Apr-2014 |
Elliott Hughes <enh@google.com> |
Switch to gdtoa. This gives us a real strtold for LP64 and fixes various LP64 bugs. Bug: 13563801 Change-Id: I277858d718ee746e136b6b6308a495ba50dfa488
trtod.c
|
5363a45f2b6d4eeb054710d0886bbadea8a15273 |
08-Apr-2014 |
Elliott Hughes <enh@google.com> |
Clean up localeconv(3). The OpenBSD doesn't support C99, and the extent to which we support locales is trivial, so just do it ourselves. Change-Id: If0a06e627ecc593f7b8ea3e9389365782e49b00e
trtod.c
|
50282f72bb9be6b49212a3978faec70786e9f97f |
25-Mar-2014 |
Pavel Chupin <pavel.v.chupin@intel.com> |
Add lconv declaration and localeconv(3) lconv is taken from ndk/sources/android/support/include/locale.h and matches bsd/glibc upstream. Keep old declaration for 32-bits for compatibility. localeconv.c and deps are taken from openbsd upstream. Changed strtod.c accordingly. Change-Id: I9fcc4d15f5674d192950d80edf26f36006cd31b4 Signed-off-by: Pavel Chupin <pavel.v.chupin@intel.com>
trtod.c
|
205c7887add8b8c85434c35158138f16265beb28 |
14-Mar-2014 |
Elliott Hughes <enh@google.com> |
Clean up reentrancy cruft. The DNS copy of reentrant.h was unused, so remove it. The strtod implementation can use the upstream-netbsd reentrant.h and get a little closer to what was then upstream. (It's since been replaced by gdtoa, and we'll have to follow at some point, but for now this doesn't make anything any worse.) ANDROID_CHANGES is (now) only used in the DNS code, so push the -D down. The <locale.h> change prevents an LP32 hack from leaking into LP64. Change-Id: Idf30b98a59d7ca8f7c6cd6d07020b512057911ef
trtod.c
|
0133944b09d1c0a35041f7a41eb6bfb660144f4f |
21-Feb-2014 |
Elliott Hughes <enh@google.com> |
Clean up our OpenBSD usage. Also undo some of the mess where we have OpenBSD <stdio.h> but a mix of different BSD's implementations. In this first pass, I've only moved easy OpenBSD stuff. Change-Id: Iae67b02cde6dba9d8d06fedeb53efbfdac0a8cf6
trtoimax.c
trtol.c
trtoll.c
trtoul.c
trtoull.c
trtoumax.c
olower_.c
oupper_.c
|
652289942d0d2543af90c8af9c04d80a2edb481a |
14-Nov-2013 |
Pawit Pornkitprasan <p.pawit@gmail.com> |
bionic: call stdio cleanup on exit As of 61e699a133a4807fe878a6cb0d7190d7c96e21f8, stdio clean up functions are no longer registered in atexit and must be called manually via __cleanup. The issue this fixes is some static binaries linked against bionic cannot output properly when piped or redirected because the buffer is not flushed before closing. This is done by pulling in exit.c (and other dependencies) from netbsd. Change-Id: I193e54a6d08900f291550029fe75ce76394d9e22
xit.c
|
65ca282ecdcaa8b767256f11c7bbb7b3518d96e7 |
08-Oct-2013 |
Serban Constantinescu <serban.constantinescu@arm.com> |
AArch64: Add support for AArch64 to stdlib/strtod.c This patch adds support for AArch64 to strtod.c definitions. Change-Id: I9491c4371d921c00e73ae169877a9a71225731fb Signed-off-by: Serban Constantinescu <serban.constantinescu@arm.com>
trtod.c
|
eb847bc8666842a3cfc9c06e8458ad1abebebaf0 |
10-Oct-2013 |
Elliott Hughes <enh@google.com> |
Fix x86_64 build, clean up intermediate libraries. The x86_64 build was failing because clone.S had a call to __thread_entry which was being added to a different intermediate .a on the way to making libc.so, and the linker couldn't guarantee statically that such a relocation would be possible. ld: error: out/target/product/generic_x86_64/obj/STATIC_LIBRARIES/libc_common_intermediates/libc_common.a(clone.o): requires dynamic R_X86_64_PC32 reloc against '__thread_entry' which may overflow at runtime; recompile with -fPIC This patch addresses that by ensuring that the caller and callee end up in the same intermediate .a. While I'm here, I've tried to clean up some of the mess that led to this situation too. In particular, this removes libc/private/ from the default include path (except for the DNS code), and splits out the DNS code into its own library (since it's a weird special case of upstream NetBSD code that's diverged so heavily it's unlikely ever to get back in sync). There's more cleanup of the DNS situation possible, but this is definitely a step in the right direction, and it's more than enough to get x86_64 building cleanly. Change-Id: I00425a7245b7a2573df16cc38798187d0729e7c4
texit.c
type_private.h
xit.c
|
5e9b20f7212c23110693a4bd1f122ccac3fece80 |
13-Aug-2013 |
Elliott Hughes <enh@google.com> |
Make ctype.h a little less unhygienic. This caused trouble for stlport. Change-Id: Id40787c5a2b7a3a4e12fb557efe549778a01cbbd
type_.c
|
61e699a133a4807fe878a6cb0d7190d7c96e21f8 |
12-Jun-2013 |
Elliott Hughes <enh@google.com> |
Clean up abort. * A dlmalloc usage error shouldn't call abort(3) because we want to cause a SIGSEGV by writing the address dlmalloc didn't like to an address the kernel won't like, so that debuggerd will dump the memory around the address that upset dlmalloc. * Switch to the simpler FreeBSD/NetBSD style of registering stdio cleanup. Hopefully this will let us simplify more of the stdio implementation. * Clear the stdio cleanup handler before we abort because of a dlmalloc corruption error. This fixes the reported bug, where we'd hang inside dlmalloc because the stdio cleanup reentered dlmalloc. Bug: 9301265 Change-Id: Ief31b389455d6876e5a68f0f5429567d37277dbc
texit.c
|
0b25f633a23e575c8a1f9547d1af5dc5b0157a1c |
12-Apr-2013 |
Elliott Hughes <enh@google.com> |
Switch to current FreeBSD qsort. Change-Id: Ic46cd0b663dc5fa78c99dd38db0bfe849a25e789
sort.c
|
61ba9b526bf62a5a6ab717497d34e2f569fc0116 |
16-Feb-2013 |
Chirayu Desai <cdesai@cyanogenmod.org> |
stdlib: atexit: include <sys/cdefs.h> Change-Id: Ib9eb167710a021e0a2b5c77a06a9338cdc748e6d
texit.h
|
42b2c6a5eed5e4ef35315b8cd32d1355f12a69b6 |
07-Feb-2013 |
Elliott Hughes <enh@google.com> |
Clean up the argc/argv/envp/auxv handling. There's now only one place where we deal with this stuff, it only needs to be parsed once by the dynamic linker (rather than by each recipient), and it's now easier for us to get hold of auxv data early on. Change-Id: I6314224257c736547aac2e2a650e66f2ea53bef5
texit.h
|
ab44f52202878cdf2bf22457aeae33ec24089556 |
24-Oct-2012 |
Elliott Hughes <enh@google.com> |
More upstream NetBSD upgrades. Change-Id: Idb781d37de3b05585271d7d258ecffd5ba87d0b8
ssert.c
search.c
iv.c
div.c
ldiv.c
etjmperr.c
|
a89864a20b818621a1da10e88fda815334062f9f |
02-Oct-2012 |
Elliott Hughes <enh@google.com> |
Move non-upstream code into the libc/bionic directory. I'll need at least one more pass, because there's some upstream code lurking in libc/bionic, but this is still a step in the right direction. Change-Id: I55927315972da8327ae01c5240ed587db17e8462
toi.c
tol.c
toll.c
ocale.c
trntoimax.c
trntoumax.c
char.c
|
31a1060a5a75d4f2aa3c3a5a7b948eb512d53387 |
01-Oct-2012 |
Elliott Hughes <enh@google.com> |
Upgrade seed48 too. Missed this in 774c7f54ff375d71106283d42779b0cc5f238f87. Change-Id: Ic24fd67f003d0e2d192cfb08f96f63024ca817eb
eed48.c
|
774c7f54ff375d71106283d42779b0cc5f238f87 |
01-Oct-2012 |
Elliott Hughes <enh@google.com> |
Upgrade to the current NetBSD rand implementation. Also add basic unit tests. Change-Id: I7fc7ef61d47c1e8fdf8b8eff67a635220c3afd56
rand48.c
rand48.c
rand48.c
rand48.c
rand48.c
rand48.c
|
f3cfcd869ded41d25c1f4f4e48e7c374a64f9583 |
21-Aug-2012 |
Ard Biesheuvel <ard.biesheuvel@gmail.com> |
ARM: make CRT_LEGACY_WORKAROUND work as intended To properly support legacy ARM shared libraries, libc.so needs to export the symbols __dso_handle and atexit, even though these are now supplied by the crt startup code. This patch reshuffles the existing CRT_LEGACY_WORKAROUND conditionally compiled code slightly so it works as the original author likely intended. Change-Id: Id6c0e94dc65b7928324a5f0bad7eba6eb2f464b9 Signed-off-by: Ard Biesheuvel <ard.biesheuvel@gmail.com>
texit.c
|
2270dfa0c418ab06e89412ea7b4ffe650490bcc9 |
27-Feb-2012 |
Srinavasa Nagaraju <srinavasa.x.nagaraju@sonyericsson.com> |
fix __cxa_finalize() implementation to be thread safe. __cxa_finalize() modifies the access permissions of __atexit global variable without acquiring _ATEXIT_LOCK(). Fix it prevent any possible races. Change-Id: I11939d0ebcbf6f360c14163222d40a449d96948e
texit.c
|
52d6233296ec84eb5b58fcbf7bc9da4b96a943aa |
28-Jul-2012 |
Elliott Hughes <enh@google.com> |
Report errors to the log, not just stderr. In particular this affects assert(3) and __cxa_pure_virtual, both of which have managed to confuse people this week by apparently aborting without reason. (Because stderr goes nowhere, normally.) Bug: 6852995 Bug: 6840813 Change-Id: I7f5d17d5ddda439e217b7932096702dc013b9142
ssert.c
|
b489666086265eb756f11fd224137c7e3a03a707 |
23-Jun-2011 |
David Turner <digit@android.com> |
am 1c0a0381: Merge "Enable functional DSO object destruction" * commit '1c0a0381dfb3648ffadef9537ec9383d63d62473': Enable functional DSO object destruction
|
39640842823ba4cd42bd11514c0da39aa939519f |
20-Jun-2011 |
Bruce Beare <bruce.j.beare@intel.com> |
Enable functional DSO object destruction Unfortunately, legacy .so files for ARM don't have a correct crtbegin file. Consequently, we have to grandfather the old __dso_handle behaviour. Add some ifdefs for ARM to allow it to use the old code until we can work out a transition. Change-Id: I6a28f368267d792c94e1d985d8344023bc632f6f Author: H.J. Lu <hongjiu.lu@intel.com> Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
texit.c
|
144a5d3c86acdebeb3af53c03325a85d44b06679 |
09-Jan-2011 |
Glenn Kasten <gkasten@google.com> |
Bug 3330205 Thread safety for bignum powers of 5 Change-Id: I739a06f9037a9fb643276f61601f0f3e192581b8
trtod.c
|
0546fd7ee0803d958e9aa722ada82fb5c0064db0 |
20-Dec-2010 |
David 'Digit' Turner <digit@google.com> |
libc: remove obsolete sha1hash.c source file The source file is not part of the C library build, so the Android.mk is unaffected. In other words, this source file was never compiled. Change-Id: Idec3d5b6ec30dc9ee38296d12dc6e522997df29a
ha1hash.c
|
51ae972502b2a67f2fddf1cd4b2b46b4299fda99 |
21-Oct-2010 |
Jean-Baptiste Queru <jbq@google.com> |
am 958214aa: am 8ad63d74: Merge "stdlib: strtod: Hide internal symbol __dtoa" Merge commit '958214aa998d9378e7d70c7c08ffab4c5f9d3fde' * commit '958214aa998d9378e7d70c7c08ffab4c5f9d3fde': stdlib: strtod: Hide internal symbol __dtoa
|
958214aa998d9378e7d70c7c08ffab4c5f9d3fde |
20-Oct-2010 |
Jean-Baptiste Queru <jbq@google.com> |
am 8ad63d74: Merge "stdlib: strtod: Hide internal symbol __dtoa" Merge commit '8ad63d745d4ec1edea0bbd04fd0644983ad77bf5' into gingerbread-plus-aosp * commit '8ad63d745d4ec1edea0bbd04fd0644983ad77bf5': stdlib: strtod: Hide internal symbol __dtoa
|
cec75a765fbadc49668b0f72d885233cc95a0db7 |
14-Oct-2010 |
Jim Huang <jserv@0xlab.org> |
stdlib: strtod: Hide internal symbol __dtoa Change-Id: Iaaec7ea4d04c859fe98ad3331fd71e7d000c826b
trtod.c
|
cb43ffeb10e7276714df5ccda304e14a15430e5f |
23-Jun-2010 |
David 'Digit' Turner <digit@google.com> |
am cb0f5ed8: am 50ace4fe: Remove compiler warnings when building Bionic. Merge commit 'cb0f5ed8111d4305cf6798aefdb4f9623570c83a' * commit 'cb0f5ed8111d4305cf6798aefdb4f9623570c83a': Remove compiler warnings when building Bionic.
|
50ace4fec5e8cb5afcbc656a4556fa528adfd760 |
17-Jun-2010 |
David 'Digit' Turner <digit@google.com> |
Remove compiler warnings when building Bionic. Also add missing declarations to misc. functions. Fix clearerr() implementation (previous was broken). Handle feature test macros like _POSIX_C_SOURCE properly. Change-Id: Icdc973a6b9d550a166fc2545f727ea837fe800c4
trntoumax.c
|
70465614e14a87f547cdd1b82b0b270b87d215c1 |
16-Jun-2010 |
Kristian Monsen <kristianm@google.com> |
Just link fixes for b 2763938. Added wcsxfrm.c and wmemcmp.c to the src files in Android.mk and removed wcsxfrm from wchar.c Change-Id: Iab9b45cf78c27880d2941c360340a7af6b8964fe
char.c
|
3527fd6f0df794207215790321824b7844cc712d |
15-Jun-2010 |
David 'Digit' Turner <digit@google.com> |
wchar.h: improve wchar_t support in Bionic Change-Id: Iffd41046fd0933c66542abf7627a1569522dfcb2
char.c
|
f450fa5f991af3c0814f96265cb3b2aafdce2309 |
04-May-2010 |
The Android Open Source Project <initial-contribution@android.com> |
merge from open-source master Change-Id: If02d33af51017dbd85e91c79ac2e848eda6cf253
|
e734769276045c0cb89d4620fdd4ef35a0e6c335 |
05-Feb-2010 |
André Goddard Rosa <andre.goddard@gmail.com> |
improve readability of stdlib: fix indentation and remove trailing spaces Signed-off-by: André Goddard Rosa <andre.goddard@gmail.com> Change-Id: I7dd90a0816b5376ffc1de4499d56935e0bd574a1
ssert.c
type_.c
etenv.c
utenv.c
sort.c
eed48.c
ha1hash.c
trtod.c
trtoimax.c
trtoumax.c
char.c
|
1d168621a524e3937cd4e2a1cdec18a230b89a35 |
31-Mar-2010 |
The Android Open Source Project <initial-contribution@android.com> |
merge from open-source master Change-Id: I950e9aca87cbb0c35099b1d53cff6378bd0f26f4
|
acdb052030d6e537e51d8b42e07b2a9e71e6ee42 |
29-Mar-2010 |
André Goddard Rosa <andre.goddard@gmail.com> |
stdlib: optimize bsearch() ... by checking most probable condition first (elements do differ) Change-Id: I424eab9c32a6d9eb82b686ca04025ec8c9097035 Signed-off-by: André Goddard Rosa <andre.goddard@gmail.com>
search.c
|
8132626b71b319c71c7c4710f0c57c417badf8c0 |
04-Mar-2010 |
David 'Digit' Turner <digit@google.com> |
Fix strtod security bug. To avoid introducing NULL checks everytime a Bigint computation is performed, introduce a special value (BIGINT_INVALID) and only check for it when absolutely needed (which means when the code needs to access the Bigint's internal structure fields). Change-Id: Ie3954523b0985b6a8cb62340802d8dcf63cbf16f
trtod.c
|
278d960aae1b2f0b8a3fa0c8056ba4aded96b133 |
04-Dec-2009 |
Mathias Agopian <mathias@google.com> |
am f197147a: am ca07064c: am 5f53a182: Revert "Add qsort_r() implementation to the C library." Merge commit 'f197147a787d7415e6e0a1bad15566836c55befb' * commit 'f197147a787d7415e6e0a1bad15566836c55befb': Revert "Add qsort_r() implementation to the C library."
|
44358b9fed375e7f452b22380e100bc0b536fea2 |
04-Dec-2009 |
David 'Digit' Turner <digit@google.com> |
am be71c814: am 20b3097d: am 754c178a: Add qsort_r() implementation to the C library. Merge commit 'be71c8142d4225dd9af4742ec050f30fcbc2aa5e' * commit 'be71c8142d4225dd9af4742ec050f30fcbc2aa5e': Add qsort_r() implementation to the C library.
|
5f53a18204ec991f5a77872806eeaa185936aa8c |
04-Dec-2009 |
Mathias Agopian <mathias@google.com> |
Revert "Add qsort_r() implementation to the C library." This reverts commit 754c178ae551aedcbbfd3bfd1c1c3b710d9ad989. Turns out we don't need it afterall (needed a stable sort anyways). So, we'll make that change in the dev branch instead.
sort.c
sort_r.c
|
754c178ae551aedcbbfd3bfd1c1c3b710d9ad989 |
03-Dec-2009 |
David 'Digit' Turner <digit@google.com> |
Add qsort_r() implementation to the C library. NOTE: This replaces qsort.c with the FreeBSD version. While the patch changes the source, it should not alter the implementation that should use the exact same algorithm.
sort.c
sort_r.c
|
03c643b493d0d6e4385fe5a33d33d2cb945493d2 |
10-Nov-2009 |
Dan Bornstein <danfuzz@android.com> |
Add stdlib functions mbstowcs() and wcstombs(). As with the other wchar functions in Bionic, these are really minimally functional stubs. Change-Id: I805bc5642e7bc22d9d730cfc18f9fb4a5f164416
char.c
|
0ba91ed3ca9e7340a2c55303034c3378967e2327 |
20-May-2009 |
David 'Digit' Turner <digit@google.com> |
Fix __eabi_atexit() implementation, as well as a bug in the BSD-originated __cxa_finalize() implementation This patch uses "#if ANDROID" instead of "#if 1" in the __cxa_finalize() fix
texit.c
|
1dc9e472e19acfe6dc7f41e429236e7eef7ceda1 |
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
rand48.c
ssert.c
texit.c
texit.h
toi.c
tol.c
toll.c
search.c
type_.c
iv.c
xit.c
etenv.c
rand48.c
div.c
ldiv.c
ocale.c
rand48.c
rand48.c
rand48.c
utenv.c
sort.c
eed48.c
etenv.c
etjmperr.c
ha1hash.c
rand48.c
trntoimax.c
trntoumax.c
trtod.c
trtoimax.c
trtol.c
trtoll.c
trtoul.c
trtoull.c
trtoumax.c
olower_.c
oupper_.c
char.c
|
1767f908af327fa388b1c66883760ad851267013 |
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
rand48.c
ssert.c
texit.c
texit.h
toi.c
tol.c
toll.c
search.c
type_.c
iv.c
xit.c
etenv.c
rand48.c
div.c
ldiv.c
ocale.c
rand48.c
rand48.c
rand48.c
utenv.c
sort.c
eed48.c
etenv.c
etjmperr.c
ha1hash.c
rand48.c
trntoimax.c
trntoumax.c
trtod.c
trtoimax.c
trtol.c
trtoll.c
trtoul.c
trtoull.c
trtoumax.c
olower_.c
oupper_.c
char.c
|
d37527501c85edcb3a6a7c8a0b6297d52d434897 |
20-Jan-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //branches/cupcake/...@127101
texit.c
texit.h
xit.c
|
4e468ed2eb86a2406e14f1eca82072ee501d05fd |
18-Dec-2008 |
The Android Open Source Project <initial-contribution@android.com> |
Code drop from //branches/cupcake/...@124589
iv.c
div.c
ldiv.c
|
a27d2baa0c1a2ec70f47ea9199b1dd6762c8a349 |
21-Oct-2008 |
The Android Open Source Project <initial-contribution@android.com> |
Initial Contribution
rand48.c
ssert.c
texit.c
texit.h
toi.c
tol.c
toll.c
search.c
type_.c
xit.c
etenv.c
rand48.c
ocale.c
rand48.c
rand48.c
rand48.c
utenv.c
sort.c
eed48.c
etenv.c
etjmperr.c
ha1hash.c
rand48.c
trntoimax.c
trntoumax.c
trtod.c
trtoimax.c
trtol.c
trtoll.c
trtoul.c
trtoull.c
trtoumax.c
olower_.c
oupper_.c
char.c
|