| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Change-Id: Iabda43e3c8462074a9a46c8f496eac903ea17084
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Adds new code to memcpy function, optimized for Cortex A9.
Adds new ARM-only loop, for operations where source and
destination are aligned.
Copyright (C) ST-Ericsson SA 2010
Modified neon implementation to fit Cortex A9 cache line size,
for those running 32 bytes L2 cache line size.
Also split the implementation in aligned and unaligned access,
for those that allows unaligned memory access with Neon.
For totally aligned operations, arm-only code is used.
Change-Id: I95ebf6164cd6486b12a7e3e98e369db21e7e18d2
Author: Henrik Smiding henrik.smiding@stericsson.com for ST-Ericsson.
Signed-off-by: Christian Bejram <christian.bejram@stericsson.com>
|
|
|
|
| |
Change-Id: I9c0ffae0b5aae29521b7e68e5ce2318b5a401cba
|
|
|
|
|
|
|
|
| |
Based on our open-source RE2 benchmarking code.
Includes benchmarks for a handful of <string.h> functions.
Change-Id: I30eb70d25dbf4ad5f2ca44976a8ce3b1ff7dad01
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Don't do the fortify_source checks if we can determine, at
compile time, that the provided operation is safe.
This avoids silliness like calling fortify source on things like:
size_t len = strlen("asdf");
printf("%d\n", len);
and allows the compiler to optimize this code to:
printf("%d\n", 4);
Defer to gcc's builtin functions instead of pointing our code
to the libc implementation.
Change-Id: I5e1dcb61946461c4afaaaa983e39f07c7a0df0ae
|
|
|
|
|
|
|
|
|
|
| |
e6e60065ff093ff8c859ab146cf543531cb1967c modified strerror_r to
treat errno as signed. However, the change to the test code
modified the "strerror" test, not the "strerror_r" test.
Make the same change for the strerror_r code.
Change-Id: Ia236a53df5745935e229a4446a74da8bed0cfd7b
|
|
|
|
|
|
|
|
|
|
|
| |
Add a test to ensure that stack canaries are working
correctly. Since stack canaries aren't normally generated
on non-string functions, we have to enable stack-protector-all.
Add a test to ensure that an out of bounds strcpy generates
a runtime failure.
Change-Id: Id0d3e59fc4b9602da019e4d35c5c653e1a57fae4
|
|
|
|
|
|
|
| |
And the only reason I hadn't done that in bionic is because I wanted to behave
the same as glibc.
Change-Id: I2cf1bf0aac82a748cd6305a2cabbac0790058570
|
|
|
|
|
| |
Change-Id: I24068a228f59df1c3b758c5b2026a09720490616
Signed-off-by: Anna Tikhonova <anna.tikhonova@intel.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Adds new code to function memcmp, optimized for Cortex A9.
Copyright (C) ST-Ericsson SA 2010
Added neon optimization
Change-Id: I8864d277042db40778b33232feddd90a02a27fb0
Author: Henrik Smiding henrik.smiding@stericsson.com for ST-Ericsson.
Signed-off-by: Christian Bejram <christian.bejram@stericsson.com>
|
|
|
|
| |
This reverts commit 579dba196255d3f2db7664cfba2db4cb86f59aa9.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Adds new code to function memset, optimized for Cortex A9.
Copyright (C) ST-Ericsson SA 2010
Added neon implementation
Author: Henrik Smiding henrik.smiding@stericsson.com for ST-Ericsson.
Change-Id: Id3c87767953439269040e15bd30a27aba709aef6
Signed-off-by: Christian Bejram <christian.bejram@stericsson.com>
|
|
|
|
|
|
|
|
| |
These checks haven't been as useful as I hoped, and it's
causing a false positive finding. Remove the overlap
compile time checks.
Change-Id: I5d45dde10ae4663d728230d41fa904adf20acaea
|
|\
| |
| |
| |
| |
| | |
https://android.googlesource.com/platform/bionic into 1.1
Android 4.2.2 release 1
|
| |
| |
| |
| |
| |
| | |
Bug: 7626586
Change-Id: I37730470dc09b7a9d6336b1603f87efd98f45e97
Signed-off-by: Iliyan Malchev <malchev@google.com>
|
| |
| |
| |
| | |
This reverts commit 1eb9e991124100dd12d3f650bbccf967ee8ec3db.
|
| |
| |
| |
| |
| |
| |
| | |
memove_words.c is missed for MIPS bionic here
Change-Id: If8d9edc9be5e4544e5541036c416467db4fb3ede
Signed-off-by: Rocky Zhang <zhangyan.hit@gmail.com>
|
| |
| |
| |
| |
| |
| |
| | |
the s_sin.c and s_cos.c are needed to be added to compile MIPS libm
Change-Id: I48e2f70cb8fb5a63c6022129c3ca1c2699d058e6
Signed-off-by: Rocky Zhang <zhangyan.hit@gmail.com>
|
| |
| |
| |
| |
| |
| |
| | |
Modify sin/cos to improve performance while retaining bit-for-bit
accuracy with existing algorithm.
Change-Id: Icbd6d66fb1c0ceb53f43fed6541e0c89cc6e7a63
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The zoneinfo.dat file is memory mapped and then read as an int array.
On some platforms this is causing alignment errors (SIGBUS) because
the records are not 32 bit aligned.
My changes: Fixes for 4.2 and also updates zoneinfo to the latest version
Change-Id: Ieea8ef07e49ef86d139c52ebfccf4159c0ebd887
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This was causing libdvm to fail with undefined references
when building for the mini_x86 target.
Change-Id: I3c3af3acc87b46c660bf8f46339dfa0509c14c01
|
| | |
| | |
| | |
| | |
| | |
| | | |
This change compliments 049e58369c37fdeacd0380a6bf1e078d9baf819f
Change-Id: I27d015d70a520713c7472558a3c427f546d36ee4
|
|/ /
| |
| |
| |
| |
| | |
Detect when strchr reads off the end of a buffer.
Change-Id: I0e952eedcff5c36d646a9c3bc4e1337b959224f2
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Use the kernel user helper feature to calculate the results
of gettimeofday and clock_gettime without actually calling
into kernel space. If the user helper patches have not been
applied to the kernel, the regular system calls are used as
a fallback.
Change-Id: I3aebc6ac19ab4743725648a1a279819e624cc5c4
|
| |
| |
| |
| |
| | |
This reverts commit 259b660f6a51be7f627e7c2a6376af0b21b55fbb.
This was triggering the new ssp checks and killing processes
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Prelink support is required to load old vendor binary blobs
on many devices properly
This commit partially reverts 4688279db5dcc4004941e7f133c4a1c3617d842c
Change-Id: Ibc835095579c0bbd18aff61f37bd420de353e94d
|
|\ \
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
https://android.googlesource.com/platform/bionic into mr1
Conflicts:
libc/Android.mk
libc/bionic/system_properties.c
libc/kernel/common/linux/msm_mdp.h
libc/tools/gensyscalls.py
libm/Android.mk
linker/linker.c
Change-Id: I11944300d7fcf2fd9dc587d8c7a937bf5366bcc0
|
| |\ |
|
| | |\ |
|
| | | |\ |
|
| | | | |\ |
|
| | | | | |\ |
|
| | | | | | |\ |
|
| | | | | | | |\ |
|
| | | | | | | | |\ |
|
| | | | | | | | | |\ |
|
| | | | | | | | | | |\ |
|
| | | | | | | | | | | |\ |
|
| | | | | | | | | | | | |\ |
|
| | | | | | | | | | | | | |\ |
|
| | | | | | | | | | | | | | |\ |
|
| | | | | | | | | | | | | | | |\ |
|
| | | | | | | | | | | | | | | | |\ |
|
| | | | | | | | | | | | | | | | | |\ |
|
| | | | | | | | | | | | | | | | | | |\ |
|
| | | | | | | | | | | | | | | | | | | |\ |
|
| | | | | | | | | | | | | | | | | | | | |\ |
|
| | | | | | | | | | | | | | | | | | | | | |\ |
|
| | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | |
This reverts commit eb75db7d83a6c46578517c90f1165c61bb1fa41b.
|