Commit Graph

9243 Commits

Author SHA1 Message Date
Elliott Hughes
7222b1b594 Hide __signalfd4, used to implement signalfd(3).
Bug: 11156955
Change-Id: I50842279cb5b32ec8bd45193435574e415cd806e
2014-05-16 15:47:29 -07:00
Jingwei Zhang
568d64dc62 Accuracy tests for libm
This patch adds tests for 14 math functions to address coverage
issue of math functions discussed in:
https://android-review.googlesource.com/#/c/49653/

Change-Id: Ia7200b93d4f5c7928a3fb827ca6932226384a116
Signed-off-by: Jingwei Zhang <jingwei.zhang@intel.com>
Signed-off-by: Yong Yao <yong.yao@intel.com>
2014-05-16 15:31:55 -07:00
Elliott Hughes
6b7987cca3 Hide various debug malloc implementation details.
Bug: 11156955
Change-Id: Ib9d69d49ecec8eff4f12392bde94d843ae53d442
2014-05-16 15:23:54 -07:00
Elliott Hughes
bd27a8b4af Remove dead code.
This doesn't exist upstream.

Really we should upgrade to the current arc4random, but that's a bigger
job for another day.

Bug: 11156955
Change-Id: If6cd41b79139c64c17e81999e246cf4f00882ce8
2014-05-16 14:43:00 -07:00
Elliott Hughes
971f66e469 am 1453b3df: am 7177d1d6: am d9b06298: Merge "Hide __futex_wake_ex and __futex_wait_ex."
* commit '1453b3df559609252633e40d677aadaf5dd70309':
  Hide __futex_wake_ex and __futex_wait_ex.
2014-05-16 20:07:34 +00:00
Elliott Hughes
1453b3df55 am 7177d1d6: am d9b06298: Merge "Hide __futex_wake_ex and __futex_wait_ex."
* commit '7177d1d6bb8f61e399dc5df1c0a15c04419ff426':
  Hide __futex_wake_ex and __futex_wait_ex.
2014-05-16 20:05:07 +00:00
Elliott Hughes
7177d1d6bb am d9b06298: Merge "Hide __futex_wake_ex and __futex_wait_ex."
* commit 'd9b0629868fe4a2ce2e144b826dd869b6d808834':
  Hide __futex_wake_ex and __futex_wait_ex.
2014-05-16 19:59:57 +00:00
Elliott Hughes
d9b0629868 Merge "Hide __futex_wake_ex and __futex_wait_ex." 2014-05-16 19:56:52 +00:00
Elliott Hughes
3973de9616 Hide __futex_wake_ex and __futex_wait_ex.
Also remove some cruft that isn't needed now we're using uapi headers.

Bug: 11156955
Change-Id: I936b9c5b01d8bd6bfb2e5bc0e3f86cd86739cc04
2014-05-16 12:53:31 -07:00
Elliott Hughes
a0accd85c9 am 0178eba2: am 9700b6ca: am 22ade3c3: Merge "With libstdc++ in libc, __futex_wait and __futex_wake can be hidden."
* commit '0178eba213dfec500e71cd9889ece5af2f7de4cb':
  With libstdc++ in libc, __futex_wait and __futex_wake can be hidden.
2014-05-16 18:10:33 +00:00
Elliott Hughes
0178eba213 am 9700b6ca: am 22ade3c3: Merge "With libstdc++ in libc, __futex_wait and __futex_wake can be hidden."
* commit '9700b6ca97736062348469a83ede28dc1310d2db':
  With libstdc++ in libc, __futex_wait and __futex_wake can be hidden.
2014-05-16 18:07:04 +00:00
Elliott Hughes
9700b6ca97 am 22ade3c3: Merge "With libstdc++ in libc, __futex_wait and __futex_wake can be hidden."
* commit '22ade3c30d83407d19cd3a2b49ead66e6c5e3cf0':
  With libstdc++ in libc, __futex_wait and __futex_wake can be hidden.
2014-05-16 18:03:32 +00:00
Elliott Hughes
22ade3c30d Merge "With libstdc++ in libc, __futex_wait and __futex_wake can be hidden." 2014-05-16 18:00:51 +00:00
Elliott Hughes
879180c3ac With libstdc++ in libc, __futex_wait and __futex_wake can be hidden.
This patch is conservative and just touches LP64. (But not because we
know of anyone using this in LP32.)

Bug: 13367666
Change-Id: Id45652debc4534584479b16b501401f6f23acea9
2014-05-16 10:58:59 -07:00
Elliott Hughes
ae04d58b96 am 505de840: am 80cff53e: am 2a602272: Merge "Move libstdc++ into libc."
* commit '505de840a225be10947f6aa25b25e8e623e670e5':
  Move libstdc++ into libc.
2014-05-16 17:40:55 +00:00
Elliott Hughes
505de840a2 am 80cff53e: am 2a602272: Merge "Move libstdc++ into libc."
* commit '80cff53e138cca6c2634e08f5ed1198facc7adb6':
  Move libstdc++ into libc.
2014-05-16 16:42:48 +00:00
Elliott Hughes
80cff53e13 am 2a602272: Merge "Move libstdc++ into libc."
* commit '2a60227223da700e4ae1b5436f61aea99fc7a5aa':
  Move libstdc++ into libc.
2014-05-16 16:39:45 +00:00
Elliott Hughes
2a60227223 Merge "Move libstdc++ into libc." 2014-05-16 16:37:20 +00:00
Christopher Ferris
02aabff12e am c98359cc: am 0d9c78af: am 5265ad62: Merge "Fix comment typo."
* commit 'c98359cc6bffdffe03067740a0ad691cc16d83fa':
  Fix comment typo.
2014-05-16 02:21:53 +00:00
Christopher Ferris
c98359cc6b am 0d9c78af: am 5265ad62: Merge "Fix comment typo."
* commit '0d9c78afb314f60a9d384de4eaf5884a00ae57d3':
  Fix comment typo.
2014-05-16 02:18:31 +00:00
Christopher Ferris
0d9c78afb3 am 5265ad62: Merge "Fix comment typo."
* commit '5265ad6273cd7c61d096ebe0e29e493915e7c63e':
  Fix comment typo.
2014-05-16 02:16:17 +00:00
Christopher Ferris
5265ad6273 Merge "Fix comment typo." 2014-05-16 02:14:07 +00:00
Christopher Ferris
9029d2f638 Fix comment typo.
Change-Id: I1909f724826b531daf14fec4853e40d578fc0f59
2014-05-15 19:11:58 -07:00
Dmitriy Ivanov
6a0f7d6187 am a161eea2: am 7f3d6b69: am 0a5b0166: Merge "Register _cleanup function with atexit"
* commit 'a161eea241da06c70995248df7a00b6553050e05':
  Register _cleanup function with atexit
2014-05-16 00:43:54 +00:00
Dmitriy Ivanov
a161eea241 am 7f3d6b69: am 0a5b0166: Merge "Register _cleanup function with atexit"
* commit '7f3d6b69cee423bb726814fb4b929c535b7d607e':
  Register _cleanup function with atexit
2014-05-16 00:41:48 +00:00
Dmitriy Ivanov
7f3d6b69ce am 0a5b0166: Merge "Register _cleanup function with atexit"
* commit '0a5b01662316a06be68f3250c1b678c5ef17cc40':
  Register _cleanup function with atexit
2014-05-16 00:40:18 +00:00
Dmitriy Ivanov
0a5b016623 Merge "Register _cleanup function with atexit" 2014-05-16 00:37:54 +00:00
Elliott Hughes
c571c26820 am 9eb2d38d: am b9fdad77: am ec81b4a3: Merge "Scrub uapi headers slightly harder."
* commit '9eb2d38d53b2d00a9b5bd189a34f51afb7c385bf':
  Scrub uapi headers slightly harder.
2014-05-15 23:12:23 +00:00
Elliott Hughes
9eb2d38d53 am b9fdad77: am ec81b4a3: Merge "Scrub uapi headers slightly harder."
* commit 'b9fdad7715f3b3182e0fd6947446ef8df82064e8':
  Scrub uapi headers slightly harder.
2014-05-15 23:08:50 +00:00
Elliott Hughes
b9fdad7715 am ec81b4a3: Merge "Scrub uapi headers slightly harder."
* commit 'ec81b4a380e1bbbaf6e582cd28476a245694abe7':
  Scrub uapi headers slightly harder.
2014-05-15 23:05:33 +00:00
Elliott Hughes
ec81b4a380 Merge "Scrub uapi headers slightly harder." 2014-05-15 23:03:25 +00:00
Dmitriy Ivanov
128e0b65b2 am 67bdd4b8: am b17cc880: am 86bc436e: Merge "Improve detection of already loaded libraries"
* commit '67bdd4b8a1e56ba7cb4dd1d946d279ba32674e35':
  Improve detection of already loaded libraries
2014-05-15 22:04:50 +00:00
Dmitriy Ivanov
67bdd4b8a1 am b17cc880: am 86bc436e: Merge "Improve detection of already loaded libraries"
* commit 'b17cc8801a24464c9e0e9cb1829ebfb50f8588d4':
  Improve detection of already loaded libraries
2014-05-15 22:02:16 +00:00
Dmitriy Ivanov
b17cc8801a am 86bc436e: Merge "Improve detection of already loaded libraries"
* commit '86bc436e20621656cd76b653ae3396c6584259e5':
  Improve detection of already loaded libraries
2014-05-15 21:59:05 +00:00
Dmitriy Ivanov
86bc436e20 Merge "Improve detection of already loaded libraries" 2014-05-15 21:55:24 +00:00
Dmitriy Ivanov
623b0d05bd Register _cleanup function with atexit
* Register cleanup function with atexit
   instead of calling it explicitly on
   exit()
 * abort() no longer calls _cleanup:
   Flushing stdio buffers on abort is no
   longer required by POSIX.
 * dlmalloc no longer need to reset cleanup
   (see above)
 * Upstream findfp.c makebuf.c setvbuf.cexit.c
   to openbsd versions.

Bug: 14415367
Change-Id: I277058852485a9d3dbb13e5c232db5f9948d78ac
2014-05-15 13:05:21 -07:00
Elliott Hughes
8ed7a23309 Scrub uapi headers slightly harder.
There's no point having always-false tests. It just makes the headers
harder to read.

Bug: 11560081
Change-Id: I6187755e1514ca9ff5642b3c1b0489f22edddaf5
2014-05-15 12:01:11 -07:00
The Android Automerger
bd8097e040 merge in master-release history after reset to 5491a4fd4d 2014-05-15 05:49:24 -07:00
Calin Juravle
5491a4fd4d am 08589ca2: am e5205d35: am 089c7c92: Merge "Document a known test issue in stdio_test.cpp."
* commit '08589ca235a82a7cdfb14db16c8e84a11d12f93d':
  Document a known test issue in stdio_test.cpp.
2014-05-15 10:34:37 +00:00
Calin Juravle
bfcc82b3c0 am 4c9eab72: am 83c94c6d: am 98efae4c: Merge "Fill in missing bits in x86(_64) ucontext_t"
* commit '4c9eab723481df5921296c2dba2dbdd8a81b1395':
  Fill in missing bits in x86(_64) ucontext_t
2014-05-15 10:34:37 +00:00
Calin Juravle
08589ca235 am e5205d35: am 089c7c92: Merge "Document a known test issue in stdio_test.cpp."
* commit 'e5205d35efb594cf1f645237b85114da45c2a352':
  Document a known test issue in stdio_test.cpp.
2014-05-15 09:42:04 +00:00
Calin Juravle
4c9eab7234 am 83c94c6d: am 98efae4c: Merge "Fill in missing bits in x86(_64) ucontext_t"
* commit '83c94c6d60d6615c69cb0548c1b846f210f93262':
  Fill in missing bits in x86(_64) ucontext_t
2014-05-15 09:42:04 +00:00
Calin Juravle
e5205d35ef am 089c7c92: Merge "Document a known test issue in stdio_test.cpp."
* commit '089c7c921786ff6255526feec96552fc16ada7f4':
  Document a known test issue in stdio_test.cpp.
2014-05-15 09:38:08 +00:00
Calin Juravle
83c94c6d60 am 98efae4c: Merge "Fill in missing bits in x86(_64) ucontext_t"
* commit '98efae4c09ba05c5b25c95ea4a39b0711e6f8b98':
  Fill in missing bits in x86(_64) ucontext_t
2014-05-15 09:38:08 +00:00
Calin Juravle
089c7c9217 Merge "Document a known test issue in stdio_test.cpp." 2014-05-15 09:36:22 +00:00
Calin Juravle
98efae4c09 Merge "Fill in missing bits in x86(_64) ucontext_t" 2014-05-15 09:36:01 +00:00
Calin Juravle
9b95ea936a Document a known test issue in stdio_test.cpp.
Bug: 13077905
Change-Id: Iab7fc7be0737c732e26cc07ecd7884b3087b51bb
2014-05-15 10:34:06 +01:00
Calin Juravle
a6ab968ca0 Fill in missing bits in x86(_64) ucontext_t
Bug: 12828904
Bug: 12875898
Change-Id: I0ec0dfe16af80bfb3153f3c3b1b3d180eff30f39
2014-05-15 10:34:06 +01:00
Andrew Hsieh
61c88b5648 am 5d76a6c2: am c67e917a: am d0a89921: Merge "Rename user_i387_struct -> user_fpregs_struct in sys/ucontext.h"
* commit '5d76a6c26e47cbd1b9c98b0151dda1677db32af6':
  Rename  user_i387_struct -> user_fpregs_struct in sys/ucontext.h
2014-05-15 01:59:52 +00:00
Andrew Hsieh
5d76a6c26e am c67e917a: am d0a89921: Merge "Rename user_i387_struct -> user_fpregs_struct in sys/ucontext.h"
* commit 'c67e917abc57c189411621032232f3d18773c66a':
  Rename  user_i387_struct -> user_fpregs_struct in sys/ucontext.h
2014-05-15 01:56:15 +00:00