Elliott Hughes
f9ee804513
am 18779983: am 6a684524: Merge "Fix ptsname(3) and ttyname(3) to use TLS."
...
* commit '187799839d317b3a6ee0f32a70a19ce64d41fac5':
Fix ptsname(3) and ttyname(3) to use TLS.
2014-12-10 04:52:18 +00:00
Elliott Hughes
1f8812b2aa
am 938c251e: am 3592743f: Merge "Move BSD stuff together in <sys/endian.h>."
...
* commit '938c251e94cd6f38433ca5f6a1480cbaef2783d1':
Move BSD stuff together in <sys/endian.h>.
2014-12-10 04:31:18 +00:00
Elliott Hughes
a381fe8ebc
Fix ptsname(3) and ttyname(3) to use TLS.
...
Be safe by default.
Change-Id: I6c4a3f1fd4eee3a651b3162ce95b7e873de57521
2014-12-09 20:30:23 -08:00
Elliott Hughes
824f914cae
Move BSD stuff together in <sys/endian.h>.
...
Change-Id: I8bb511840f3cd98d5008034e405d82e923bd3203
2014-12-09 19:44:42 -08:00
Elliott Hughes
d0ee182bcf
am 4beb28d4: am 3f1c604c: Merge "<net/route.h> should include IPv6 too."
...
* commit '4beb28d427a61111e53b12cb78c39599ea1afd7b':
<net/route.h> should include IPv6 too.
2014-12-09 23:29:19 +00:00
Elliott Hughes
0098f245cf
am 92fd1774: am 7381e145: Merge "Sync <net/if_types.h> with upstream."
...
* commit '92fd17748376523e212dae0e606522b67d2c2883':
Sync <net/if_types.h> with upstream.
2014-12-09 23:20:59 +00:00
Elliott Hughes
a7feda3731
<net/route.h> should include IPv6 too.
...
Change-Id: I866097d8468aa8f326117d072444ebbc2a690719
2014-12-09 15:08:24 -08:00
Elliott Hughes
1ec05b7c78
Sync <net/if_types.h> with upstream.
...
Change-Id: I2c2ca47f5a21b78754c03deb3e9467ab79d9d033
2014-12-09 15:03:51 -08:00
Yabin Cui
c5132eb361
am e0601bd4: am 94926f8c: Merge "support _POSIX_REALTIME_SIGNALS"
...
* commit 'e0601bd49f04e5f248be4ebd976f73b1cb0b5023':
support _POSIX_REALTIME_SIGNALS
2014-12-09 22:10:11 +00:00
Yabin Cui
94926f8cfa
Merge "support _POSIX_REALTIME_SIGNALS"
2014-12-09 20:10:19 +00:00
Yabin Cui
f3d576b1e7
am e906cf68: am b033761c: Merge "Change _POSIX_CPUTIME macro to make it compitable with glibc."
...
* commit 'e906cf68f07ad8b64ec594a1e4115f5bc261caab':
Change _POSIX_CPUTIME macro to make it compitable with glibc.
2014-12-09 18:06:13 +00:00
Yabin Cui
b033761cbf
Merge "Change _POSIX_CPUTIME macro to make it compitable with glibc."
2014-12-09 17:51:37 +00:00
Yabin Cui
725756045e
Change _POSIX_CPUTIME macro to make it compitable with glibc.
...
Change-Id: I7a8dbb74bd622693c9fef60bd779687207517b7d
2014-12-09 09:16:11 -08:00
Elliott Hughes
19d76adddc
am b430e6d6: am 5536044b: Merge "Simplify our endian.h implementation."
...
* commit 'b430e6d6d21d983b62338950b7c7750c76691068':
Simplify our endian.h implementation.
2014-12-09 15:03:54 +00:00
Elliott Hughes
fc3d587f91
am c63ddc8b: am aa0002de: Merge "Merge mips setjmp/longjmp family."
...
* commit 'c63ddc8b8c793c732246cac9b4c95b9c1534ca12':
Merge mips setjmp/longjmp family.
2014-12-09 14:41:13 +00:00
Elliott Hughes
5a103a5a91
am 09416c9e: am 0b7d9d6f: Merge "Switch arch-mips64/include/machine to a symlink."
...
* commit '09416c9ec602f8385ad38af4ac0079b9385fbfbc':
Switch arch-mips64/include/machine to a symlink.
2014-12-09 14:41:12 +00:00
Elliott Hughes
b5e1fa5046
am 3cc8e0e9: am af829f2d: Merge "Use 64-bit units in the aarch64 setjmp implementation."
...
* commit '3cc8e0e9d5b79e78ec3f2f636e0f527ec8a58519':
Use 64-bit units in the aarch64 setjmp implementation.
2014-12-09 14:41:11 +00:00
Elliott Hughes
408d8fa464
am 16c93b47: am 86d06dcc: Merge "Switch arm and arm64 over to the x86 style of jmpbuf."
...
* commit '16c93b47646e2ea5c3e09719bf1698363833676f':
Switch arm and arm64 over to the x86 style of jmpbuf.
2014-12-09 14:41:10 +00:00
Elliott Hughes
b9abfd25d5
am 65187330: am 515a2ea1: Merge "Fix signal mask save/restore for x86-64."
...
* commit '6518733033ab076df32564ecb1a782313c993a86':
Fix signal mask save/restore for x86-64.
2014-12-09 14:41:05 +00:00
Elliott Hughes
2660970708
am b67ff7e3: am 734f0d64: Merge "Fix signal mask save/restore for arm64."
...
* commit 'b67ff7e37eac39bdbc06478a545b507462fdcee9':
Fix signal mask save/restore for arm64.
2014-12-09 14:41:04 +00:00
Yabin Cui
634816055f
support _POSIX_REALTIME_SIGNALS
...
Bug: 18489947
Change-Id: I2e834d68bc10ca5fc7ebde047b517a3074179475
2014-12-08 21:52:43 -08:00
Elliott Hughes
56e017306e
Simplify our endian.h implementation.
...
We can rely on the compiler's builtins. Tested on arm, arm64, mips, x86,
and x86-64.
Change-Id: I0f774ed7e85b3c791a3178d8ef17c6500e6a9ace
2014-12-08 20:35:08 -08:00
Elliott Hughes
d27ae2f8d7
Merge mips setjmp/longjmp family.
...
Bug: 16918359
Change-Id: I9033a7d178d431ddb09f1cfa6e4bf95ae02346e9
2014-12-08 17:07:53 -08:00
Elliott Hughes
2fecbfaeee
Switch arch-mips64/include/machine to a symlink.
...
Imagination already did the work to make the contents of these directories
identical. Let's take advantage of that fact.
Change-Id: Ib101ba39041fb500c9c618fa2020e72aa2ccd9c2
2014-12-08 16:48:34 -08:00
Elliott Hughes
9fa2cfbbdb
Use 64-bit units in the aarch64 setjmp implementation.
...
The use of 32-bit units for 64-bit stores and loads was driving me crazy.
Bug: 16918359
Change-Id: Ifb73aad8f8985a2adfcf5913b783ad9424f23e06
2014-12-08 16:23:10 -08:00
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
7b78e8187e
Fix signal mask save/restore for arm64.
...
Bug: 16918359
Change-Id: Ieb15f7f1658f5accee05665b72ba17831a80ea9d
2014-12-06 11:18:00 -08:00
Elliott Hughes
217f77df48
am ae141c52: am 7d3a99b1: Merge "Clean up the x86-64 and x86 setjmp families."
...
* commit 'ae141c526f8075f722d16ab6382f94db3a20d46f':
Clean up the x86-64 and x86 setjmp families.
2014-12-06 06:35:45 +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
03f865f037
am 9156e864: am 289f44a4: Merge "Clean up arm setjmp family."
...
* commit '9156e86466d8c9430608f26f1b28aab66e7ee7a1':
Clean up arm setjmp family.
2014-12-06 00:04:05 +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
8c838ec5f3
am d276faae: am 872da6d3: Merge "Clean up the arm64 setjmp."
...
* commit 'd276faae7c82cd139e984275b325edc4dbe313f3':
Clean up the arm64 setjmp.
2014-12-05 23:19:08 +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
65907a22d8
am cdf9ef0e: am 24214067: Merge "Add cache related sysconf queries"
...
* commit 'cdf9ef0e55480d74a1b99d942c37b66f2a3f1cf5':
Add cache related sysconf queries
2014-12-05 18:23:29 +00: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
256454b83b
am 458d0f1a: am 9e08a7bb: Merge "Restore symbols from <arpa/nameser.h>."
...
* commit '458d0f1a116776a9f83a19285a954983aea162dd':
Restore symbols from <arpa/nameser.h>.
2014-12-04 22:45:01 +00:00
Yabin Cui
9c81c996d9
am 59932806: am 295bc2b9: Merge "implement posix_madvise"
...
* commit '599328061c85f07079a9fd647db1dbb127f88854':
implement posix_madvise
2014-12-04 22:45:00 +00:00
Elliott Hughes
ecabc635ed
am d5320228: am e3e3feaf: Merge "Make the missing symbols script more useful."
...
* commit 'd532022864768e205997254d9177bc6b59636a84':
Make the missing symbols script more useful.
2014-12-04 22:44:57 +00: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
f0435506da
am 18a470e4: am 230005c4: Merge "Code using neon uses ARCH_ARM_HAVE_NEON."
...
* commit '18a470e435508a20b9f32a8d516a0da5fc361c81':
Code using neon uses ARCH_ARM_HAVE_NEON.
2014-12-04 19:51:42 +00:00
Elliott Hughes
50ebeec8b1
am 509317a4: am a18af83b: Merge "Remove __ARM_HAVE_VFP."
...
* commit '509317a4758fc7177ca2e7ca1151914cd7701268':
Remove __ARM_HAVE_VFP.
2014-12-04 19:51:41 +00:00
Elliott Hughes
2876478074
am c02d6add: am 6cbc56b8: Merge "Implement <pty.h>."
...
* commit 'c02d6add2d12ada65cc88db724921d23be6e3310':
Implement <pty.h>.
2014-12-04 19:51:40 +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
Yabin Cui
d756770681
am 0b2aabde: am 1898967e: Merge "change argument type in madvise"
...
* commit '0b2aabde32db99cffd4d06cda614edeac1112e37':
change argument type in madvise
2014-12-04 09:22:07 +00:00