- 21 Mar, 2013 9 commits
-
-
Elliott Hughes authored
* commit '4453c51c': Drop unnecessary execution permission for .cpp/.c/.h
-
Elliott Hughes authored
-
Kito Cheng authored
Change-Id: I9ac2b9d8f6bdb4fab8962210c5ec8f9c3e8c0ebf
-
Elliott Hughes authored
* commit '800ad824': Provide glibc-compatible SYS_* aliases for the __NR_* constants.
-
Elliott Hughes authored
-
Elliott Hughes authored
This helps us remove another external/strace bionic hack. Change-Id: I3e82c0d2fd27e479be98f096e05b666fd16f8eb3
-
Elliott Hughes authored
* commit '6eb978c9': Expose wait4 as wait4 rather than __wait4.
-
Elliott Hughes authored
-
Elliott Hughes authored
This helps strace(1) compile with one fewer hack. Change-Id: I5296d0cfec5546709cda990abd705ad33d7c4626
-
- 20 Mar, 2013 3 commits
-
-
Christopher Ferris authored
* commit '86c31849': Create arch specific versions of strcmp.
-
Christopher Ferris authored
-
Christopher Ferris authored
This uses the new strcmp.a15.S code as the basis for new versions of strcmp.S. The cortex-a15 code is the performance optimized version of strcmp.a15.S taken with only the addition of a few pld instructions. The cortex-a9 code is the same as the cortex-a15 code except that the unaligned strcmp code was taken from the original strcmp.S. The krait code is the same as the cortex-a15 code except that one path in the unaligned strcmp code was taken from the original strcmp.S code (the 2 byte overlap case). The generic code is the original unmodified strmp.S from the bionic subdirectory. All three new versions underwent these test cases: Strings the same, all same size: - Both pointers double word aligned. - One pointer double word aligned, one pointer word aligned. - Both pointers word aligned. - One pointer double word aligned, one pointer 1 off a word alignment. - One pointer double word aligned, one pointer 2 off a word alignment. - One pointer double word aligned, one pointer 3 off a word alignment. - One pointer word aligned, one pointer 1 off a word alignment. - One pointer word aligned, one pointer 2 off a word alignment. - One pointer word aligned, one pointer 3 off a word alignment. For all cases where it made sense, the two pointers were also tested swapped. Different strings, all same size: - Single difference at double word boundary. - Single difference at word boudary. - Single difference at 1 off a word alignment. - Single difference at 2 off a word alignment. - Single difference at 3 off a word alignment. Different sized strings, strings the same until the end: - Shorter string ends on a double word boundary. - Shorter string ends on word boundary. - Shorter string ends at 1 off a word boundary. - Shorter string ends at 2 off a word boundary. - Shorter string ends at 3 off a word boundary. For all different cases, run them through the same pointer alignment cases when the strings are the same size. For all cases the two pointers were also tested swapped. Bug: 8005082 Merge from internal master. (cherry-picked from commit a9a5870d) Change-Id: I4c2b98f8a50804fb98ab67f75e9d660f1315a144
-
- 15 Mar, 2013 9 commits
-
-
Elliott Hughes authored
* commit 'adeec096': Hide various symbols that shouldn't be exposed.
-
Elliott Hughes authored
-
Elliott Hughes authored
* commit 'c1416647': Clean up internal libc logging.
-
Elliott Hughes authored
A mangled symbol in libc.so is a symbol that shouldn't be exported by libc.so. Change-Id: Id92d1e1968b3d11d111a5d9ef692adb1ac7694a1
-
Elliott Hughes authored
-
Elliott Hughes authored
We only need one logging API, and I prefer the one that does no allocation and is thus safe to use in any context. Also use O_CLOEXEC when opening the /dev/log files. Move everything logging-related into one header file. Change-Id: Ic1e3ea8e9b910dc29df351bff6c0aa4db26fbb58
-
Elliott Hughes authored
* commit 'e23ed8c6': Remove useless workaround for HTC RIL bugs.
-
Elliott Hughes authored
-
Elliott Hughes authored
HTC's RIL uses the liblog logging, not ours. Change-Id: I56f9304e833ccb329df4ee55042012d7ad5f73ed
-
- 14 Mar, 2013 9 commits
-
-
Elliott Hughes authored
* commit '4d696eb4': Fix a bug in ZoneCompactor that meant the zonetab offset was wrong.
-
Elliott Hughes authored
-
Elliott Hughes authored
Bug: 8391426 Change-Id: Ia4a8889b5a613aa96bb3fb5d89a921c913ff7626
-
Christopher Ferris authored
* commit 'd30b9f09': Remove unused arm defines.
-
Christopher Ferris authored
-
Christopher Ferris authored
The defines HAVE_32_BYTE_CACHE_LINES and ARCH_ARM_USE_NON_NEON_MEMCPY are not used by any code. The previous memcpy code that used these has been split into different architecture versions to avoid the need for them. Bug: 8005082 Merge from internal master. (cherry-picked from commit 6e1a5cf3) Change-Id: Ib18fc3f4131b21cdbd19b9dde7697ac25d066fcf
-
Elliott Hughes authored
* commit 'f861bc5c': Don't search off the end of the index for bad Olson ids.
-
Elliott Hughes authored
-
Elliott Hughes authored
In the old code, the index was a file to itself, so it made sense to read until you hit the end of the file. In the new code, the index is followed by hundreds of KiB of data, so we need to just search the index. Bug: 8368791 Change-Id: Icf5f8b5516cf3a93679fa849c9f6cd1cb100e0f1
-
- 12 Mar, 2013 10 commits
-
-
Elliott Hughes authored
* commit 'ec706c24': Use the kernel's MAX_ERRNO in the syscall stubs.
-
Elliott Hughes authored
-
Elliott Hughes authored
Bug: http://code.google.com/p/android/issues/detail?id=53104 Change-Id: Iaabf7025b153e96dc5eca231a33a32d4cb7d8116
-
Christopher Ferris authored
* commit '980508b0': Break bionic implementations into arch versions.
-
Christopher Ferris authored
-
Christopher Ferris authored
Move arch specific code for arm, mips, x86 into separate makefiles. In addition, add different arm cpu versions of memcpy/memset. Bug: 8005082 Merge from internal master (acdde8c1). Change-Id: I04f3d0715104fab618e1abf7cf8f7eec9bec79df
-
Elliott Hughes authored
* commit '94a34010': Support large errno values on ARM.
-
Elliott Hughes authored
-
Elliott Hughes authored
* commit 'f21aa3b6': Use more types than just 'unsigned' in the linker.
-
Elliott Hughes authored
Bug: http://code.google.com/p/android/issues/detail?id=53104 Change-Id: Ic6c40be2dc50f0644a3d8b09ceae59c38f2d5b53
-