Commit Graph

8473 Commits

Author SHA1 Message Date
Elliott Hughes
cb0114a1f6 am 8c054c51: Merge "Clean up the ARM fenv.h, moving implementation details into fenv.c."
* commit '8c054c51c3324d36dc9ed1cf50229bae8a3f875c':
  Clean up the ARM fenv.h, moving implementation details into fenv.c.
2014-06-09 21:42:53 +00:00
Elliott Hughes
8c054c51c3 Merge "Clean up the ARM fenv.h, moving implementation details into fenv.c." 2014-06-09 21:16:15 +00:00
Elliott Hughes
b98dd8cb75 am 87472963: Merge "AArch64: libm: Fix ARM64 fenv_t and refactor ARM64 libm implementation."
* commit '87472963c7c50240002fd83efec69c267c0d6ec7':
  AArch64: libm: Fix ARM64 fenv_t and refactor ARM64 libm implementation.
2014-06-09 21:00:35 +00:00
Elliott Hughes
9812a0233c Clean up the ARM fenv.h, moving implementation details into fenv.c.
Change-Id: I919d35db27ec16a6f54a7a5c3c070f33f03d9bb9
2014-06-09 13:57:57 -07:00
Elliott Hughes
87472963c7 Merge "AArch64: libm: Fix ARM64 fenv_t and refactor ARM64 libm implementation." 2014-06-09 20:54:22 +00:00
Serban Constantinescu
a147a1da5c 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>
2014-06-09 13:52:28 -07:00
Elliott Hughes
1dcb84712c am 36ed5971: Merge "AArch64: Remove Frame Record from ARM64 syscalls"
* commit '36ed5971c45425bf258c72e7baaa68ebdd70c7bb':
  AArch64: Remove Frame Record from ARM64 syscalls
2014-06-09 19:35:33 +00:00
Elliott Hughes
36ed5971c4 Merge "AArch64: Remove Frame Record from ARM64 syscalls" 2014-06-09 19:29:46 +00:00
Serban Constantinescu
602b4e482c 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>
2014-06-09 11:36:37 -07:00
Elliott Hughes
3b1e9bf3e9 am e18c2714: Merge "Add the missing issetugid binary compatibility stub."
* commit 'e18c271423d1777adfe18434558944082fc32c70':
  Add the missing issetugid binary compatibility stub.
2014-06-07 09:18:43 +00:00
Elliott Hughes
e18c271423 Merge "Add the missing issetugid binary compatibility stub." 2014-06-07 05:37:26 +00:00
Elliott Hughes
18b17e9775 Add a regression test for two libm bugs we didn't have.
Reported on the OpenBSD list, but we already had the fix for one from FreeBSD,
and I think the other only affected ld80 anyway. Worth having tests thuogh.

Change-Id: Ic4bbeb2384fd578a3ef13e4907be83deda50815f
2014-06-06 21:55:27 -07:00
Elliott Hughes
20811f9e87 am 19718f0c: Merge "Rewrite and hide longjmperror."
* commit '19718f0cd605f55df26823c67b62ceab6fe99a00':
  Rewrite and hide longjmperror.
2014-06-07 03:53:03 +00:00
Elliott Hughes
bffbfeed7a Add the missing issetugid binary compatibility stub.
Bug: 14569474
Change-Id: I3bedc1a0acf356af76424ceaf62ae7e85239f617
2014-06-06 20:41:42 -07:00
Elliott Hughes
19718f0cd6 Merge "Rewrite and hide longjmperror." 2014-06-07 03:35:28 +00:00
Christopher Ferris
1b8163f5e6 am 1cada9b3: Merge "Remove unused scripts."
* commit '1cada9b3ea2724ebb0dee89a7f9a8f00a0ece2ae':
  Remove unused scripts.
2014-06-07 02:09:15 +00:00
Christopher Ferris
1cada9b3ea Merge "Remove unused scripts." 2014-06-07 01:45:28 +00:00
Elliott Hughes
47ba295b06 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
2014-06-06 16:49:39 -07:00
Elliott Hughes
afd4df20c9 am 6fa47ca4: Merge "Fix ndk_cruft.cpp __getdents64 build failure."
* commit '6fa47ca484aa37b0a2a5734a9def32973d110cc6':
  Fix ndk_cruft.cpp __getdents64 build failure.
2014-06-06 22:39:09 +00:00
Elliott Hughes
655dba09c7 am 1c60f808: Merge "Rename __bionic_clone_entry to __start_thread."
* commit '1c60f8080acaf0f1794689886e94e54d15d43a7b':
  Rename __bionic_clone_entry to __start_thread.
2014-06-06 22:39:09 +00:00
Elliott Hughes
e932f5b5d8 am 087b3cfa: Merge "Add a few more C11 functions to the whitelist."
* commit '087b3cfa5b56c2e4a29cca225fdb1956033868ac':
  Add a few more C11 functions to the whitelist.
2014-06-06 22:39:08 +00:00
Elliott Hughes
132a66be46 am 3e0e7eea: Merge "Remove getdents from bionic."
* commit '3e0e7eea490d2080d0290a1e2709e98d8fcf0ebf':
  Remove getdents from bionic.
2014-06-06 22:39:07 +00:00
Christopher Ferris
5261fd2cac am b837767a: Merge "Update kernel header generation docs."
* commit 'b837767a63dfc65653448cf732090d7d0b270080':
  Update kernel header generation docs.
2014-06-06 22:32:23 +00:00
Christopher Ferris
ab39aba70e Remove unused scripts.
Change-Id: I3391d6c903f710b45e62bcf01058cf3ad9abe399
2014-06-06 15:28:42 -07:00
Elliott Hughes
6fa47ca484 Merge "Fix ndk_cruft.cpp __getdents64 build failure." 2014-06-06 22:25:19 +00:00
Elliott Hughes
1c60f8080a Merge "Rename __bionic_clone_entry to __start_thread." 2014-06-06 22:24:44 +00:00
Elliott Hughes
d1ead2af8b Fix ndk_cruft.cpp __getdents64 build failure.
Change-Id: Ia463113da0575b36b5a9935d8d45e7bd2c801357
2014-06-06 15:24:20 -07:00
Elliott Hughes
087b3cfa5b Merge "Add a few more C11 functions to the whitelist." 2014-06-06 22:21:17 +00:00
Elliott Hughes
f6b1d439cc Add a few more C11 functions to the whitelist.
Change-Id: Ie2e767910d7cc8a78c05e29960cf4ab52a59fe9d
2014-06-06 15:20:50 -07:00
Elliott Hughes
ebc8cd117a Rename __bionic_clone_entry to __start_thread.
This seems a bit less obscure.

Change-Id: I7dc528c253b73c861694f67556ad8f919bf92136
2014-06-06 15:18:54 -07:00
Elliott Hughes
3e0e7eea49 Merge "Remove getdents from bionic." 2014-06-06 22:17:59 +00:00
Christopher Ferris
b837767a63 Merge "Update kernel header generation docs." 2014-06-06 22:10:19 +00:00
Elliott Hughes
3d5cb30d23 Remove getdents from bionic.
Bug: 11156955
Change-Id: I6c306989801be552d85fba8a50dcdc79282fb9d2
2014-06-06 15:05:58 -07:00
Christopher Ferris
08b60747fe Update kernel header generation docs.
Also move the description of the cleanup data to the cleanup script.

Bug: 15433575
Change-Id: I21e2cbbfab55da483af1bbe36bbe59126b518e3c
2014-06-06 13:54:36 -07:00
Elliott Hughes
fd0de89e4c am c3bdc792: Merge "Fix the printf family for non-ASCII."
* commit 'c3bdc792be78d788663ff9b5e019b4af852dc6f7':
  Fix the printf family for non-ASCII.
2014-06-06 18:23:12 +00:00
Elliott Hughes
c3bdc792be Merge "Fix the printf family for non-ASCII." 2014-06-06 18:06:44 +00:00
Elliott Hughes
69f05d291d 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
2014-06-05 23:19:15 -07:00
Elliott Hughes
6db22710ce am e2a54ca8: Merge "Remove unnecessary instructions from x86/x86_64 syscalls."
* commit 'e2a54ca80e011db21665e9639af4608f58e32fbd':
  Remove unnecessary instructions from x86/x86_64 syscalls.
2014-06-06 01:18:27 +00:00
Elliott Hughes
e2a54ca80e Merge "Remove unnecessary instructions from x86/x86_64 syscalls." 2014-06-06 01:03:20 +00:00
Elliott Hughes
15a0456d0b 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
2014-06-05 17:24:30 -07:00
Elliott Hughes
a271b97773 am 50b79530: Merge "Fix unwinding through x86-64 __bionic_clone."
* commit '50b79530c6fea6d47d54edf6f351dcbd7d87ab6a':
  Fix unwinding through x86-64 __bionic_clone.
2014-06-05 23:56:26 +00:00
Elliott Hughes
50b79530c6 Merge "Fix unwinding through x86-64 __bionic_clone." 2014-06-05 23:38:19 +00:00
Elliott Hughes
aeb3016f81 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
2014-06-05 16:36:06 -07:00
Dan Albert
802d4cabf3 am 9c101eb9: Merge "Removes index() from bionic."
* commit '9c101eb9d12a87c9b68fce9052751df75e36d172':
  Removes index() from bionic.
2014-06-05 21:53:30 +00:00
Dan Albert
9c101eb9d1 Merge "Removes index() from bionic." 2014-06-05 21:34:49 +00:00
Christopher Ferris
675a41f56e am 8ac8278b: Merge "Fix for slm-tuned memmove (both 32- and 64-bit)."
* commit '8ac8278b0a673e30698ba4d81f495165b66acbd5':
  Fix for slm-tuned memmove (both 32- and 64-bit).
2014-06-05 18:29:19 +00:00
Dan Albert
a66c43eab0 am 431aa4dc: Merge "Remove bsd_signal and sysv_signal from bionic LP64."
* commit '431aa4dc9282e23231ba9243f43fd3d49b5f88b3':
  Remove bsd_signal and sysv_signal from bionic LP64.
2014-06-05 18:29:18 +00:00
Christopher Ferris
8ac8278b0a Merge "Fix for slm-tuned memmove (both 32- and 64-bit)." 2014-06-05 18:10:59 +00:00
Varvara Rainchik
fce861498c 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>
2014-06-05 11:08:09 -07:00
Dan Albert
40fca0f08b 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
2014-06-05 11:05:10 -07:00