Commit Graph

8704 Commits

Author SHA1 Message Date
Elliott Hughes
b27a840f4b Add __pure2 to a few more functions, most notably gettid and pthread_self.
Change-Id: I7eee9f26f45130038af09d8285782b07f70a996f
2014-06-11 16:32:10 -07:00
Elliott Hughes
0ada9388e7 Merge "Add a couple more system call benchmarks." 2014-06-10 22:08:45 +00:00
Dan Albert
440bd6bcc3 Merge "Replaces vfork() implementation with fork()" 2014-06-10 22:08:45 +00:00
Dan Albert
210331d976 Replaces vfork() implementation with fork()
vfork() was removed from POSIX 2008, so this replaces its implementation
with a call to fork().

Bug: 13935372
Change-Id: I6d99ac9e52a2efc5ee9bda1cab908774b830cedc
2014-06-10 21:38:52 -07:00
Elliott Hughes
b28d37482e Merge "Size the benchmark name column appropriately." 2014-06-10 21:49:56 +00:00
Elliott Hughes
c0eed72cbf Size the benchmark name column appropriately.
Nobody likes misaligned output.

Change-Id: Ifbfd7beec755e91e204426a96c054d4ea20d3fae
2014-06-11 16:48:29 -07:00
Elliott Hughes
95f6cfc971 am bdb8b21d: Merge "AArch64: Fix memcmp16() test"
* commit 'bdb8b21d0547dd74c62af3ddc9b8e7670adcbe9f':
  AArch64: Fix memcmp16() test
2014-06-10 18:31:16 +00:00
Elliott Hughes
bdb8b21d05 Merge "AArch64: Fix memcmp16() test" 2014-06-10 18:25:40 +00:00
Serban Constantinescu
2aca7fe821 AArch64: Fix memcmp16() test
__memcmp16() should return an integer less than, equal to, or greater than
zero. However the tests looks for a specific value.

Change-Id: I06052f58f9ccc67146a3df9abb349c4bc19f090e
Signed-off-by: Serban Constantinescu <serban.constantinescu@arm.com>
2014-06-10 17:51:10 +01:00
Elliott Hughes
7634db5a06 Add a couple more system call benchmarks.
Bug: 15387103
Change-Id: I13419ddf77d201fdbde4c784259c0cb0dcfb9a77
2014-06-09 18:35:21 -07:00
Elliott Hughes
df8a09b132 am 2b8246fa: Merge "Hide rand48 implementation details."
* commit '2b8246fa755cf3e2828d702b6c27c2d238395fad':
  Hide rand48 implementation details.
2014-06-10 01:33:07 +00:00
Elliott Hughes
2b8246fa75 Merge "Hide rand48 implementation details." 2014-06-10 01:28:08 +00:00
Elliott Hughes
228b33e90c am bdcab25e: Merge "Hide non-standard syslog API."
* commit 'bdcab25ee6aebe2f5653fdc8f73e6bd94dadb763':
  Hide non-standard syslog API.
2014-06-10 01:14:54 +00:00
Elliott Hughes
809093bc21 Hide rand48 implementation details.
Bug: 11156955
Change-Id: I130272286989487dc22e246fb4ffbee5230225c4
2014-06-09 18:10:20 -07:00
Elliott Hughes
bdcab25ee6 Merge "Hide non-standard syslog API." 2014-06-10 01:09:10 +00:00
Elliott Hughes
a382a792a4 Hide non-standard syslog API.
The definitions are still available on LP32 for binary compatibility, but
they're gone on LP64, and the declarations are gone everywhere.

We should probably just make syslog(3) log to the regular Android log,
but that's a job for another day.

Bug: 11156955
Change-Id: I74a98c92f7922ea733549ec6d37c6fa8b7014860
2014-06-09 17:42:14 -07:00
Ying Wang
c3064d2772 am 199e8638: Merge "Use PRIVATE_POST_INSTALL_CMD to create symlink."
* commit '199e8638df12eb6373771ebb59a1f5a83c6de1cc':
  Use PRIVATE_POST_INSTALL_CMD to create symlink.
2014-06-10 00:00:45 +00:00
Ying Wang
199e8638df Merge "Use PRIVATE_POST_INSTALL_CMD to create symlink." 2014-06-09 23:55:19 +00:00
Elliott Hughes
97fbf8e746 am 87d4233c: Merge "Remove the MD5 implementation that was only used by toolbox."
* commit '87d4233c7224201b1199179b11c5c5f854ab36a3':
  Remove the MD5 implementation that was only used by toolbox.
2014-06-09 23:33:51 +00:00
Ying Wang
7f722b366a Use PRIVATE_POST_INSTALL_CMD to create symlink.
Bug: 15520908
Change-Id: Ib3349f7adb6def81abf07bfb9d37093e4a599d09
2014-06-09 16:32:51 -07:00
Elliott Hughes
87d4233c72 Merge "Remove the MD5 implementation that was only used by toolbox." 2014-06-09 23:29:21 +00:00
Elliott Hughes
67401638a9 Remove the MD5 implementation that was only used by toolbox.
I've already moved toolbox over to openssl.

Change-Id: Ia75fba5b5e3335a975b97787f653bf4df78e1b4e
2014-06-09 16:26:29 -07:00
Elliott Hughes
9f82c7bd52 am e7baf46b: Merge "Add a regression test for two libm bugs we didn\'t have."
* commit 'e7baf46b860fca249c98ba905150544cb49e6b1f':
  Add a regression test for two libm bugs we didn't have.
2014-06-09 23:26:04 +00:00
Elliott Hughes
e7baf46b86 Merge "Add a regression test for two libm bugs we didn't have." 2014-06-09 23:18:35 +00:00
Elliott Hughes
936ea9a1ce am 4779a11a: Merge "Move mips fenv implementation details into fenv.c."
* commit '4779a11a3dfa7314b3cb3998b1f9172c40dfc5f6':
  Move mips fenv implementation details into fenv.c.
2014-06-09 22:31:51 +00:00
Elliott Hughes
04e115c7f9 am 385f7009: Merge "Move x86 fenv implementation details into fenv.c."
* commit '385f70094ef45b974b804b7d29d9e92329538b46':
  Move x86 fenv implementation details into fenv.c.
2014-06-09 22:28:24 +00:00
Elliott Hughes
4779a11a3d Merge "Move mips fenv implementation details into fenv.c." 2014-06-09 22:27:30 +00:00
Elliott Hughes
89d61243f2 Move mips fenv implementation details into fenv.c.
Change-Id: I2415e4808e40c2981d016c01969ba14ea22bf82e
2014-06-09 15:25:15 -07:00
Elliott Hughes
385f70094e Merge "Move x86 fenv implementation details into fenv.c." 2014-06-09 22:22:10 +00:00
Elliott Hughes
43bf81e544 Move x86 fenv implementation details into fenv.c.
Change-Id: I6cb8c730483c325dc3cb75c2b2fbdd2d8455a54c
2014-06-09 15:20:59 -07:00
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