OSDN Git Service

android-x86/bionic.git
10 years agoClean up the ARM fenv.h, moving implementation details into fenv.c.
Elliott Hughes [Mon, 9 Jun 2014 20:57:57 +0000 (13:57 -0700)]
Clean up the ARM fenv.h, moving implementation details into fenv.c.

Change-Id: I919d35db27ec16a6f54a7a5c3c070f33f03d9bb9

10 years agoMerge "AArch64: libm: Fix ARM64 fenv_t and refactor ARM64 libm implementation."
Elliott Hughes [Mon, 9 Jun 2014 20:54:22 +0000 (20:54 +0000)]
Merge "AArch64: libm: Fix ARM64 fenv_t and refactor ARM64 libm implementation."

10 years agoAArch64: libm: Fix ARM64 fenv_t and refactor ARM64 libm implementation.
Serban Constantinescu [Sun, 8 Jun 2014 15:55:22 +0000 (16:55 +0100)]
AArch64: libm: Fix ARM64 fenv_t and refactor ARM64 libm implementation.

This patch fixes the ARM64 ABI for libm. fenv_t is now split in 32bit status
and 32bit control. This mirrors the AArch64 FPU control and status
registers (FPCR, FPSR).

The patch also refactors the libm implementation for ARM64 into a finer
grained control over the FPU registers.

Bionic-benchmarks has been expanded with 3 more benchmarks for floating
point operations. The new libm implementation for ARM64 performs better
over all the math benchmarks available.

Change-Id: I2a7f81d6b4e55c91f8a63a4c69614fc8b1bcf2db
Signed-off-by: Serban Constantinescu <serban.constantinescu@arm.com>
10 years agoMerge "AArch64: Remove Frame Record from ARM64 syscalls"
Elliott Hughes [Mon, 9 Jun 2014 19:29:46 +0000 (19:29 +0000)]
Merge "AArch64: Remove Frame Record from ARM64 syscalls"

10 years agoAArch64: Remove Frame Record from ARM64 syscalls
Serban Constantinescu [Sat, 7 Jun 2014 17:15:49 +0000 (18:15 +0100)]
AArch64: Remove Frame Record from ARM64 syscalls

This patch removes the frame record created on svc calls.

Change-Id: I67cf926ba59540e824fb9749d30538e332df7c1e
Signed-off-by: Serban Constantinescu <serban.constantinescu@arm.com>
10 years agoMerge "Add the missing issetugid binary compatibility stub."
Elliott Hughes [Sat, 7 Jun 2014 05:37:25 +0000 (05:37 +0000)]
Merge "Add the missing issetugid binary compatibility stub."

10 years agoAdd the missing issetugid binary compatibility stub.
Elliott Hughes [Sat, 7 Jun 2014 03:41:42 +0000 (20:41 -0700)]
Add the missing issetugid binary compatibility stub.

Bug: 14569474
Change-Id: I3bedc1a0acf356af76424ceaf62ae7e85239f617

10 years agoMerge "Rewrite and hide longjmperror."
Elliott Hughes [Sat, 7 Jun 2014 03:35:27 +0000 (03:35 +0000)]
Merge "Rewrite and hide longjmperror."

10 years agoMerge "Remove unused scripts."
Christopher Ferris [Sat, 7 Jun 2014 01:45:28 +0000 (01:45 +0000)]
Merge "Remove unused scripts."

10 years agoRewrite and hide longjmperror.
Elliott Hughes [Fri, 6 Jun 2014 23:49:39 +0000 (16:49 -0700)]
Rewrite and hide longjmperror.

This shouldn't be public API, isn't supported on x86/x86_64, and it's
unlikely anyone would have actually seen the message before anyway.
Using __libc_fatal makes it much more likely to be seen.

Bug: 11156955
Change-Id: Icf7f654b22a7dacd89668b60c11e5705c7215c08

10 years agoRemove unused scripts.
Christopher Ferris [Fri, 6 Jun 2014 22:28:42 +0000 (15:28 -0700)]
Remove unused scripts.

Change-Id: I3391d6c903f710b45e62bcf01058cf3ad9abe399

10 years agoMerge "Fix ndk_cruft.cpp __getdents64 build failure."
Elliott Hughes [Fri, 6 Jun 2014 22:25:18 +0000 (22:25 +0000)]
Merge "Fix ndk_cruft.cpp __getdents64 build failure."

10 years agoMerge "Rename __bionic_clone_entry to __start_thread."
Elliott Hughes [Fri, 6 Jun 2014 22:24:44 +0000 (22:24 +0000)]
Merge "Rename __bionic_clone_entry to __start_thread."

10 years agoFix ndk_cruft.cpp __getdents64 build failure.
Elliott Hughes [Fri, 6 Jun 2014 22:24:20 +0000 (15:24 -0700)]
Fix ndk_cruft.cpp __getdents64 build failure.

Change-Id: Ia463113da0575b36b5a9935d8d45e7bd2c801357

10 years agoMerge "Add a few more C11 functions to the whitelist."
Elliott Hughes [Fri, 6 Jun 2014 22:21:17 +0000 (22:21 +0000)]
Merge "Add a few more C11 functions to the whitelist."

10 years agoAdd a few more C11 functions to the whitelist.
Elliott Hughes [Fri, 6 Jun 2014 22:20:50 +0000 (15:20 -0700)]
Add a few more C11 functions to the whitelist.

Change-Id: Ie2e767910d7cc8a78c05e29960cf4ab52a59fe9d

10 years agoRename __bionic_clone_entry to __start_thread.
Elliott Hughes [Fri, 6 Jun 2014 22:18:54 +0000 (15:18 -0700)]
Rename __bionic_clone_entry to __start_thread.

This seems a bit less obscure.

Change-Id: I7dc528c253b73c861694f67556ad8f919bf92136

10 years agoMerge "Remove getdents from bionic."
Elliott Hughes [Fri, 6 Jun 2014 22:17:59 +0000 (22:17 +0000)]
Merge "Remove getdents from bionic."

10 years agoMerge "Update kernel header generation docs."
Christopher Ferris [Fri, 6 Jun 2014 22:10:19 +0000 (22:10 +0000)]
Merge "Update kernel header generation docs."

10 years agoRemove getdents from bionic.
Elliott Hughes [Fri, 6 Jun 2014 18:44:55 +0000 (11:44 -0700)]
Remove getdents from bionic.

Bug: 11156955
Change-Id: I6c306989801be552d85fba8a50dcdc79282fb9d2

10 years agoUpdate kernel header generation docs.
Christopher Ferris [Thu, 5 Jun 2014 18:17:06 +0000 (11:17 -0700)]
Update kernel header generation docs.

Also move the description of the cleanup data to the cleanup script.

Bug: 15433575
Change-Id: I21e2cbbfab55da483af1bbe36bbe59126b518e3c

10 years agoMerge "Fix the printf family for non-ASCII."
Elliott Hughes [Fri, 6 Jun 2014 18:06:44 +0000 (18:06 +0000)]
Merge "Fix the printf family for non-ASCII."

10 years agoFix the printf family for non-ASCII.
Elliott Hughes [Fri, 6 Jun 2014 03:10:09 +0000 (20:10 -0700)]
Fix the printf family for non-ASCII.

The bug here turned out to be that we hadn't increased the constant
corresponding to the maximum number of bytes in a character to match
our new implementation, so any character requiring more than a byte
in UTF-8 would break our printf family.

Bug: 15439554
Change-Id: I693e5e6eb11c640b5886e848502908ec5fff53b1

10 years agoMerge "Remove unnecessary instructions from x86/x86_64 syscalls."
Elliott Hughes [Fri, 6 Jun 2014 01:03:19 +0000 (01:03 +0000)]
Merge "Remove unnecessary instructions from x86/x86_64 syscalls."

10 years agoRemove unnecessary instructions from x86/x86_64 syscalls.
Elliott Hughes [Fri, 6 Jun 2014 00:24:30 +0000 (17:24 -0700)]
Remove unnecessary instructions from x86/x86_64 syscalls.

__set_errno returns -1 exactly so that callers don't need to bother.
The other architectures were already taking advantage of this, but
no one had ever fixed x86 and x86_64.

Change-Id: Ie131494be664f6c4a1bbf8c61bbbed58eac56122

10 years agoMerge "Fix unwinding through x86-64 __bionic_clone."
Elliott Hughes [Thu, 5 Jun 2014 23:38:18 +0000 (23:38 +0000)]
Merge "Fix unwinding through x86-64 __bionic_clone."

10 years agoFix unwinding through x86-64 __bionic_clone.
Elliott Hughes [Thu, 5 Jun 2014 19:28:14 +0000 (12:28 -0700)]
Fix unwinding through x86-64 __bionic_clone.

x86-64 needs these CFI directives to stop unwinding here.
I've also cleaned up the assembler a little, and made x86 and x86-64
a little more alike.

Bug: 15195760
Change-Id: I40f92c007843c29c933bb6876fe2b4611e1b946b

10 years agoMerge "Removes index() from bionic."
Dan Albert [Thu, 5 Jun 2014 21:34:49 +0000 (21:34 +0000)]
Merge "Removes index() from bionic."

10 years agoMerge "Fix for slm-tuned memmove (both 32- and 64-bit)."
Christopher Ferris [Thu, 5 Jun 2014 18:10:59 +0000 (18:10 +0000)]
Merge "Fix for slm-tuned memmove (both 32- and 64-bit)."

10 years agoFix for slm-tuned memmove (both 32- and 64-bit).
Varvara Rainchik [Tue, 27 May 2014 08:41:55 +0000 (12:41 +0400)]
Fix for slm-tuned memmove (both 32- and 64-bit).

Introduce a test for memmove that catches a fault.
Fix both 32- and 64-bit versions of slm-tuned memmove.

Change-Id: Ib416def2610a0972e32c3b9b6055b54967643dc3
Signed-off-by: Varvara Rainchik <varvara.rainchik@intel.com>
10 years agoRemoves index() from bionic.
Dan Albert [Wed, 4 Jun 2014 15:53:33 +0000 (08:53 -0700)]
Removes index() from bionic.

This function has been removed from POSIX.

Unfortunately, we can't leave #define index(a, b) strchr((a), (b)) in its place
because defining a preprocessor macro for index() breaks a whole lot of code.

Bug: 13935372
Change-Id: Ifda348acde06da61c12e7ee2f8fe6950a3174dd1

10 years agoMerge "Remove bsd_signal and sysv_signal from bionic LP64."
Dan Albert [Thu, 5 Jun 2014 18:03:45 +0000 (18:03 +0000)]
Merge "Remove bsd_signal and sysv_signal from bionic LP64."

10 years agoRemove bsd_signal and sysv_signal from bionic LP64.
Dan Albert [Wed, 4 Jun 2014 17:14:19 +0000 (10:14 -0700)]
Remove bsd_signal and sysv_signal from bionic LP64.

bsd_signal was removed in POSIX 2008, sysv_signal was never POSIX.

Bug: 13935372
Change-Id: I7688e5cc317247ff075dcf99b598f515fb4f15c4

10 years agoMerge "Hide __libc_fini."
Elliott Hughes [Thu, 5 Jun 2014 03:24:24 +0000 (03:24 +0000)]
Merge "Hide __libc_fini."

10 years agoMerge "Revert "Remove ftime from bionic LP64""
Dan Albert [Thu, 5 Jun 2014 00:50:56 +0000 (00:50 +0000)]
Merge "Revert "Remove ftime from bionic LP64""

10 years agoRevert "Remove ftime from bionic LP64"
Dan Albert [Thu, 5 Jun 2014 00:50:43 +0000 (00:50 +0000)]
Revert "Remove ftime from bionic LP64"

Breaking some build... will look in to it later.

This reverts commit 26d6799bbe170b0955f564974b584c1471efdca1.

Change-Id: I35fa770221be3a181bd37c6c3dce1bf37a69a4a1

10 years agoMerge "Remove ftime from bionic LP64"
Dan Albert [Wed, 4 Jun 2014 23:42:26 +0000 (23:42 +0000)]
Merge "Remove ftime from bionic LP64"

10 years agoHide __libc_fini.
Elliott Hughes [Wed, 4 Jun 2014 23:29:37 +0000 (16:29 -0700)]
Hide __libc_fini.

Bug: 11156955
Change-Id: Id5af3540c6ec4d9ef969d62a230144fe8bb76b0b

10 years agoRemove ftime from bionic LP64
Dan Albert [Wed, 4 Jun 2014 22:20:17 +0000 (15:20 -0700)]
Remove ftime from bionic LP64

Bug: 13935372
Change-Id: I5dd31147143b23a090a3b75b846dc5354e599121

10 years agoMerge "Temporarily expose dlmalloc_usable_size."
Elliott Hughes [Wed, 4 Jun 2014 23:11:06 +0000 (23:11 +0000)]
Merge "Temporarily expose dlmalloc_usable_size."

10 years agoTemporarily expose dlmalloc_usable_size.
Elliott Hughes [Wed, 4 Jun 2014 23:08:17 +0000 (16:08 -0700)]
Temporarily expose dlmalloc_usable_size.

Bug: 15425694
Change-Id: I47e1ca598817359260c372fec8072e76886054f0

10 years agoMerge "Temporary fix for asan_malloc_linux.cc build failure."
Elliott Hughes [Wed, 4 Jun 2014 22:21:12 +0000 (22:21 +0000)]
Merge "Temporary fix for asan_malloc_linux.cc build failure."

10 years agoTemporary fix for asan_malloc_linux.cc build failure.
Elliott Hughes [Wed, 4 Jun 2014 22:18:36 +0000 (15:18 -0700)]
Temporary fix for asan_malloc_linux.cc build failure.

Bug: 15432753
Change-Id: I02a3a2c826e6d01e6809c51588a9670dcd179123

10 years agoMerge "Fix debug malloc."
Elliott Hughes [Wed, 4 Jun 2014 21:10:55 +0000 (21:10 +0000)]
Merge "Fix debug malloc."

10 years agoFix debug malloc.
Elliott Hughes [Wed, 4 Jun 2014 19:07:11 +0000 (12:07 -0700)]
Fix debug malloc.

Previously the dynamically-loaded part of the debug malloc implementation
wanted to access hidden symbols in libc itself.

Bug: 15426546
Change-Id: I6a366ef626854d1af1d705ca24842817b1c02a19

10 years agoMerge "Removes wcswcs from bionic for LP64."
Dan Albert [Wed, 4 Jun 2014 20:59:10 +0000 (20:59 +0000)]
Merge "Removes wcswcs from bionic for LP64."

10 years agoRemoves wcswcs from bionic for LP64.
Dan Albert [Wed, 4 Jun 2014 16:53:06 +0000 (09:53 -0700)]
Removes wcswcs from bionic for LP64.

Bug: 13935372
Change-Id: I0deb15e769da4fa81bb65a87f3c86db5163a5796

10 years agoMerge "Cherrypick upstream OpenBSD's vfwprintf.c revision 1.11."
Elliott Hughes [Wed, 4 Jun 2014 16:17:09 +0000 (16:17 +0000)]
Merge "Cherrypick upstream OpenBSD's vfwprintf.c revision 1.11."

10 years agoMerge "Adds functionality specified by uchar.h"
Dan Albert [Wed, 4 Jun 2014 16:10:50 +0000 (16:10 +0000)]
Merge "Adds functionality specified by uchar.h"

10 years agoCherrypick upstream OpenBSD's vfwprintf.c revision 1.11.
Elliott Hughes [Wed, 4 Jun 2014 16:00:25 +0000 (09:00 -0700)]
Cherrypick upstream OpenBSD's vfwprintf.c revision 1.11.

revision 1.11
date: 2014/06/04 07:45:25;  author: stsp;  state: Exp;  lines: +1 -7;  commitid:
 zJPRH5RUO224FmQu;
Remove assigned but unused local variables and macro from vfwprintf().
Found by Elliott @ google
ok mpi@

Change-Id: I716edc0c4d736a484a5317942de8e87bd8c6fd26

10 years agoAdds functionality specified by uchar.h
Dan Albert [Mon, 2 Jun 2014 18:33:04 +0000 (11:33 -0700)]
Adds functionality specified by uchar.h

mbrtoc32 and c32rtomb get their implementations from mbrtowc and wcrtomb. The
wc functions now simply call the c32 functions.

Bug: 14646575
Change-Id: I49d4b95fed0f9d790260c996c4d0f8bfd1686324

10 years agoMerge "Hide dlmalloc symbols."
Elliott Hughes [Wed, 4 Jun 2014 03:30:36 +0000 (03:30 +0000)]
Merge "Hide dlmalloc symbols."

10 years agoHide dlmalloc symbols.
Elliott Hughes [Wed, 4 Jun 2014 01:47:17 +0000 (18:47 -0700)]
Hide dlmalloc symbols.

We need to leave dlmalloc_trim and dlmalloc_inspect_all exposed for
the VM, but if we're seriously looking at other malloc implementations,
that's something we're going to have to fix.

Bug: 11156955
Change-Id: If85156c280044f1616c09a3c50ba674aaf0e8d3a

10 years agoMerge "Removes bcopy and bzero from bionic."
Dan Albert [Wed, 4 Jun 2014 01:00:40 +0000 (01:00 +0000)]
Merge "Removes bcopy and bzero from bionic."

10 years agoRemoves bcopy and bzero from bionic.
Dan Albert [Tue, 3 Jun 2014 18:35:48 +0000 (11:35 -0700)]
Removes bcopy and bzero from bionic.

These symbols are still defined for LP32 for binary compatibility, but
the declarations have been replaced with the POSIX recommended #defines.

Bug: 13935372
Change-Id: Ief7e6ca012db374588ba5839f11e8f3a13a20467

10 years agoMerge "Work around "error: variable 'uio' set but not used"."
Elliott Hughes [Tue, 3 Jun 2014 23:41:35 +0000 (23:41 +0000)]
Merge "Work around "error: variable 'uio' set but not used"."

10 years agoWork around "error: variable 'uio' set but not used".
Elliott Hughes [Tue, 3 Jun 2014 23:39:58 +0000 (16:39 -0700)]
Work around "error: variable 'uio' set but not used".

I've sent the real fix upstream, and will merge that when they commit it.

Change-Id: I75e5cab87026f8990c585d364dd178753d727e2a

10 years agoMerge "Remove an unused parameter from the dlopen implementation."
Elliott Hughes [Tue, 3 Jun 2014 23:36:35 +0000 (23:36 +0000)]
Merge "Remove an unused parameter from the dlopen implementation."

10 years agoRemove an unused parameter from the dlopen implementation.
Elliott Hughes [Tue, 3 Jun 2014 23:23:08 +0000 (16:23 -0700)]
Remove an unused parameter from the dlopen implementation.

Change-Id: I9297913a743bb570b48ebbe594ff711a481e89e0

10 years agoMerge "Turn on -Wunused and fix the mistakes it uncovers."
Elliott Hughes [Tue, 3 Jun 2014 23:14:20 +0000 (23:14 +0000)]
Merge "Turn on -Wunused and fix the mistakes it uncovers."

10 years agoTurn on -Wunused and fix the mistakes it uncovers.
Elliott Hughes [Tue, 3 Jun 2014 22:22:34 +0000 (15:22 -0700)]
Turn on -Wunused and fix the mistakes it uncovers.

Change-Id: I023d2d8b547fbc21d4124bb7510d42b06a0dc501

10 years agoMerge "Use __libc_fatal() for failed malloc in new"
Dan Albert [Tue, 3 Jun 2014 16:53:46 +0000 (16:53 +0000)]
Merge "Use __libc_fatal() for failed malloc in new"

10 years agoUse __libc_fatal() for failed malloc in new
Dan Albert [Fri, 30 May 2014 23:00:53 +0000 (16:00 -0700)]
Use __libc_fatal() for failed malloc in new

This way we can print a useful message to the log isntead of just dying
mysteriously.

Change-Id: Ib660c2fd8ce8bb9aa0d0bb634ae08c645d3901e5

10 years agoam 2deef73f: Merge "Avoid a system call in \'gettid\'."
Elliott Hughes [Mon, 2 Jun 2014 17:48:53 +0000 (17:48 +0000)]
am 2deef73f: Merge "Avoid a system call in \'gettid\'."

* commit '2deef73fe1e9dbf57b683a15fd1e0c2922e6ecc0':
  Avoid a system call in 'gettid'.

10 years agoMerge "Avoid a system call in 'gettid'."
Elliott Hughes [Mon, 2 Jun 2014 17:43:27 +0000 (17:43 +0000)]
Merge "Avoid a system call in 'gettid'."

10 years agoAvoid a system call in 'gettid'.
Elliott Hughes [Sat, 31 May 2014 02:00:03 +0000 (19:00 -0700)]
Avoid a system call in 'gettid'.

System calls can be pretty slow. This is mako, which has one of our
lowest latencies:

                       iterations      ns/op
  BM_unistd_getpid       10000000        209
  BM_unistd_gettid      200000000          8

Bug: 15297299 (kernel panic from too many gettid calls)
Bug: 15315766 (excessive gettid overhead in liblogd)
Change-Id: I49656c0fc5b5d092390264a59e4f2c0d8a8b1aeb

10 years agoam 831405b7: Merge "Make atexit.dlclose work for glibc"
Dmitriy Ivanov [Sat, 31 May 2014 01:31:26 +0000 (01:31 +0000)]
am 831405b7: Merge "Make atexit.dlclose work for glibc"

* commit '831405b749d15a11fb947a40d61fd858e952d860':
  Make atexit.dlclose work for glibc

10 years agoMerge "Make atexit.dlclose work for glibc"
Dmitriy Ivanov [Sat, 31 May 2014 01:28:32 +0000 (01:28 +0000)]
Merge "Make atexit.dlclose work for glibc"

10 years agoMake atexit.dlclose work for glibc
Dmitriy Ivanov [Sat, 31 May 2014 01:03:26 +0000 (18:03 -0700)]
Make atexit.dlclose work for glibc

 * build libtest_atexit.so
 * remove atexit(NULL) - glibc segfaults on it

Bug: 15350494
Change-Id: I27d79130c32c5691b0e8790a57d92f9710f5bf4a

10 years agoam 66b5e6b6: Merge "Do not run dlclose test on glibc."
Christopher Ferris [Sat, 31 May 2014 00:43:52 +0000 (00:43 +0000)]
am 66b5e6b6: Merge "Do not run dlclose test on glibc."

* commit '66b5e6b609f16062262b777905bdd2305a941596':
  Do not run dlclose test on glibc.

10 years agoMerge "Do not run dlclose test on glibc."
Christopher Ferris [Sat, 31 May 2014 00:41:37 +0000 (00:41 +0000)]
Merge "Do not run dlclose test on glibc."

10 years agoam 7a5732bd: Merge "Add some missing __noreturn attributes."
Elliott Hughes [Fri, 30 May 2014 23:01:01 +0000 (23:01 +0000)]
am 7a5732bd: Merge "Add some missing __noreturn attributes."

* commit '7a5732bd83c64489b9bd953f49fb6ad3b420126c':
  Add some missing __noreturn attributes.

10 years agoMerge "Add some missing __noreturn attributes."
Elliott Hughes [Fri, 30 May 2014 22:58:41 +0000 (22:58 +0000)]
Merge "Add some missing __noreturn attributes."

10 years agoAdd some missing __noreturn attributes.
Elliott Hughes [Fri, 30 May 2014 21:49:00 +0000 (14:49 -0700)]
Add some missing __noreturn attributes.

This is more honest, and lets us remove a hack.

Change-Id: I309f064743ded5248573ccafc379f78d417db08d

10 years agoam 3a3b27e0: Merge "x86: stop unwinding past __bionic_clone."
Elliott Hughes [Fri, 30 May 2014 21:43:47 +0000 (21:43 +0000)]
am 3a3b27e0: Merge "x86: stop unwinding past __bionic_clone."

* commit '3a3b27e04df395b789b92af3d0ed05d2a0f3bf04':
  x86: stop unwinding past __bionic_clone.

10 years agoMerge "x86: stop unwinding past __bionic_clone."
Elliott Hughes [Fri, 30 May 2014 21:40:28 +0000 (21:40 +0000)]
Merge "x86: stop unwinding past __bionic_clone."

10 years agoDo not run dlclose test on glibc.
Christopher Ferris [Fri, 30 May 2014 18:23:21 +0000 (11:23 -0700)]
Do not run dlclose test on glibc.

The support library for this test is not built for host by default.
Even if the support library is built, the test segfaults on glibc.

Change-Id: I9cb7a364c59b55d4bf5d8634293037cd9bae020b

10 years agox86: stop unwinding past __bionic_clone.
Elliott Hughes [Fri, 30 May 2014 18:15:32 +0000 (11:15 -0700)]
x86: stop unwinding past __bionic_clone.

The apparent "previous" frame is on another thread's stack.

Bug: 14270816
Bug: 15195760
Change-Id: I884f370e116203c5fa3b05a75fb8f356537261c4

10 years agoam 1672b056: Merge "Fix unwinding_through_signal_frame test."
Christopher Ferris [Fri, 30 May 2014 03:55:51 +0000 (03:55 +0000)]
am 1672b056: Merge "Fix unwinding_through_signal_frame test."

* commit '1672b0563693eaaf92db4f304308d456a6102e64':
  Fix unwinding_through_signal_frame test.

10 years agoMerge "Fix unwinding_through_signal_frame test."
Christopher Ferris [Fri, 30 May 2014 03:53:00 +0000 (03:53 +0000)]
Merge "Fix unwinding_through_signal_frame test."

10 years agoFix unwinding_through_signal_frame test.
Christopher Ferris [Fri, 30 May 2014 03:00:12 +0000 (20:00 -0700)]
Fix unwinding_through_signal_frame test.

I accidentally removed the compilcation of the test implementation file
with special flags needed for the test to work. This change creates the
impl as a library with those flags back.

Bug: 14819262
Change-Id: Ib84fd26a7f4d40a0267d3ed686185b0abc5a3706

10 years agoam 94170742: Merge "Fix x86 cfi directives for syscalls."
Christopher Ferris [Fri, 30 May 2014 02:22:34 +0000 (02:22 +0000)]
am 94170742: Merge "Fix x86 cfi directives for syscalls."

* commit '941707429d8577e90580277c51ad8a354f664586':
  Fix x86 cfi directives for syscalls.

10 years agoMerge "Fix x86 cfi directives for syscalls."
Christopher Ferris [Fri, 30 May 2014 02:20:27 +0000 (02:20 +0000)]
Merge "Fix x86 cfi directives for syscalls."

10 years agoFix x86 cfi directives for syscalls.
Christopher Ferris [Fri, 30 May 2014 01:17:09 +0000 (18:17 -0700)]
Fix x86 cfi directives for syscalls.

The syscall generation always used 4 bytes for each push cfi directive.
However, the first push should always use an offset of 8 bytes, each
subsequent push after that is only 4 bytes though.

Change-Id: Ibaabd107f399ef67010b9a08213783957c2f74a9

10 years agoam 264d1b83: Merge "Remove issetugid."
Elliott Hughes [Fri, 30 May 2014 00:10:42 +0000 (00:10 +0000)]
am 264d1b83: Merge "Remove issetugid."

* commit '264d1b832510b746c1d45b5efaa33c164d6f8b2b':
  Remove issetugid.

10 years agoMerge "Remove issetugid."
Elliott Hughes [Fri, 30 May 2014 00:07:52 +0000 (00:07 +0000)]
Merge "Remove issetugid."

10 years agoam 5800aab3: Merge "Fix wmemmove test."
Christopher Ferris [Thu, 29 May 2014 23:43:06 +0000 (23:43 +0000)]
am 5800aab3: Merge "Fix wmemmove test."

* commit '5800aab347a3764f5edb3db0da83b7400ed8426e':
  Fix wmemmove test.

10 years agoRemove issetugid.
Elliott Hughes [Thu, 29 May 2014 23:04:53 +0000 (16:04 -0700)]
Remove issetugid.

Bug: 14569474
Change-Id: I752c77ed53c724f144f0b618443eb95e87f2929a

10 years agoMerge "Fix wmemmove test."
Christopher Ferris [Thu, 29 May 2014 23:40:39 +0000 (23:40 +0000)]
Merge "Fix wmemmove test."

10 years agoam fd9f07a2: Merge "Workaround the GCC "(long)fn -> lfn" optimization bug."
Ben Cheng [Thu, 29 May 2014 23:38:27 +0000 (23:38 +0000)]
am fd9f07a2: Merge "Workaround the GCC "(long)fn -> lfn" optimization bug."

* commit 'fd9f07a2a2aa6c17b99c4bf9815e380eeac6aa0f':
  Workaround the GCC "(long)fn -> lfn" optimization bug.

10 years agoMerge "Workaround the GCC "(long)fn -> lfn" optimization bug."
Ben Cheng [Thu, 29 May 2014 23:33:04 +0000 (23:33 +0000)]
Merge "Workaround the GCC "(long)fn -> lfn" optimization bug."

10 years agoWorkaround the GCC "(long)fn -> lfn" optimization bug.
Ben Cheng [Thu, 29 May 2014 23:02:09 +0000 (16:02 -0700)]
Workaround the GCC "(long)fn -> lfn" optimization bug.

Pass "-fno-builtin-rint -fno-builtin-rintl -fno-builtin-rintf" to avoid
generating self recursions in lrint, lrintl, and lrintf.

BUG: 14225968
Change-Id: Iffc4d8f0692580d636a529f4c8aa9a7a10d7acd8

10 years agoFix wmemmove test.
Christopher Ferris [Thu, 29 May 2014 22:42:42 +0000 (15:42 -0700)]
Fix wmemmove test.

I accidentally copied over the nul terminator with the test.

Change-Id: I24a9aa05d4fba4f383fa38a3041bb6a6b179130c

10 years agoam d4fbb1a8: Merge "Fix dprintf test."
Christopher Ferris [Thu, 29 May 2014 22:44:25 +0000 (22:44 +0000)]
am d4fbb1a8: Merge "Fix dprintf test."

* commit 'd4fbb1a8617285ab1d29324308aa016377fc36f3':
  Fix dprintf test.

10 years agoMerge "Fix dprintf test."
Christopher Ferris [Thu, 29 May 2014 22:41:50 +0000 (22:41 +0000)]
Merge "Fix dprintf test."

10 years agoam aa5f32ea: Merge "Add Aarch64 optimized bzero based on memset"
Christopher Ferris [Thu, 29 May 2014 21:23:16 +0000 (21:23 +0000)]
am aa5f32ea: Merge "Add Aarch64 optimized bzero based on memset"

* commit 'aa5f32ea1c8af9776a1c26a027495954c835be55':
  Add Aarch64 optimized bzero based on memset

10 years agoMerge "Add Aarch64 optimized bzero based on memset"
Christopher Ferris [Thu, 29 May 2014 21:19:44 +0000 (21:19 +0000)]
Merge "Add Aarch64 optimized bzero based on memset"

10 years agoAdd Aarch64 optimized bzero based on memset
Bernhard Rosenkraenzer [Mon, 19 May 2014 11:16:41 +0000 (13:16 +0200)]
Add Aarch64 optimized bzero based on memset

Change-Id: I62cf25bfe23b9d811e00af7307bbd19d89937792
Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
10 years agoFix dprintf test.
Christopher Ferris [Thu, 29 May 2014 19:49:35 +0000 (12:49 -0700)]
Fix dprintf test.

Change-Id: Ied783d545b6a35a70a158249f3957a9d00971627

10 years agoam 4dd0b72d: Merge "Return the actual success result from __futex."
Elliott Hughes [Thu, 29 May 2014 20:14:35 +0000 (20:14 +0000)]
am 4dd0b72d: Merge "Return the actual success result from __futex."

* commit '4dd0b72dd36f3d9afd6bf0c184866f0d9242084f':
  Return the actual success result from __futex.