summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * 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.
* Merge "wchar.h: improve wchar_t support in Bionic" into krakenDavid 'Digit' Turner2010-06-1535-127/+1683
|\
| * wchar.h: improve wchar_t support in BionicDavid 'Digit' Turner2010-06-1535-127/+1683
| | | | | | | | Change-Id: Iffd41046fd0933c66542abf7627a1569522dfcb2
* | Merge "linker: remove libcutils dependency by re-implementing simpler ↵David 'Digit' Turner2010-06-152-4/+44
|\ \ | |/ |/| | | socket_local_client." into kraken
| * linker: remove libcutils dependency by re-implementing simpler ↵David 'Digit' Turner2010-06-102-4/+44
| | | | | | | | | | | | socket_local_client. Change-Id: I87f29fd59454d713b9ddfb13e6cf114822f52efd
* | libc: add missing truncate() declarationDavid 'Digit' Turner2010-06-112-0/+4
| | | | | | | | Change-Id: Icb3601bbc9365b75b05ff443a39192f9cd3cbfb7
* | libc: Add missing <termio.h> headerDavid 'Digit' Turner2010-06-112-0/+34
| | | | | | | | Change-Id: Id4e020ed330b3eabf09324f9b6d44d3a0f336d87
* | libc: remove cutils dependenciesDavid 'Digit' Turner2010-06-114-4/+116
|/ | | | | | | | We simply copy the stuff we need from cutils headers. A future patch will change cutils to include the private <bionic_atomic_inline.h> Change-Id: Ib6fd9a03bc9e337ce867bd606dc94c2b4438480a
* sysconf(): Fix line parser for /proc files.David 'Digit' Turner2010-06-092-1/+4
| | | | Change-Id: I2678010ee95933de19c8a8e3b2fe65ceb9b86400
* Add missing termios defns to bring on par with ARM - DO NOT MERGEBruce Beare2010-06-091-0/+17
| | | | Change-Id: I6e16e7ab117b6df07ef24f092de1511fe1e9e7b1
* DO NOT MERGE - add sincos.c to libm compilationDavid 'Digit' Turner2010-06-091-0/+1
| | | | | | For some reason, a previous backport from master didn't get this. Change-Id: I59eb96ad9de495a659808fdfb557033476c3d123
* Update libthread_db for gdb-7.0 - DO NOT MERGEDavid 'Digit' Turner2010-06-092-11/+73
| | | | Change-Id: Id02b29314109ad1bf6de3388f856af6da3f90d33
* Add sincosl() function to bionic. So that sincos optimization can - DO NOT MERGEDavid 'Digit' Turner2010-06-093-0/+55
| | | | | | be enabled. Change-Id: I672cb319689aa4fb3f1f7cd868dda76842bebae9
* Remove a gcc-4.5 compilation warning:Jing Yu2010-06-091-1/+1
| | | | | | | | | | | bionic/libc/include/../include/stdlib.h: In function 'int grantpt(int)': bionic/libc/include/../include/stdlib.h:138:23: warning: parameter '__fd' set but not used [-Wunused-but-set-parameter] By adding __attribute((unused)) to __fd, the warning is gone, and this attribute is compatible with gcc-4.4.0, gcc-4.3.1 gcc-4.2.1. There is no any side effect. Change-Id: I385f0f4da1013ffd1499e391eac9123aafe1f7a5
* Fix setjmp()/longjmp() to save FP registers on ARMv7. - DO NOT MERGEDavid 'Digit' Turner2010-06-095-125/+144
| | | | Change-Id: I3a0c2c05e295ac05ed51a531dabda668be204ca0
* Add missing sysinfo() implementation (already declared in <sys/sysinfo.h>) - ↵David 'Digit' Turner2010-06-0910-0/+83
| | | | | | DO NOT MERGE Change-Id: Iac4eb5911ffe4a7ab72b84df44e907685ac816af
* Use private futexes for semaphores, unless they are initialized with pshared ↵David 'Digit' Turner2010-06-084-56/+147
| | | | | | | != 0. Change-Id: I534e36a7171cd37037ae03b910ba71ea6968286d Note: previously, sem_init() would return an error if pshared != 0.
* resolved conflicts for merge of 7b6e6fa5 to krakenJean-Baptiste Queru2010-06-032-0/+56
|\ | | | | | | Change-Id: I2b9b80a7fa32c56be2b85ff8be0d6e7ac1848afe
| * merge from open-source masterThe Android Open Source Project2010-06-032-0/+56
| |\ | | | | | | | | | Change-Id: Ib7fc9c6f79f9b13e2175da137005d8968ea85eaf
| | * Merge "pthread: introduce pthread_setname_np() as a mean to give names to ↵David Turner2010-06-033-0/+62
| | |\ | | | | | | | | | | | | threads"
| | | * pthread: introduce pthread_setname_np() as a mean to give names to threadsAndré Goddard Rosa2010-05-193-0/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ... so that each cloned process at the kernel level can be named independently. Tools like 'top' can display the CPU/memory statistics for each process's thread if "Show Threads" mode is on. With this function in place, we can convert dalvik/Thread.c setThreadName() function over this function. This feature ought to be provided by the underlying C library and not coded directly in Dalvik. Change-Id: Ifa997665dbaa114e0b126f8c667708be9a4137fd Signed-off-by: André Goddard Rosa <andre.goddard@gmail.com>
* | | | Atomic/SMP update, part 3.Andy McFadden2010-05-284-61/+109
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update ARM atomic ops to use LDREX/STREX. Stripped out #if 0 chunk. Insert explicit memory barriers in pthread and semaphore code. For bug 2721865. Change-Id: I0f153b797753a655702d8be41679273d1d5d6ae7
* | | | Atomic/SMP update.Andy McFadden2010-05-202-6/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added an underscore to _ARM_HAVE_LDREX_STREX to make it match the others. Added __ARM_HAVE_DMB and __ARM_HAVE_LDREXD when appropriate. Fixed some typos. Change-Id: I2f55febcff4aeb7de572a514fb2cd2f820dca27c
* | | | Add pthread_rwlock_t implementation to the C library (DO NOT MERGE)David 'Digit' Turner2010-05-194-1/+391
|/ / / | | | | | | | | | Change-Id: I756d8c26afc37cd7b71117ddbaa02a2cb40fdecb
* | | merge from open-source masterThe Android Open Source Project2010-05-1715-57/+56
|\ \ \ | |/ / | | | | | | Change-Id: I5804d8850f2d4fb7b5d5c53d51e153f7ced9646e
| * | improve readability of stdio: fix indentation and remove trailing spacesAndré Goddard Rosa2010-05-1715-57/+56
| |/ | | | | | | | | Change-Id: Ic51e58a7c75d20bf770dc0ebd7f97a338fbe0036 Signed-off-by: André Goddard Rosa <andre.goddard@gmail.com>
* | merge from open-source masterThe Android Open Source Project2010-05-141-0/+1
|\ \ | |/ | | | | Change-Id: I9c926a3cd680a96ece026cdec71c6e0fb0b7ad7c
| * Merge "Add declaration for sys_signame[] forgotten in change 12489"David Turner2010-05-141-0/+1
| |\
| | * Add declaration for sys_signame[] forgotten in change 12489Thorsten Glaser2010-04-051-0/+1
| | |
* | | merge from open-source masterThe Android Open Source Project2010-05-138-6/+50
|\ \ \ | |/ / | | | | | | Change-Id: I2be62bce462ee53fe9519f433523bd7a44a73d40