OSDN Git Service
Elliott Hughes [Mon, 14 Jan 2013 17:56:21 +0000 (09:56 -0800)]
Fix my git mistake.
This was the formatting change that was supposed to be in
cf23905a4bcc7bfdd109be5b6d69ad06877aa217.
Change-Id: Ib79fa031b68f6f541f532507eb589afeaedb831f
Elliott Hughes [Mon, 14 Jan 2013 17:31:04 +0000 (09:31 -0800)]
Merge "[MIPS] Set DT_DEBUG dyntab entry if it is writable"
Chris Dearman [Fri, 11 Jan 2013 23:32:20 +0000 (15:32 -0800)]
[MIPS] Set DT_DEBUG dyntab entry if it is writable
This is primarily for MIPS exutables that do not have a
DT_MIPS_RLD_MAP entry.
Change-Id: I4c221d92debcfed961eeee2515123f3fb21ec8e6
Signed-off-by: Chris Dearman <chris@mips.com>
Nick Kralevich [Fri, 11 Jan 2013 22:43:05 +0000 (14:43 -0800)]
libc: add getauxval()
Add support for getauxval(). This method allows a program an easy way
to retrieve information from the kernel auxiliary vector, and will
hopefully replace other clumsy ways of accessing this same information.
This particular function was also added to glibc in glibc 2.16.
See the following URLs for more details.
* http://lwn.net/Articles/519085/
* http://www.gnu.org/software/libc/manual/html_node/Auxiliary-Vector.html
This change is a prerequisite for bug
7959813.
Bug: http://code.google.com/p/android/issues/detail?id=38441
Change-Id: Iba19d899df334bddc6f4899077ece2fc87564ea8
Nick Kralevich [Fri, 11 Jan 2013 19:03:40 +0000 (11:03 -0800)]
Merge "Add stack canaries / strcpy tests."
Nick Kralevich [Fri, 11 Jan 2013 01:12:29 +0000 (17:12 -0800)]
Add stack canaries / strcpy tests.
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
Wink Saville [Tue, 8 Jan 2013 23:15:45 +0000 (15:15 -0800)]
Fix unused warnings in pthread.c
Change-Id: I0287aadb825fd8cda29dc976bce55d75a1279fc5
Elliott Hughes [Fri, 11 Jan 2013 00:24:36 +0000 (16:24 -0800)]
Merge "glibc 2.15 treats errno as signed in strerror(3)."
Elliott Hughes [Fri, 11 Jan 2013 00:01:59 +0000 (16:01 -0800)]
glibc 2.15 treats errno as signed in strerror(3).
And the only reason I hadn't done that in bionic is because I wanted to behave
the same as glibc.
Change-Id: I2cf1bf0aac82a748cd6305a2cabbac0790058570
Elliott Hughes [Thu, 10 Jan 2013 23:12:46 +0000 (15:12 -0800)]
Merge "Only have one copy of the kernel_sigset_t hack, and add more tests."
Elliott Hughes [Thu, 10 Jan 2013 22:42:14 +0000 (14:42 -0800)]
Only have one copy of the kernel_sigset_t hack, and add more tests.
Change-Id: I377522fcba6fb4b5fd2754ab15b091014bd7c16f
Elliott Hughes [Thu, 10 Jan 2013 21:17:26 +0000 (13:17 -0800)]
Merge "Add signalfd call to bionic"
Rom Lemarchand [Wed, 9 Jan 2013 23:46:06 +0000 (15:46 -0800)]
Add signalfd call to bionic
Add signalfd() call to bionic.
Adding the signalfd call was done in 3 steps:
- add signalfd4 system call (function name and syscall
number) to libc/SYSCALLS.TXT
- generate all necessary headers by calling
libc/tools/gensyscalls.py. This patch is adding
the generated files since the build system
does not call gensyscalls.py.
- create the signalfd wrapper in signalfd.cpp and add
the function prototype to sys/signalfd.h
(cherry-pick of
0c11611c11f4dc1b6d43587b72c3ccbe8c51a51c, modified to
work with older versions of GCC still in use on some branches.)
Change-Id: I4c6c3f12199559af8be63f93a5336851b7e63355
Elliott Hughes [Mon, 7 Jan 2013 22:46:13 +0000 (14:46 -0800)]
Merge "Don't test GNU-style ELF hashes on MIPS."
Elliott Hughes [Mon, 7 Jan 2013 22:18:22 +0000 (14:18 -0800)]
Don't test GNU-style ELF hashes on MIPS.
The MIPS toolchain can't generate them because they're incompatible
with the MIPS ABI (which requires .dynsym match the GOT, while GNU-style
requires .dynsym to be sorted by hash code), so there's nothing to test.
Change-Id: I2220f452fe6fe595ec1312544cc741dd390a36a5
Elliott Hughes [Mon, 7 Jan 2013 22:11:43 +0000 (14:11 -0800)]
Merge "Fix an off-by-one error in the sigset_t function error handling."
Elliott Hughes [Mon, 7 Jan 2013 21:58:49 +0000 (13:58 -0800)]
Fix an off-by-one error in the sigset_t function error handling.
Spotted while running the tests on MIPS, where sigset_t is
actually large enough. The bits in sigset_t are used such that
signal 1 is represented by bit 0, so the range of signals is
actually [1, 8*sizeof(sigset_t)]; it seems clearer to reword
the code in terms of valid bit offsets [0, 8*sizeof(sigset_t)),
which leads to the usual bounds checking idiom.
Change-Id: Id899c288e15ff71c85dd2fd33c47f8e97aa1956f
Elliott Hughes [Mon, 7 Jan 2013 21:30:58 +0000 (13:30 -0800)]
Merge "[MIPS] Rewrite fenv.h for Android"
Raghu Gandham [Sat, 5 Jan 2013 00:29:14 +0000 (16:29 -0800)]
[MIPS] Rewrite fenv.h for Android
Change-Id: I4d1e2f0b37b587426ccc9f26c525ec0d36637c7d
Elliott Hughes [Fri, 4 Jan 2013 00:55:30 +0000 (16:55 -0800)]
Merge "Add AF_CAN and PF_CAN (and other missing families)."
Elliott Hughes [Fri, 4 Jan 2013 00:25:47 +0000 (16:25 -0800)]
Add AF_CAN and PF_CAN (and other missing families).
Change-Id: I2c183a6f5f7a7e81e87dad85d8c9aff9c43ed33a
Elliott Hughes [Fri, 4 Jan 2013 00:20:01 +0000 (16:20 -0800)]
Merge "Fix debug malloc."
Elliott Hughes [Thu, 3 Jan 2013 23:44:03 +0000 (15:44 -0800)]
Fix debug malloc.
...which has been broken since the linker data structures went read-only.
Bug:
7941716
Change-Id: If28f6bac0fcb13e371e4d85b064544f561c8d692
Elliott Hughes [Thu, 3 Jan 2013 19:54:56 +0000 (11:54 -0800)]
Merge "sysconf.c was renamed to sysconf.cpp (and modified)..."
Elliott Hughes [Thu, 3 Jan 2013 19:53:35 +0000 (11:53 -0800)]
sysconf.c was renamed to sysconf.cpp (and modified)...
...but sysconf.c still lingers on due to some git/repo accident. Kill it.
Change-Id: Iae354ecb21abf03a3f718cc45cfdddb7a9347778
Elliott Hughes [Wed, 2 Jan 2013 23:51:15 +0000 (15:51 -0800)]
Merge "Define _POSIX_MONOTONIC_CLOCK and implement sysconf(_SC_MONOTONIC_CLOCK)."
Elliott Hughes [Wed, 2 Jan 2013 22:23:43 +0000 (14:23 -0800)]
Define _POSIX_MONOTONIC_CLOCK and implement sysconf(_SC_MONOTONIC_CLOCK).
Bug: http://code.google.com/p/android/issues/detail?id=39680
Change-Id: I11cf10a66f9d305868a725f04f581099fb88bbfc
Elliott Hughes [Sat, 22 Dec 2012 01:46:22 +0000 (17:46 -0800)]
Merge "Support System.loadLibrary for libraries with transitive dependencies."
Elliott Hughes [Fri, 21 Dec 2012 03:08:17 +0000 (19:08 -0800)]
Merge "Fix format_number."
Elliott Hughes [Fri, 21 Dec 2012 02:59:05 +0000 (18:59 -0800)]
Fix format_number.
I broke this the other day when silencing x86 gcc warnings.
Bug:
7904160
Change-Id: I8e60cc1f8cbaff95248c8738d84e515413d839e4
Elliott Hughes [Thu, 20 Dec 2012 22:42:14 +0000 (14:42 -0800)]
Support System.loadLibrary for libraries with transitive dependencies.
Also fix the FLAG_ERROR annoyance --- it's not helpful to cache failures.
Bug:
7896159
Bug: http://code.google.com/p/android/issues/detail?id=34416
Bug: http://code.google.com/p/android/issues/detail?id=22143
Change-Id: I60f235edb4ea4756e1f7ce56f7739f18e8a50789
Elliott Hughes [Wed, 19 Dec 2012 02:16:09 +0000 (18:16 -0800)]
Merge "Fix x86 dynamic linker build."
Elliott Hughes [Wed, 19 Dec 2012 02:13:19 +0000 (18:13 -0800)]
Fix x86 dynamic linker build.
Change-Id: Ia9fc6342e3d409de86dcd187c7402e8ac2ae96c8
Elliott Hughes [Wed, 19 Dec 2012 00:38:37 +0000 (16:38 -0800)]
Merge "Check for unknown flags passed to dlopen(3)."
Elliott Hughes [Tue, 18 Dec 2012 23:57:55 +0000 (15:57 -0800)]
Check for unknown flags passed to dlopen(3).
Change-Id: I56f4aab0e5a1487bc32d2c4d231e8bd15c4ac8da
Elliott Hughes [Wed, 12 Dec 2012 01:18:58 +0000 (17:18 -0800)]
Merge "Fix <endian.h> and <sys/endian.h>."
Elliott Hughes [Wed, 12 Dec 2012 00:14:54 +0000 (16:14 -0800)]
Fix <endian.h> and <sys/endian.h>.
Previously we'd been relying on getting the machine-specific <endian.h>
instead of the top-level <endian.h>, and <sys/endian.h> was basically broken.
Now, with this patch and the previous patch we should have <endian.h>
and <sys/endian.h> behaving the same. This is basically how NetBSD's endian.h
works, and was probably how ours was originally intended to work.
Bug: http://code.google.com/p/android/issues/detail?id=39824
Change-Id: I71de5a507e633de166013a658b5764df9e1aa09c
Elliott Hughes [Mon, 10 Dec 2012 19:21:42 +0000 (11:21 -0800)]
Merge "Use pthread_kill() in raise()"
Chris Dearman [Sat, 8 Dec 2012 02:41:10 +0000 (18:41 -0800)]
Use pthread_kill() in raise()
raise() should use pthread_kill() in a pthreads environment.
For bionic this means it should always be used.
Change-Id: Ic679272b664d2b8a7068b628fb83a9f7395c441f
Geremy Condra [Fri, 7 Dec 2012 22:21:16 +0000 (14:21 -0800)]
Merge "Added audit.h from the kernel."
Geremy Condra [Thu, 6 Dec 2012 21:02:46 +0000 (13:02 -0800)]
Added audit.h from the kernel.
Just followed the recipe in I1ca996541d05b0d5927ab828a6ce49c09877ea01
Change-Id: I5713d9ce5ff62e310a694ecfbe21cad6577bcb4d
Nick Kralevich [Fri, 7 Dec 2012 18:10:49 +0000 (10:10 -0800)]
Merge "FORTIFY_SOURCE: remove memcpy overlap checks"
Nick Kralevich [Fri, 7 Dec 2012 17:57:01 +0000 (09:57 -0800)]
FORTIFY_SOURCE: remove memcpy overlap checks
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
Nick Kralevich [Thu, 6 Dec 2012 22:48:24 +0000 (14:48 -0800)]
Merge "FORTIFY_SOURCE: fix up previous commit"
Nick Kralevich [Wed, 5 Dec 2012 23:26:54 +0000 (15:26 -0800)]
FORTIFY_SOURCE: fix up previous commit
I forgot two files in
326ea5413d18ea019cd1bda415ce428f7bdcafd2.
Change-Id: I30430f65bfafad4274193fc5b973959eac0791a7
Nick Kralevich [Tue, 4 Dec 2012 23:44:22 +0000 (15:44 -0800)]
Merge "clean up FORTIFY_SOURCE handling."
Nick Kralevich [Tue, 4 Dec 2012 21:55:19 +0000 (13:55 -0800)]
clean up FORTIFY_SOURCE handling.
Avoid duplicating huge chunks of code.
Change-Id: Id6145cdfce781c5ffba2abaaa79681d25a7ab28f
Nick Kralevich [Tue, 4 Dec 2012 19:30:18 +0000 (11:30 -0800)]
Merge "FORTIFY_SOURCE: fortify strrchr"
Nick Kralevich [Mon, 3 Dec 2012 18:36:13 +0000 (10:36 -0800)]
FORTIFY_SOURCE: fortify strrchr
This change compliments
049e58369c37fdeacd0380a6bf1e078d9baf819f
Change-Id: I27d015d70a520713c7472558a3c427f546d36ee4
Elliott Hughes [Mon, 3 Dec 2012 17:13:20 +0000 (09:13 -0800)]
Merge "mmap: Remove madvise() workaround"
Elliott Hughes [Mon, 3 Dec 2012 15:45:45 +0000 (07:45 -0800)]
Merge "Add argument checking to sigemptyset(3) and friends."
Nick Kralevich [Sat, 1 Dec 2012 00:50:59 +0000 (16:50 -0800)]
Merge "FORTIFY_SOURCE: fortify strchr"
Elliott Hughes [Sat, 1 Dec 2012 00:40:55 +0000 (16:40 -0800)]
Add argument checking to sigemptyset(3) and friends.
You could argue that this is hurting people smart enough to have manually
allocated a large-enough sigset_t, but those people are smart enough to
implement their own sigset functions too.
I wonder whether our least unpleasant way out of our self-inflicted 32-bit
cesspool is to have equivalents of _FILE_OFFSET_BITS such as _SIGSET_T_BITS,
so calling code could opt in? You'd have to be careful passing sigset_t
arguments between code compiled with different options.
Bug:
5828899
Change-Id: I0ae60ee8544835b069a2b20568f38ec142e0737b
Nick Kralevich [Fri, 30 Nov 2012 23:15:58 +0000 (15:15 -0800)]
FORTIFY_SOURCE: fortify strchr
Detect when strchr reads off the end of a buffer.
Change-Id: I0e952eedcff5c36d646a9c3bc4e1337b959224f2
Elliott Hughes [Fri, 30 Nov 2012 22:41:07 +0000 (14:41 -0800)]
Merge "Reduce the exposure of the __set_errno implementation detail."
Elliott Hughes [Fri, 30 Nov 2012 19:58:57 +0000 (11:58 -0800)]
Reduce the exposure of the __set_errno implementation detail.
Change-Id: I395e1b46a9491e34fc53e71853e932ea90b3d1cc
Elliott Hughes [Fri, 30 Nov 2012 18:06:53 +0000 (10:06 -0800)]
Merge "Replace .S version of x86 crtfiles with .c version"
Pavel Chupin [Wed, 28 Nov 2012 14:31:14 +0000 (18:31 +0400)]
Replace .S version of x86 crtfiles with .c version
This patch replaces .S versions of x86 crtfiles with .c which are much
easier to support. Some of the files are matching .c version of Arm
crtfiles. x86 files required some cleanup anyway and this cleanup actually
led to matching Arm files.
I didn't change anything to share the same crt*.c between x86 and Arm. I
prefer to keep them separate for a while in case any change is required
for one of the arch, but it's good thing to do in the following patches.
Change-Id: Ibcf033f8d15aa5b10c05c879fd4b79a64dfc70f3
Signed-off-by: Pavel Chupin <pavel.v.chupin@intel.com>
Elliott Hughes [Fri, 30 Nov 2012 03:33:01 +0000 (19:33 -0800)]
Merge "Remove (near-)duplicate definitions of size_t and ssize_t."
Elliott Hughes [Fri, 30 Nov 2012 01:25:23 +0000 (17:25 -0800)]
Remove (near-)duplicate definitions of size_t and ssize_t.
The near duplicates upset fussier compilers that insist that
typedefs be exactly the same, but the fix isn't to make all
copies identical...
Change-Id: Icfdace41726f36ec33c9ae919dbb5a54d3529cc9
Elliott Hughes [Thu, 29 Nov 2012 23:51:57 +0000 (15:51 -0800)]
Merge "Bug: __WINT_TYPE__ and wint_t reference to different types"
Elliott Hughes [Thu, 29 Nov 2012 22:37:13 +0000 (14:37 -0800)]
Merge "[MIPS] Fix the MIPS getsid system call"
Elliott Hughes [Thu, 29 Nov 2012 22:34:19 +0000 (14:34 -0800)]
Merge "Verify architecture neutral syscall numbers"
Elliott Hughes [Thu, 29 Nov 2012 22:31:19 +0000 (14:31 -0800)]
Merge "Define DEFFILEMODE and friends"
Chris Dearman [Thu, 29 Nov 2012 19:23:31 +0000 (11:23 -0800)]
[MIPS] Fix the MIPS getsid system call
Change-Id: I30a27941125bccb35d73a572a729ecf7dd555389
Signed-off-by: Chris Dearman <chris@mips.com>
Chris Dearman [Thu, 29 Nov 2012 19:22:11 +0000 (11:22 -0800)]
Verify architecture neutral syscall numbers
Also removed some dead code and fixed comment
Change-Id: I5d6a04b4af3d95e34368136cf2eeb3c9b6f99769
Signed-off-by: Chris Dearman <chris@mips.com>
Hakan Kvist [Wed, 10 Oct 2012 06:32:52 +0000 (08:32 +0200)]
Define DEFFILEMODE and friends
Define the macros ACCESSPERMS, ALLPERMS and DEFFILEMODE.
These macros originates from BSD but has been available in glibc
for quite some time.
Change-Id: I429cd30aa4e73f53b153ee7740070cebba166c57
Elliott Hughes [Wed, 28 Nov 2012 01:34:52 +0000 (17:34 -0800)]
Merge "Clean up _BYTE_ORDER definitions for better x86 portability."
Elliott Hughes [Tue, 27 Nov 2012 22:18:04 +0000 (14:18 -0800)]
Clean up _BYTE_ORDER definitions for better x86 portability.
We'd manually hacked _BYTE_ORDER into the arm and mips "_types.h" headers,
but not into the x86 one. Judging by upstream, _BYTE_ORDER should be in
the "endian.h" headers instead, so let's uniformly do that.
I've also ironed out some of the other differences between the different
architectures' header files too.
Bug: http://code.google.com/p/android/issues/detail?id=39824
Change-Id: I19d3af7ffd74e1c02b1b6886aec0f0d11f44ab8d
Elliott Hughes [Mon, 26 Nov 2012 23:44:58 +0000 (15:44 -0800)]
Merge "Do not include '\0' when writing error messages to stderr"
Chris Dearman [Wed, 31 Oct 2012 12:39:27 +0000 (05:39 -0700)]
Do not include '\0' when writing error messages to stderr
Change-Id: I6adc806c3920e5a4ae61ca55c40613fcf338b18c
Signed-off-by: Chris Dearman <chris@mips.com>
Elliott Hughes [Mon, 26 Nov 2012 22:52:07 +0000 (14:52 -0800)]
Merge "Upgrade to tzdata2012j."
Elliott Hughes [Mon, 26 Nov 2012 21:44:49 +0000 (13:44 -0800)]
Upgrade to tzdata2012j.
This reflects the following changes recently circulated on the tz mailing list:
Libya moved to CET [2012-11-11], but with DST planned [2013].
(Thanks to Even Scharning, Steffen Thorsen, and Tim Parenti.)
I also had to change the script to cope with:
Signatures now have the extension .asc, not .sign, as that's more
standard. (Thanks to Phil Pennock.)
Change-Id: Ie9711c5c796b3c122daea9690929edcc3ddd32da
Sergey Melnikov [Wed, 21 Nov 2012 15:42:19 +0000 (19:42 +0400)]
Bug: __WINT_TYPE__ and wint_t reference to different types
__WINT_TYPE__ type provided by gcc. It references to unsigned int
type for android and linux. Patch corrects wint_t typedef to
__WINT_TYPE__.
Signed-off-by: Sergey Melnikov <sergey.melnikov@intel.com>
Change-Id: Iabeb9fcb0b7bb303a8b220043e339126f125dd68
Nick Kralevich [Mon, 19 Nov 2012 19:23:10 +0000 (11:23 -0800)]
mmap: Remove madvise() workaround
Remove mmap() calling madvise(MADV_MERGEABLE) added
in
b8e1e9685efc82d6ac112b9aa316e7f6bf5186ca
Change-Id: I80dbf6afe750348964d83097f993ea6cb8a065d5
Nick Kralevich [Mon, 19 Nov 2012 18:45:18 +0000 (10:45 -0800)]
Merge "We should use load_bias. This patch fixes MIPS NDK device exception test failures."
Chao-Ying Fu [Thu, 15 Nov 2012 10:00:17 +0000 (02:00 -0800)]
We should use load_bias. This patch fixes MIPS NDK device exception test failures.
Change-Id: I4b718c36666e66062c1f13e4deea1ec7a7951c54
Nick Kralevich [Fri, 16 Nov 2012 16:45:51 +0000 (08:45 -0800)]
Merge "Support GNU_RELRO for static executables."
Nick Kralevich [Thu, 15 Nov 2012 23:57:15 +0000 (15:57 -0800)]
Merge "Temporarily address gcc 4.7 breakage."
Nick Kralevich [Thu, 15 Nov 2012 23:21:43 +0000 (15:21 -0800)]
Temporarily address gcc 4.7 breakage.
Change-Id: I8ebb2d5df2f8f8aedf252c94ff69505e61ed0a74
Nick Kralevich [Sat, 10 Nov 2012 00:51:36 +0000 (16:51 -0800)]
Support GNU_RELRO for static executables.
In
9ec0f03a0d0b17bbb94ac0b9fef6add28a133c3a, we added dynamic
linker support for GNU_RELRO protections. These protections
make certain regions of memory read-only, helping protect certain
data structures from accidental or deliberate modifications.
This change adds GNU_RELRO support to STATIC executables. We can
determine if we're compiled with relro protections by examining
our own program headers, which is passed to us by the kernel
in the AT_PHDR and AT_PHNUM auxiliary vectors.
Parts of this code were stolen from the dynamic linker.
Change-Id: Ic17eb5f932218538ec25347ece314d4dc7549de1
Elliott Hughes [Sat, 10 Nov 2012 00:21:08 +0000 (16:21 -0800)]
am
6542ac03: Merge "Add a memmove(3) benchmark."
* commit '
6542ac0380581e0cd0ad47e2763b732d93e9d6bd':
Add a memmove(3) benchmark.
Elliott Hughes [Sat, 10 Nov 2012 00:17:34 +0000 (16:17 -0800)]
Merge "Add a memmove(3) benchmark."
Elliott Hughes [Fri, 9 Nov 2012 23:15:09 +0000 (15:15 -0800)]
am
b62e2770: Merge "Add optimized version of memset for Cortex A9"
* commit '
b62e2770e7c41f9cbe41acca4f25966eea2bc533':
Add optimized version of memset for Cortex A9
Elliott Hughes [Fri, 9 Nov 2012 23:06:50 +0000 (15:06 -0800)]
Merge "Add optimized version of memset for Cortex A9"
Henrik Smiding [Fri, 5 Nov 2010 14:07:53 +0000 (15:07 +0100)]
Add optimized version of memset for Cortex A9
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>
Elliott Hughes [Fri, 9 Nov 2012 22:59:21 +0000 (14:59 -0800)]
Add a memmove(3) benchmark.
Change-Id: I9c0ffae0b5aae29521b7e68e5ce2318b5a401cba
Elliott Hughes [Fri, 9 Nov 2012 02:13:30 +0000 (18:13 -0800)]
am
49677dec: Merge "Add optimized version of memcpy for Cortex A9"
* commit '
49677deca2c2984ae6c0a3df8fbada7132e82940':
Add optimized version of memcpy for Cortex A9
Elliott Hughes [Fri, 9 Nov 2012 02:04:27 +0000 (18:04 -0800)]
Merge "Add optimized version of memcpy for Cortex A9"
Henrik Smiding [Mon, 17 Jan 2011 15:05:41 +0000 (16:05 +0100)]
Add optimized version of memcpy for Cortex A9
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>
Elliott Hughes [Fri, 9 Nov 2012 01:53:41 +0000 (17:53 -0800)]
am
c2132915: Merge "Add optimized version of memcmp for Cortex A9"
* commit '
c2132915158014f578c3f003c9399961fe8d6da2':
Add optimized version of memcmp for Cortex A9
Elliott Hughes [Fri, 9 Nov 2012 01:48:18 +0000 (17:48 -0800)]
Merge "Add optimized version of memcmp for Cortex A9"
Elliott Hughes [Fri, 9 Nov 2012 00:31:13 +0000 (16:31 -0800)]
am
7aca3103: Merge "Simple google3-compatible benchmarking."
* commit '
7aca3103069d7603cff47db7141b64f6a9d94f86':
Simple google3-compatible benchmarking.
Elliott Hughes [Fri, 9 Nov 2012 00:26:45 +0000 (16:26 -0800)]
Merge "Simple google3-compatible benchmarking."
Elliott Hughes [Thu, 8 Nov 2012 23:37:43 +0000 (15:37 -0800)]
Simple google3-compatible benchmarking.
Based on our open-source RE2 benchmarking code.
Includes benchmarks for a handful of <string.h> functions.
Change-Id: I30eb70d25dbf4ad5f2ca44976a8ce3b1ff7dad01
Elliott Hughes [Thu, 8 Nov 2012 17:29:33 +0000 (09:29 -0800)]
am
d460f3f1: Merge "Tests for string routines."
* commit '
d460f3f1af80af40d8c3fab12a68459d8d1ec4c5':
Tests for string routines.
Elliott Hughes [Thu, 8 Nov 2012 17:15:22 +0000 (09:15 -0800)]
Merge "Tests for string routines."
Elliott Hughes [Thu, 8 Nov 2012 02:31:37 +0000 (18:31 -0800)]
am
5408ac3c: Merge "Fix dlopen_library_with_only_gnu_hash_Test."
* commit '
5408ac3c8dfe4857985b94fb7bd883fd3899c48b':
Fix dlopen_library_with_only_gnu_hash_Test.
Elliott Hughes [Thu, 8 Nov 2012 02:19:00 +0000 (18:19 -0800)]
Merge "Fix dlopen_library_with_only_gnu_hash_Test."
Elliott Hughes [Thu, 8 Nov 2012 02:16:02 +0000 (18:16 -0800)]
Fix dlopen_library_with_only_gnu_hash_Test.
Change-Id: Id3395f155587cfa74061f97a2cb4c6a6e59c13dc