summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* libc: kernel: add linux/msm_q6venc.h kernel include for qsd8k h/w video encodeandroid-sdk-tools_r4android-sdk-tools_r3android-sdk-2.0_r1android-2.0_r1Dima Zavin2009-10-131-0/+109
| | | | | Change-Id: I58c6eb0d417d5a30fa245f693304a147631fd07f Signed-off-by: Dima Zavin <dima@android.com>
* update msm_camera.hIliyan Malchev2009-10-131-2/+2
| | | | Signed-off-by: Iliyan Malchev <malchev@google.com>
* libc: kernel: Update linux/msm_kgsl.h to latestDima Zavin2009-10-071-4/+47
| | | | | Change-Id: I530cea1110fc6e6ccf150e6b176e708030ce8a94 Signed-off-by: Dima Zavin <dima@android.com>
* fix [2170898] abort() doesn't print a stack tarceMathias Agopian2009-10-061-2/+0
| | | | | | | the issue here is that abort() can be called from anywhere, in particular from malloc or free. When we try to use the debug_log functions, these can end up calling into some code (like malloc/free) that called abort() in the first place and end up in an infinite recursion loop.
* Re-enable ARMv7 memcpy implementation.David 'Digit' Turner2009-10-051-15/+1
| | | | | | Do not submit this patch before the one that modifies the Android emulator to work-around a weird ARMv7 emulation issue. This is done to temporarily re-allow the -user builds needed for QA.
* Fix armv7-user builds by disabling the ARMv7-optimized memcpy.David 'Digit' Turner2009-10-021-1/+15
| | | | | | | This is required to work-around some corny bugs in ARMv7 emulation. The emulation itself is required to run the dex pre-optimization pass for -user builds.
* Merge changes I3bd27087,I0c9ec550,I3a0e5e86 into eclairAndroid (Google) Code Review2009-09-293-34/+107
|\ | | | | | | | | | | | | * changes: bionic/linker: allow resolving of symbols from library back to executable bionic/linker: change lookup() to return soinfo, not base Revert "Revert "bionic/linker: fix symbol lookup during relocations""
| * bionic/linker: allow resolving of symbols from library back to executableIliyan Malchev2009-09-291-0/+25
| | | | | | | | Signed-off-by: Iliyan Malchev <malchev@google.com>
| * bionic/linker: change lookup() to return soinfo, not baseIliyan Malchev2009-09-293-9/+9
| |
| * Revert "Revert "bionic/linker: fix symbol lookup during relocations""Iliyan Malchev2009-09-291-26/+74
| | | | | | | | This reverts commit 33acbf0719c4f3db059bc9e1f52cf554a5d0295f.
* | Merge change I2a7ad975 into eclairAndroid (Google) Code Review2009-09-292-0/+153
|\ \ | |/ |/| | | | | * changes: Fix ABI breakage in libc.so and libm.so between 1.6 and Eclair.
| * Fix ABI breakage in libc.so and libm.so between 1.6 and Eclair.David 'Digit' Turner2009-09-292-0/+153
| | | | | | | | | | For a detailed description of the problem and why this fix is needed, plrease read the comments in libgcc_compat.c
* | NEON optimized memcpy.Mathias Agopian2009-09-281-21/+153
|/ | | | | 372 MB/s for large transfers, 440 MB/s for smaller ones down to 1KB. 130 MB/s for very small transfers ( < 32 bytes ) Performance is similar with non-congruent buffers.
* Revert "bionic/linker: fix symbol lookup during relocations"Mathias Agopian2009-09-271-74/+26
| | | | This reverts commit 8d0c0334f1106d36f2fd5c1cf6d5dc75a4b88850.
* Merge change 27075 into eclairAndroid (Google) Code Review2009-09-271-26/+74
|\ | | | | | | | | * changes: bionic/linker: fix symbol lookup during relocations
| * bionic/linker: fix symbol lookup during relocationsIliyan Malchev2009-09-271-26/+74
| | | | | | | | | | | | | | | | | | When resolving relocations while loading a library, the linker used to find symbols by looking them up in the list of all linked libraries for the current process, as opposed to following just the library's DT_NEEDED entries. This can cause a problem where the symbol is picked up from the wrong library. Signed-off-by: Iliyan Malchev <malchev@google.com>
* | Remove NEON optimizations for memcpyDavid 'Digit' Turner2009-09-271-107/+0
|/
* Fix a typo that resulted in a crash in the boot sequenceDavid 'Digit' Turner2009-09-231-1/+1
|
* Merge change 26419 into eclairAndroid (Google) Code Review2009-09-232-10/+138
|\ | | | | | | | | * changes: Add pthread_mutex_lock_timeout_np
| * Add pthread_mutex_lock_timeout_npDavid 'Digit' Turner2009-09-222-10/+138
| | | | | | | | | | | | | | | | This is used to perform a mutex lock for a given amount of milliseconds before giving up. Using the _np prefix since this is absolutely not portable. Also remove a compiler warning in pthread_attr_getstackaddr
* | Fix TLS access for ARMv6 and beyond.David 'Digit' Turner2009-09-223-2/+22
|/ | | | | | | | | | For performance reasons, we don't call the kernel helper. Instead, we directly access the TLS register on ARMv6 and higher. For ARMv5TE, keep using the hard-coded address populated by the kernel on each task switch. NOTE: Since we don't call the kernel helper, this must precisely match your kernel configuration. This is controlled by setting the ARCH_ARM_HAVE_TLS_REGISTER variable to 'true' in your board configuration file.
* libc: kernel-headers: update msm_mdp.h to include premultiplied alphaDima Zavin2009-09-201-0/+1
| | | | | Change-Id: I653d638353d9246287bcf568bbffd0f5dbc64019 Signed-off-by: Dima Zavin <dima@android.com>
* Add stack unwinding directives to assembly leaf functions.Ben Cheng2009-09-154-0/+17
| | | | So that the real culprit of native crashes can surface in the stack trace.
* bionic: update processed msm_camera.hIliyan Malchev2009-09-111-3/+9
| | | | Signed-off-by: Iliyan Malchev <malchev@google.com>
* Merge change 24463 into eclairAndroid (Google) Code Review2009-09-091-12/+47
|\ | | | | | | | | * changes: Fix an infinite loop in time2sub.
| * Fix an infinite loop in time2sub.David 'Digit' Turner2009-09-091-12/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The problem is that time_t is signed, and the original code relied on the fact that (X + c < X) in case of overflow for c >= 0. Unfortunately, this condition is only guaranteed by the standard for unsigned arithmetic, and the gcc 4.4.0 optimizer did completely remove the corresponding test from the code. This resulted in a missing boundary check, and an infinite loop. The problem is solved by testing explicitely for TIME_T_MIN and TIME_T_MAX in the loop that uses this. Also fix increment_overflow and long_increment_overflow which were buggy for exactly the same reasons. Note: a similar fix is needed for system/core/libcutils
* | libc: add void to clock() function prototypeErik Gilling2009-09-091-1/+1
|/ | | | Signed-off-by: Erik Gilling <konkers@android.com>
* Merge change 22848 into eclairAndroid (Google) Code Review2009-09-021-0/+105
|\ | | | | | | | | * changes: Neon-optimized versions of memcpy.
| * Neon-optimized versions of memcpy.David 'Digit' Turner2009-09-021-0/+105
| | | | | | | | | | | | | | This optimization come from the external 0xdroid repository. Original patch can be found here: http://gitorious.org/0xdroid/bionic/commit/ebafe41c2c02f8c09a3c1d7746047083df180ac5
* | libc: kernel-headers: Add qdsp6 vdec headerDima Zavin2009-08-301-0/+212
|/ | | | | Change-Id: Ib6cd13e86cea84c1cc0901dee3e9ef05eb8279cd Signed-off-by: Dima Zavin <dima@android.com>
* bionic: add sanitized lightsensor kernel headerIliyan Malchev2009-08-201-0/+24
| | | | Signed-off-by: Iliyan Malchev <malchev@google.com>
* Update pmem/hw3d/mdp headersDima Zavin2009-08-193-26/+68
| | | | Signed-off-by: Dima Zavin <dima@android.com>
* bionic: linker: add error message if link failed due to previous errorErik Gilling2009-08-131-1/+4
| | | | Signed-off-by: Erik Gilling <konkers@android.com>
* Merge change 9642Android (Google) Code Review2009-08-081-8/+42
|\ | | | | | | | | * changes: Don't request IPv6 addresses if AI_ADDRCONFIG is specified and the system has no IPv6 connectivity.
| * Don't request IPv6 addresses if AI_ADDRCONFIG is specified and the system ↵Lorenzo Colitti2009-08-041-8/+42
| | | | | | | | has no IPv6 connectivity.
* | merge from open-source masterJean-Baptiste Queru2009-08-072-0/+88
|\ \
| * \ Merge change 10057Android Code Review2009-08-072-0/+88
| |\ \ | | | | | | | | | | | | | | | | * changes: Add mspace_merge_objects
| | * | Add mspace_merge_objectsBarry Hayes2009-06-022-0/+88
| | | |
* | | | libc: add linux/msm_kgsl.h kernel includeDima Zavin2009-08-051-0/+149
| | | | | | | | | | | | | | | | Signed-off-by: Dima Zavin <dima@android.com>
* | | | libc: kernel: let clean_header tool take path to kernel originals as argumentDima Zavin2009-08-051-1/+3
| | | | | | | | | | | | | | | | Signed-off-by: Dima Zavin <dima@android.com>
* | | | Merge change 9546Android (Google) Code Review2009-08-041-2/+2
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | * changes: Fix strftime to use localized month names.
| * | | | Fix strftime to use localized month names.Eric Fischer2009-08-031-2/+2
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | It was using the default locale (capital L) instead of the current locale (lowercase l). Bug 2030864
* | | | merge from open-source masterJean-Baptiste Queru2009-08-040-0/+0
|\ \ \ \ | |/ / / |/| / / | |/ /
| * | merge from donutJean-Baptiste Queru2009-08-032-37/+48
| |\ \
| * \ \ merge from donutJean-Baptiste Queru2009-07-2914-175/+385
| |\ \ \
* | \ \ \ am fde8642f: bionic/linker: keep track of opened libraries by basenameErik Gilling2009-07-301-2/+6
|\ \ \ \ \ | | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | Merge commit 'fde8642fc43bdd224e43e5ee9583a49a758fb03c' * commit 'fde8642fc43bdd224e43e5ee9583a49a758fb03c': bionic/linker: keep track of opened libraries by basename
| * | | | bionic/linker: keep track of opened libraries by basenameandroid-sdk-tools_r2android-sdk-1.6_r2android-sdk-1.6_r1android-sdk-1.6-docs_r1android-1.6_r2android-1.6_r1.5android-1.6_r1.4android-1.6_r1.3android-1.6_r1.2android-1.6_r1.1android-1.6_r1Erik Gilling2009-07-281-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Prior to this change, the dynamic loader kept track of opened libraries either by their base name (i.e., libfoo.so instead of /system/lib/libfoo.so) when the shared library was loaded through the DT_NEEDED tag in an ELF header, or by whatever name was passed to dlopen(). This created a number of problems, among which: 1. dlopen("libfoo.so") and dlopen("/path/to/libfoo.so") would open the same library twice; 2. dlopen("/path/to/libfoo.so") and then dlopen("libbar.so"), where libbar.so depends on libfoo.so, would open libfoo.so twice. This patch makes the dynamic loader keep track of each loaded library by basename, which resolves the above ambiguity. The patch also enforces library lookup by base name, which means that it will refuse to load another library that has the same name. Thanks for the inspiration Iliyan. Signed-off-by: Erik Gilling <konkers@android.com> Cc: Iliyan Malchev <malchev@google.com>
* | | | | am 22b5eb85: Merge change 8281 into donutAndroid (Google) Code Review2009-07-291-34/+34
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | Merge commit '22b5eb858dcbb537f2522ad920ca793348d574a2' * commit '22b5eb858dcbb537f2522ad920ca793348d574a2': linker: remove newlines from DL_ERR so that dlerror works correctly
| * | | | Merge change 8281 into donutAndroid (Google) Code Review2009-07-281-34/+34
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | * changes: linker: remove newlines from DL_ERR so that dlerror works correctly
| | * | | | linker: remove newlines from DL_ERR so that dlerror works correctlyErik Gilling2009-07-221-34/+34
| | | |/ / | | |/| | | | | | | | | | | | Signed-off-by: Erik Gilling <konkers@android.com>