Elliott Hughes
75096226c8
Switch arm and arm64 over to the x86 style of jmpbuf.
...
Specifically, use the argument to sigsetjmp as a flag in the buffer
to indicate whether or not the signal mask is valid.
Bug: 16918359
Change-Id: I5bb1f1220f14c105c6bc57e0c28c1dc366d1438f
2014-12-08 16:15:59 -08:00
Elliott Hughes
515a2ea1d5
Merge "Fix signal mask save/restore for x86-64."
2014-12-08 21:40:15 +00:00
Elliott Hughes
1c0c0ede57
Fix signal mask save/restore for x86-64.
...
Bug: 16918359
Change-Id: I30bf61e7d5f1c21daa3a1a21d361e98d77220bf3
2014-12-08 12:46:15 -08:00
Elliott Hughes
734f0d645e
Merge "Fix signal mask save/restore for arm64."
2014-12-08 20:27:14 +00:00
Elliott Hughes
7b78e8187e
Fix signal mask save/restore for arm64.
...
Bug: 16918359
Change-Id: Ieb15f7f1658f5accee05665b72ba17831a80ea9d
2014-12-06 11:18:00 -08:00
Elliott Hughes
7d3a99b1bb
Merge "Clean up the x86-64 and x86 setjmp families."
2014-12-06 06:23:09 +00:00
Elliott Hughes
8d4c55cc74
Clean up the x86-64 and x86 setjmp families.
...
Bug: 16918359
Change-Id: Ic8ca0af9ea99636bc71f19d46071f1cea6eef982
2014-12-05 22:20:08 -08:00
Elliott Hughes
289f44a459
Merge "Clean up arm setjmp family."
2014-12-05 23:53:47 +00:00
Elliott Hughes
b393299b85
Clean up arm setjmp family.
...
Bug: 16918359
Change-Id: I9b986bdbdbaefe9d9896a820ee8cfe860adfe5c5
2014-12-05 15:39:51 -08:00
Elliott Hughes
872da6d39c
Merge "Clean up the arm64 setjmp."
2014-12-05 23:06:17 +00:00
Elliott Hughes
9fb536de97
Clean up the arm64 setjmp.
...
Note that this doesn't address the fact that we don't save/restore the
real-time signals. But it does let us pass the tests we currently fail.
Bug: 16918359
Change-Id: I063a6926164289a71026a412da7f5dd2ca9a74b3
2014-12-05 15:05:45 -08:00
Tao Bao
2421406711
Merge "Add cache related sysconf queries"
2014-12-05 18:11:53 +00:00
Tao Bao
1f40be97b1
Add cache related sysconf queries
...
Several cache related queries are added, such as
_SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL1_DCACHE_SIZE and etc. For the
moment, we always return 0 for these queries.
Change-Id: I36f67af8128672d8c1eef49d6f2431cca5a94719
2014-12-04 15:24:28 -08:00
Elliott Hughes
9e08a7bbb8
Merge "Restore symbols from <arpa/nameser.h>."
2014-12-04 21:39:58 +00:00
Yabin Cui
295bc2b970
Merge "implement posix_madvise"
2014-12-04 21:30:43 +00:00
Elliott Hughes
42804c4b30
Restore symbols from <arpa/nameser.h>.
...
Bug: 18627252
Bug: https://code.google.com/p/android/issues/detail?id=81690
Change-Id: I45b6c09cf2b5aabb80900e267d27cc0ec93d4dd8
2014-12-04 12:39:46 -08:00
Elliott Hughes
e3e3feaf91
Merge "Make the missing symbols script more useful."
2014-12-04 20:04:39 +00:00
Elliott Hughes
0393221f47
Make the missing symbols script more useful.
...
If something's in POSIX, we don't need to show it in the glibc list.
If something's not implemented by glibc, we don't need to show it in the
POSIX list (because it's probably either a macro or obsolete).
Change-Id: Ied0f8d97d3fffb280c22e9cdf6782430d776c02f
2014-12-04 11:24:48 -08:00
Yabin Cui
5afae64a1b
implement posix_madvise
...
Bug: 18472477
Change-Id: I8183de6c281acf69ed5f7f88351b056b9827b162
2014-12-04 11:01:28 -08:00
Elliott Hughes
230005c4bd
Merge "Code using neon uses ARCH_ARM_HAVE_NEON."
2014-12-04 01:45:54 +00:00
Elliott Hughes
1309dcc842
Code using neon uses ARCH_ARM_HAVE_NEON.
...
Bug: 18556103
Change-Id: Ia8674dda223f81d616d15ee47b402ab4a3f98079
2014-12-03 17:41:26 -08:00
Elliott Hughes
a18af83bc1
Merge "Remove __ARM_HAVE_VFP."
2014-12-04 01:11:09 +00:00
Elliott Hughes
cb4c615bb9
Remove __ARM_HAVE_VFP.
...
Bug: 18556103
Change-Id: I6d4cc6a1b359ad2df1ce6687fd26f392059f6efd
2014-12-03 17:07:01 -08:00
Elliott Hughes
6cbc56b84b
Merge "Implement <pty.h>."
2014-12-04 00:45:42 +00:00
Elliott Hughes
65f0df7873
Implement <pty.h>.
...
Based on the package/apps/Terminal implementation. I'll switch them over
shortly. This also lets us build the toybox version of netcat.
Change-Id: Ia922a100141a67409264b43b937eeca07b21f344
2014-12-03 15:55:34 -08:00
Yabin Cui
1898967e41
Merge "change argument type in madvise"
2014-12-03 19:57:50 +00:00
Yabin Cui
efbb6fb3f7
change argument type in madvise
...
Make madvise prototype the same as linux man page.
Bug: 18539500
Change-Id: If3fd0e1d9539b9e10531ab9087bc4040e32b6e9b
2014-12-03 11:11:50 -08:00
Dmitriy Ivanov
6a447eeffc
Merge "Fix warning: overriding commands for target"
2014-12-03 18:55:56 +00:00
Dmitriy Ivanov
c7cbde320c
Fix warning: overriding commands for target
...
Change-Id: I00fb4d6a8ff388722b75de9a0f4316619aaf9320
2014-12-03 09:51:37 -08:00
Elliott Hughes
91a61f77e2
Merge "Switch x86 and x86-64 to __builtin_bswap*."
2014-12-03 16:20:06 +00:00
Elliott Hughes
244299f4e0
Merge "Switch aarch64 to __builtin_bswap16."
2014-12-03 16:15:45 +00:00
Elliott Hughes
12f35ada43
Switch x86 and x86-64 to __builtin_bswap*.
...
Bug: 18597513
Change-Id: I0781208efb3b560d7c6fa48f41be7bc6fc83521e
2014-12-02 20:16:05 -08:00
Elliott Hughes
1de2548c8e
Switch aarch64 to __builtin_bswap16.
...
It generates the same code.
Bug: 18597513
Change-Id: I164296da8c676668983dd93697c6dfa05f10ec56
2014-12-02 19:55:38 -08:00
Dmitriy Ivanov
8408d7efac
Merge "Fix soinfo_unload"
2014-12-03 03:25:58 +00:00
Dmitriy Ivanov
5ae82cba59
Fix soinfo_unload
...
1. Take into consideration that the local_group_root_
is not set for all of not linked libraries.
2. We need to check visited list earlier to avoid double
soinfo_free.
Change-Id: Iabc0a06a97c63f7e6bd4641731f50bb1466fed4f
2014-12-02 17:28:34 -08:00
Elliott Hughes
baf792bff8
Merge "Remove __ARM_HAVE_HALFWORD_MULTIPLY."
2014-12-03 01:12:48 +00:00
Elliott Hughes
a5602c566e
Remove __ARM_HAVE_HALFWORD_MULTIPLY.
...
Bug: 18556103
Change-Id: I17e498539f77ddf7d1fb980ee93155d3c3ccd85e
2014-12-02 16:58:17 -08:00
Elliott Hughes
6bec3484ee
Merge "Remove __ARM_HAVE_LDREXD."
2014-12-03 00:57:28 +00:00
Elliott Hughes
6651aa6bc1
Remove __ARM_HAVE_LDREXD.
...
No one uses this.
Bug: 18556103
Change-Id: Icecc3a7b5cb0a36960f27d030d8f4f8ee471f86c
2014-12-03 00:57:07 +00:00
Elliott Hughes
f840cefaea
Merge "Kill <machine/exec.h>."
2014-12-03 00:42:56 +00:00
Elliott Hughes
b514026eb2
Kill <machine/exec.h>.
...
Bug: 18546535
Change-Id: I479e003deab21e31eb5caa5393067ed1dc558387
2014-12-02 16:16:29 -08:00
Dmitriy Ivanov
6995c1dcb5
Merge "Extract bionic-prepare-run-on-host to inc file."
2014-12-03 00:02:13 +00:00
Dmitriy Ivanov
06b1b8ceac
Extract bionic-prepare-run-on-host to inc file.
...
Make benchmark run-on-host depend on bionic-prepare-run-on-host.
Change-Id: I0bdbf561b2580d607a49b7c83cc273320ac55429
2014-12-02 15:15:34 -08:00
Elliott Hughes
432f763c0c
Merge "Avoid pathological behavior in OpenBSD's fread."
2014-12-02 22:40:53 +00:00
Elliott Hughes
20841a137b
Avoid pathological behavior in OpenBSD's fread.
...
Bug: https://code.google.com/p/android/issues/detail?id=81155
Bug: 18556607
Change-Id: Idc60976b79610e2202cc42dc393dcb4ca6c42e05
2014-12-02 14:22:02 -08:00
Dmitriy Ivanov
5cd127d3aa
Merge "Fix mips build"
2014-12-02 21:37:50 +00:00
Dmitriy Ivanov
8dd2590549
Merge "Create /system/lib(64)? symlinks for host tests."
2014-12-02 21:30:12 +00:00
Dmitriy Ivanov
20463e3e53
Fix mips build
...
Change-Id: Iddbf06784d19556a55d833e20a68e6ccf5a7c5be
2014-12-02 13:27:40 -08:00
Dmitriy Ivanov
a55126f1f6
Create /system/lib(64)? symlinks for host tests.
...
Replace LD_LIBRARY_PATH with default path for
the tests run on host.
Bug: 18589961
Change-Id: Id4a84b73d25c2ca9c557fcfa19b8169daeaa016b
2014-12-02 12:11:08 -08:00
Yabin Cui
4e7d66ddb5
Merge "Use mmap to create the pthread_internal_t."
2014-12-02 19:45:48 +00:00