summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Update kernel headers to CodeAuroraForum caf/android-msm-2.6.35Ajay Dudani2010-12-1730-222/+2854
| | | | Change-Id: I490e62adbe3b84ff2280f1cd88c6a3e8fed73109
* Add pn544.h clean kernel headerandroid-cts-2.3_r1android-2.3_r1android-2.3.2_r1android-2.3.1_r1Nick Pelly2010-11-011-0/+21
| | | | | | | Allows pn544 hardware reset Change-Id: I6d6d22b16c228f03a70a14a4655a41005761b5d6 Signed-off-by: Nick Pelly <npelly@google.com>
* libc: fix executable destruction support.David 'Digit' Turner2010-10-214-5/+61
| | | | | | | | | | | | | This change allows an executable to call its destructor functions (declared with __attribute__((destructor))) to be properly called when it normally exits. Note that this is different from calling the destructors of a shared library when it is unloaded with dlclose() or through program exit, which are already supported. Bug: 3106500 Change-Id: I1412ef5407f13b613fc6cb6103e0a691dbee4b1a
* libc: fix typo in waitid() declaration.David 'Digit' Turner2010-10-131-1/+1
| | | | | | The implementation file uses the correct spelling. Change-Id: I572e336f8695a9754267c8d2e0a67b1b69bacb06
* Fix the build. Oops.David 'Digit' Turner2010-10-111-0/+2
| | | | | | | (We remove the declaration for on_exit() from the C library headers, so do the same for the C++ <cstdlib>) Change-Id: I31a21d5643068cd160724908dd8156863a44d95a
* Merge "libc: tag missing functions in system headers." into gingerbreadDavid 'Digit' Turner2010-10-118-12/+34
|\
| * libc: tag missing functions in system headers.David 'Digit' Turner2010-10-098-12/+34
| | | | | | | | | | | | | | | | | | This matches recent changes in the NDK header. We enclose missing functions in #if 0 .. #endif blocks with a clear "MISSING" in comments in order to locate them later. Change-Id: I87b3a62e777897e75c9243360fb0a82bcc53d9fb
* | libc: optimize memmove() with memcpy() if possible.David 'Digit' Turner2010-10-071-1/+4
|/ | | | Change-Id: I90e578fdc82e427caee8fa4157ce3f8c6c99926d
* Revert "libc: memmove(): non-overlapping block optim."Marco Nelissen2010-09-281-5/+1
| | | | | | | | This reverts commit 80fba9a2fe4eacaabee99cf0bbead872c2792231, which caused the system to not boot anymore, aborting with: "java.lang.RuntimeException: Missing static main on com.android.server.SystemServer". Change-Id: I745e0a23c728cccf5f95a3c7642d544478a4e57e
* libc: add <sys/eventfd.h> and corresponding implementations.David 'Digit' Turner2010-09-2812-0/+162
| | | | Change-Id: Ide040884c456190226e580513099fdb8377e015b
* libc: Add missing waitid() implementation.David 'Digit' Turner2010-09-2810-14/+30
| | | | Change-Id: I312ee608dbf9249e4886a10d45d13e3cda8a9042
* libc: Add missing fdatasync() implementationDavid 'Digit' Turner2010-09-289-0/+80
| | | | Change-Id: I04bb655d77e414021e1f2a973329167ad76ca1c4
* Merge "libc: Add missing C++ guards to <pathconf.h>" into gingerbreadDavid 'Digit' Turner2010-09-281-0/+6
|\
| * libc: Add missing C++ guards to <pathconf.h>David 'Digit' Turner2010-09-271-0/+6
| | | | | | | | Change-Id: I94dad48678181d8b02431b1c1f5d507beafb5406
* | Merge "libc: memmove(): non-overlapping block optim." into gingerbreadDavid 'Digit' Turner2010-09-281-1/+5
|\ \
| * | libc: memmove(): non-overlapping block optim.David 'Digit' Turner2010-09-271-1/+5
| |/ | | | | | | Change-Id: I5652f4f97ca59d95176443fc27c737ef76258183
* | Merge "libc: add missing O_CLOEXEC from <fcntl.h>" into gingerbreadDavid 'Digit' Turner2010-09-281-0/+4
|\ \
| * | libc: add missing O_CLOEXEC from <fcntl.h>David 'Digit' Turner2010-09-271-0/+4
| |/ | | | | | | Change-Id: Ie7ad57898e67800a9fe92bb52589d67ec30e1cd9
* | Merge "libc: Add missing pipe2() declaration and implementation." into ↵David 'Digit' Turner2010-09-2810-4/+92
|\ \ | | | | | | | | | gingerbread
| * | libc: Add missing pipe2() declaration and implementation.David 'Digit' Turner2010-09-2710-4/+92
| |/ | | | | | | Change-Id: Iacb914bd6ac5adc60c5671e6fef680ede21f9b0c
* | Merge "libm: remove aliasing issue." into gingerbreadDavid 'Digit' Turner2010-09-281-1/+1
|\ \
| * | libm: remove aliasing issue.David 'Digit' Turner2010-09-271-1/+1
| |/ | | | | | | | | | | | | See http://code.google.com/p/android/issues/detail?id=6697 for details about this change. Change-Id: I516f00c6f3bc99b22be51669e4573246bdd6e33d
* | libc: remove C++ comments from public headers.David 'Digit' Turner2010-09-276-8/+6
|/ | | | Change-Id: I4af84f912062cd2ff34711c25122fb323f20c032
* Use a recursive lock for pthread_once. DO NOT MERGE.Wink Saville2010-09-221-3/+3
| | | | | | Backport change I9fc8b790 from Master to Gingerbread Change-Id: I5cf48fcd4efb7991ed82f87d9365c19655dc9b7f
* add /vendor supportBrian Swetland2010-09-191-1/+1
| | | | | | | - add /vendor/lib to front of default library search path - remove long-obsolete /lib from default library search path Change-Id: I7d33bf899be018e7cc4c213d5790bbd991023a62
* Add wmemcmp to Android.mkKenny Root2010-09-101-0/+1
| | | | Change-Id: I9dc96d72b2becdd31981b4d176a13358aef6dcb9
* Merge "Fix return value." into gingerbreadrich cannings2010-08-311-10/+1
|\
| * Fix return value.rich cannings2010-08-311-10/+1
| | | | | | | | | | | | | | | | Return a valid pointer (not NULL) when the character "c" is at the end of "src". Change-Id: Iab0b677943f2c8a9fbb255c44689f5d6dc3535d7 Example: memccpy(dest, "xzy", 'y', 3) should return dest+3 rather than null.
* | Merge "Make timezones available to the host build." into gingerbreadJesse Wilson2010-08-311-0/+12
|\ \ | |/ |/|
| * Make timezones available to the host build.Jesse Wilson2010-08-311-0/+12
| | | | | | | | Change-Id: Ib2c89ac13b03f07c6c712a544bc0d5d1c9dc57df
* | Fix __get_tls() in static C library to use kernel helpers.David 'Digit' Turner2010-08-273-15/+74
|/ | | | | | | This is needed to fix gdbserver's handling of threaded programs, among other things. Change-Id: I823387c602cef9891532da946a01db14be780ab0
* Apply https://android-git.corp.google.com/g/60855 to dalvik-dev.Brian Carlstrom2010-08-181-0/+5
| | | | | | | | | | | | | | | (We've been missing the zoneinfo.* files for the host dalvikvm. My fix for gingerbread will have to wait for someone to return from vacation, but I can commit here in advance, and I need to so that I can submit https://android-git.corp.google.com/g/60790 which -- amongst other things -- makes lack of time zone data a hard failure, rather than just silently pretending all time zones are UTC.) Bug: 2870945 git cherry-pick --no-commit 18a859aff4e1b97d644429b7ecdb366b18d5a708 Change-Id: I66647e824c5fee9b8d2c63085e2a58e5910a5544
* linker: fix overwriting the real linker error stringDima Zavin2010-08-171-1/+1
| | | | | Change-Id: Ia9165fd9aa1951b2bb81d0ac8f5bb3057aded8bd Signed-off-by: Dima Zavin <dima@android.com>
* Bulletproof leak dump against null hash entriesChristopher Tate2010-08-091-20/+29
| | | | | | | | | Previously, the malloc leak checking code would crash in qsort() if null entries existed in its bookkeeping table. This change makes the comparison function detect null entries and sort them to the end safely. Change-Id: I88244a7df1e289dd9d7992ce29606d505bd63079
* Revert "Set SA_RESTORER in sigaction()"Dima Zavin2010-07-298-50/+6
| | | | This reverts commit e4fa46e75cd0d433b5c6c064720ed7e195cba7c8.
* bionic: update processed kernel header msm_camera.hWu-cheng Li2010-07-271-0/+1
| | | | Change-Id: If66422d538d0fb0c6ae8a7399c62911635d1fd13
* Update time zone data to the new version 2010k.Eric Fischer2010-07-263-1/+1
| | | | Change-Id: If657e1783e3f96c52bfe613bad027482d8373c67
* linker: Support dlopen(NULL, ...) properly.David 'Digit' Turner2010-07-232-1/+14
| | | | Change-Id: Icba37823cb350c34848cc466d144c3a0af87c94c
* bionic: update processed kernel header msm_camera.hWu-cheng Li2010-07-191-4/+51
| | | | Change-Id: I25598b08e9cafe98a86cdb2e40481d9aedc8dcee
* add meta-files about 3rd party projectsThe Android Open Source Project2010-07-161-0/+10
| | | | Change-Id: I399d7811a07f82a6819d3973681f8b35b655dbd1
* libc: update alarm() implementation to return 0 on error.David 'Digit' Turner2010-07-082-0/+9
| | | | | | This matches the GLibc behaviour, and allows alarm(0xFFFFFFFF) to return 0. Change-Id: I419aa71b27d6bb2015d15ba6b6112bf62eadcbb8
* libc: fix fstatfs() implementation.David 'Digit' Turner2010-07-0811-14/+52
| | | | | | The syscall expects the size of the buffer as the second argument. Change-Id: I99ede2fec7fcd385ca03ff022c2cffa4297bea8d
* Add missing SMP barriers to libstdc++David 'Digit' Turner2010-07-072-7/+27
| | | | Change-Id: I20a8dcd2e3316ac60237e800c682cacc8e59e187
* libc: Fix sem_post() implementation to wake up all waiting threads.David 'Digit' Turner2010-07-023-48/+180
| | | | | | | This also allows us to optimize the case where we increment an uncontended semaphore (no need to call futex_wake() then). Change-Id: Iad48efe8551dc66dc89d3e3f18c001e5a6c1939f
* libc: add sanity checks to pthread_mutex_destroy()David 'Digit' Turner2010-06-282-3/+10
| | | | Change-Id: Iddb2204fa792fa9aca5f19838926dddbb09b74a2
* libstdc++: use extern "C++" in all our C++ system headers.David 'Digit' Turner2010-06-2511-0/+43
| | | | | | | This is needed to build an independent toolchain with g++ that doesn't think that all these headers are in C. Change-Id: Ie9a8ccfcab7780d6a4e5722777d61c2b1b312001
* Merge "Add clean headers for 7x30 video codec." into gingerbreadNick Pelly2010-06-232-0/+862
|\
| * Add clean headers for 7x30 video codec.Nick Pelly2010-06-232-0/+862
| | | | | | | | Change-Id: Id4faa5bacb03cc42377527e05c53c6392c776e7d
* | Remove compiler warnings when building Bionic.David 'Digit' Turner2010-06-2233-57/+269
|/ | | | | | | | 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
* Allow static C++ destructors to be properly called on dlclose().David 'Digit' Turner2010-06-1812-38/+186
| | | | | | | | | | | | | | | | | | | | | | | With this patch, _and_ an upcoming build/ patch, the destruction of static C++ objects contained in shared libraries will happen properly when dlclose() is called. Note that this change introduces crtbegin_so.S and crtend_so.S which are currently ignored by the build system. + move definition of __dso_handle to the right place (before that, all shared libraries used the __dso_handle global variable from the C library). Note that we keep a 'weak' __dso_handle in aeabi.c to avoid breaking the build until the next patch to build/core/combo/ appears. We will be able to remove that later. + move bionic/aeabi.c to arch-arm/bionic/ (its proper location) Change-Id: Ie771aa204e3acbdf02fd30ebd4150373a1398f39 NOTE: The NDK will need to be modified to enable this feature in the shared libraries that are generated through it.