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
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
Dmitriy Ivanov
291dbf65ca
Merge "Count references for groups instead of instances"
2014-12-02 19:10:04 +00:00
Dmitriy Ivanov
ab972b9adf
Count references for groups instead of instances
...
Count references on the group level to avoid
partially unloading function that might be
referenced by other libraries in the local_group
Bonus: with this change we can correctly unload recursively
linked libraries. is_recursive check is removed.
Also dynamic executables (not .so) with 0 DT_NEEDED libraries
are now correctly linked.
Change-Id: Idfa83baef402840599b93a875f2881d9f020dbcd
2014-12-02 10:54:26 -08: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
Yabin Cui
46d0b81a94
Merge "restore sigprocmask in setjmp/longjmp test."
2014-12-02 18:37:28 +00:00
Yabin Cui
e323e99ffb
restore sigprocmask in setjmp/longjmp test.
...
Bug: 18571921
Change-Id: Ib8ca7a36abd3ccc729c20c0e32d45b1b33069f65
2014-12-02 10:35:25 -08:00
Dmitriy Ivanov
224fb6144a
Merge "Resolve "unused DT entry" warnings for DT_VERNEED and DT_VERNEEDNUM."
2014-12-02 17:37:18 +00:00
Alexander Ivchenko
e831433fe1
Resolve "unused DT entry" warnings for DT_VERNEED and DT_VERNEEDNUM.
...
Change-Id: Id18310811a6d183878a1d4d26cc2498f4fd00c55
Signed-off-by: Alexander Ivchenko <alexander.ivchenko@intel.com>
2014-12-02 15:34:30 +03:00
Christopher Ferris
8374a54813
Merge "Specify .cpu cortex-a15"
2014-12-02 02:29:52 +00:00
Elliott Hughes
ec544e1b35
Merge "Build our benchmarks against glibc too."
2014-12-02 00:57:44 +00:00
Elliott Hughes
212e0e3824
Build our benchmarks against glibc too.
...
Bug: 18556607
Change-Id: I455ac8b93c0835836180e549486bc52d393ee6a6
2014-12-01 16:43:51 -08:00
Elliott Hughes
076f69d828
Merge "Benchmark fread/fwrite both buffered and unbuffered."
2014-12-01 21:43:32 +00:00
Elliott Hughes
6f9d7444e8
Merge "Fix running the bionic benchmarks on the host."
2014-12-01 21:40:25 +00:00
Elliott Hughes
47dc7c974e
Benchmark fread/fwrite both buffered and unbuffered.
...
Bug: 18556607
Change-Id: I53905aedcea75fe550d9c423fb701c2c9bf8e831
2014-12-01 13:12:18 -08:00
Elliott Hughes
f2bb57cfe3
Fix running the bionic benchmarks on the host.
...
Bug: 18556607
Change-Id: I4e75bfcde788b43e1926be1b0146acf09b496390
2014-12-01 13:11:38 -08:00
Yabin Cui
3e6ef3f902
Merge "support _POSIX_CPUTIME"
2014-12-01 17:06:02 +00:00
David 'Digit' Turner
fabb4282be
Merge "libc: Fix headers to allow direct inclusion."
2014-12-01 16:50:04 +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
Elliott Hughes
7602628e97
Merge "Add error-check when mapping socket to fd"
2014-11-27 19:05:13 +00: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
4614032705
Merge "Move a private x86-64 header file out of the limelight."
2014-11-27 17:20:50 +00: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
Elliott Hughes
87516a6508
Merge "[MIPS] Rewrite of setjmp/longjmp for mips64 and mipsr6"
2014-11-27 02:28:50 +00:00
Elliott Hughes
cc0a9e6bdf
Merge "bionic tests: add setjmp/_setjmp/sigsetjmp tests."
2014-11-27 01:33:09 +00:00
Yongqin Liu
9fea4090f1
bionic tests: add setjmp/_setjmp/sigsetjmp tests.
...
Bug: 17288973
Change-Id: I2808eee58cbddae1b16fbe19a715b72d6dbaaec3
Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
2014-11-26 17:31:24 -08:00
Yabin Cui
d5c652756b
support _POSIX_CPUTIME
...
Bug: 18490039
Change-Id: I01fa83b48e1b908de1f227b6e4f98e280bcd50ee
2014-11-26 17:14:50 -08:00
Nicolas Geoffray
f64c43ba6c
Merge "Revert "Use mmap to create the pthread_internal_t.""
2014-11-26 11:57:46 +00: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
Yabin Cui
4a6069a8af
Merge "Use mmap to create the pthread_internal_t."
2014-11-25 23:53:44 +00:00
Yabin Cui
cc5f6543e3
Use mmap to create the pthread_internal_t.
...
Bug: 16847284
Change-Id: Ic8c85f95afac1d8422ecb69674c688d1fecb6a44
2014-11-25 15:25:06 -08:00
Yabin Cui
eb3a5e026e
Merge "flesh out sysconf(3) and the _POSIX_* constants"
2014-11-24 01:59:23 +00:00
Elliott Hughes
95a02366f2
Merge "Sync with upstream OpenBSD fts.c."
2014-11-23 18:06:29 +00:00
Dan Albert
806dd9f90c
Merge "Move some pthread functions to signal.h."
2014-11-22 22:38:51 +00:00
Elliott Hughes
2818279ace
Sync with upstream OpenBSD fts.c.
...
Change-Id: Ia7e26b603f6461095b5a8d7e8a6cdf4f8279fa84
2014-11-21 19:27:28 -08:00
Yabin Cui
1c19194c9d
flesh out sysconf(3) and the _POSIX_* constants
...
Bug: 17571891
Change-Id: I81036615486bde65969ae5662587fcc88348474e
2014-11-21 19:10:52 -08:00