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
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
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
Elliott Hughes
308c4d3fb1
am b06e125c
: am 91a61f77
: Merge "Switch x86 and x86-64 to __builtin_bswap*."
...
* commit 'b06e125c01ff30cc3835d6c8c025e256a82356bf':
Switch x86 and x86-64 to __builtin_bswap*.
2014-12-03 17:31:35 +00:00
Elliott Hughes
855916362c
am 58543de7
: am 244299f4
: Merge "Switch aarch64 to __builtin_bswap16."
...
* commit '58543de7215df81859e8ada22210773d4ab0ea82':
Switch aarch64 to __builtin_bswap16.
2014-12-03 17:31:34 +00:00
Elliott Hughes
91a61f77e2
Merge "Switch x86 and x86-64 to __builtin_bswap*."
2014-12-03 16:20:06 +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
Elliott Hughes
1c27acc32c
am 5f48eda7
: am baf792bf
: Merge "Remove __ARM_HAVE_HALFWORD_MULTIPLY."
...
* commit '5f48eda760e563e39231b1a0eaba086a5c0403a2':
Remove __ARM_HAVE_HALFWORD_MULTIPLY.
2014-12-03 02:47:47 +00:00
Elliott Hughes
f6116c5ea1
am 81b5f9f4
: am 6bec3484
: Merge "Remove __ARM_HAVE_LDREXD."
...
* commit '81b5f9f42f037690be5fbcb9501bd37e1f8bb3c1':
Remove __ARM_HAVE_LDREXD.
2014-12-03 02:47:46 +00:00
Elliott Hughes
39bf9593c4
am 52b3cbae
: am f840cefa
: Merge "Kill <machine/exec.h>."
...
* commit '52b3cbae58e9069eebb09b913cf51a3a2781813d':
Kill <machine/exec.h>.
2014-12-03 02:47:45 +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
6651aa6bc1
Remove __ARM_HAVE_LDREXD.
...
No one uses this.
Bug: 18556103
Change-Id: Icecc3a7b5cb0a36960f27d030d8f4f8ee471f86c
2014-12-03 00:57:07 +00:00
Elliott Hughes
b514026eb2
Kill <machine/exec.h>.
...
Bug: 18546535
Change-Id: I479e003deab21e31eb5caa5393067ed1dc558387
2014-12-02 16:16:29 -08:00
Elliott Hughes
66f7b2758f
Merge "Remove unnecessary #undefs from AOSP." into lmp-mr1-dev-plus-aosp
2014-12-02 23:00:37 +00:00
Elliott Hughes
6c1e3f6e56
Remove unnecessary #undefs from AOSP.
...
This is a manual revert of 111461aaae
.
git revert does the wrong thing because that patch shares lines (that we
want to keep) with 168667c972
and git
revert just removes them.
Change-Id: I83ac8c95e5c90a4137b7742a9b7536e1627f1ac7
2014-12-02 14:50:20 -08:00
Elliott Hughes
c28e2797a7
am cc7e28f1
: am 432f763c
: Merge "Avoid pathological behavior in OpenBSD\'s fread."
...
* commit 'cc7e28f111bfa5cd859ab7ac4eac8f98d9f10af3':
Avoid pathological behavior in OpenBSD's fread.
2014-12-02 22:49:36 +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
Yabin Cui
864ba276f9
am 5fea4532
: am 4e7d66dd
: Merge "Use mmap to create the pthread_internal_t."
...
* commit '5fea45328f7a596ab2040c8ea2fe227cf1752a07':
Use mmap to create the pthread_internal_t.
2014-12-02 22:00:39 +00:00
Elliott Hughes
12b7dd0900
am 152e978f
: Merge "Put stdin/stdout/stderr symbols in place." into lmp-mr1-dev
...
* commit '152e978f73fc6cd37d0d82de69f1cf8134b34b90':
Put stdin/stdout/stderr symbols in place.
2014-12-02 19:16:51 +00:00
Elliott Hughes
152e978f73
Merge "Put stdin/stdout/stderr symbols in place." into lmp-mr1-dev
2014-12-02 18:56:50 +00:00
Yabin Cui
8574a0670b
Use mmap to create the pthread_internal_t.
...
Bug: 16847284
Change-Id: I488fa236f57aa3acb29b4ffbbab2fab51b0653be
2014-12-02 10:39:25 -08:00
Lorenzo Colitti
8a94b864bf
am e5477f83
: Fail queries fast if no DNS servers are configured.
...
* commit 'e5477f83b0a639b86d8cbe710f25d9808a8f72af':
Fail queries fast if no DNS servers are configured.
2014-12-02 07:00:47 +00:00
Elliott Hughes
111461aaae
Put stdin/stdout/stderr symbols in place.
...
To help with future binary compatibility.
Bug: 18553223
Change-Id: Ia8103b4f189c18528b11948ac9e520f61b9ccc0e
2014-12-01 21:27:59 -08:00
Christopher Ferris
8374a54813
Merge "Specify .cpu cortex-a15"
2014-12-02 02:29:52 +00:00
Elliott Hughes
212e0e3824
Build our benchmarks against glibc too.
...
Bug: 18556607
Change-Id: I455ac8b93c0835836180e549486bc52d393ee6a6
2014-12-01 16:43:51 -08:00
Lorenzo Colitti
e5477f83b0
Fail queries fast if no DNS servers are configured.
...
When no DNS servers are configured (and thus there is no chance
that the DNS query will suceed), res_nsend returns early, but
it does not tell the cache that the query has failed.
Therefore, if the caller retries the query, it will block for
PENDING_REQUEST_TIMEOUT (= 20 seconds) waiting for the "existing
query" (which isn't actually doing anything) to complete.
Bug: 18240188
Bug: 18327075
Change-Id: I0df13ff4a17ee65e640be96695a3af31b020963a
2014-12-01 20:03:25 +00:00
Yabin Cui
3e6ef3f902
Merge "support _POSIX_CPUTIME"
2014-12-01 17:06:02 +00:00
David 'Digit' Turner
aad1a39dfb
libc: Fix headers to allow direct inclusion.
...
These headers are missing a few #includes to allow their direct
inclusion from C
http://b.android.com/79841
Change-Id: Ifc712c17f4da70b26adb67d4d49ed659f53c3621
2014-12-01 15:44:24 +01:00
Bernhard Rosenkränzer
ce46f5576a
Specify .cpu cortex-a15
...
When building with clang without this change, as errors out saying pldw
is an unsupported instruction (because it isn't part of the ARMv7 core
instruction set).
Let as know using pldw is fine.
Change-Id: Ie1f9c4b873e93ab2b3b374d2d46e476a4e581710
Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
2014-11-30 22:17:30 +01:00
Robert Alm
3638a83657
Add error-check when mapping socket to fd
...
The call to fdopen can fail in several ways.
The fprintf on the next line will then dereference a
NULL-pointer FILE*.
Added a NULL-check, closed the socket, returned system error
and added a comment about it.
Change-Id: I7a6b26aa3c79452b1fdd76af12dfa75da88cbad7
2014-11-27 11:01:50 -08:00
Elliott Hughes
1b66f6e9d7
Move a private x86-64 header file out of the limelight.
...
Currently this is on everyone's include path and is getting exported
via the NDK.
Change-Id: Ia417839fb65c7e0afddcd9fae3438665dae8e752
2014-11-26 19:31:19 -08:00
Yabin Cui
d5c652756b
support _POSIX_CPUTIME
...
Bug: 18490039
Change-Id: I01fa83b48e1b908de1f227b6e4f98e280bcd50ee
2014-11-26 17:14:50 -08:00
Nicolas Geoffray
5b8ceff5f8
Revert "Use mmap to create the pthread_internal_t."
...
Unfortunately, this change provokes random crashes for ART, and
I have seen libc crashes on the device that might be related to it.
Reverting it fixes the ART crashes. there is unfortunately no
stack trace for the crashes, but just a "Segmentation fault" message.
This reverts commit cc5f6543e3
.
Change-Id: I68dca8e1e9b9edcce7eb84596e8db619e40e8052
2014-11-26 11:56:54 +00:00
Duane Sand
3a4786348e
[MIPS] Rewrite of setjmp/longjmp for mips64 and mipsr6
...
Change-Id: Idcd13413520dd503bc9cf782553675313e500a83
2014-11-25 17:33:10 -08:00