Andrew Hsieh
21922de299
Add posix_memalign to API16's libc.so, and to stdlib.h for API 16, 17, 18, 19
...
posix_memalign is added to libc.so for API 17, 18, 19 but prototype
is missing from stdlib.h
Turns out API 16 supports posix_memalign too. Add it as well
See b.android.com/77861
Change-Id: I940cdc60af9f98490001d67bef32fee556a3ac51
2014-10-23 10:28:17 -07:00
Andrew Hsieh
c13cf09c4c
Merge "Add asm/a.out.h to arm64/mips/mips64"
2014-10-16 01:28:31 +00:00
Andrew Hsieh
4e47988fae
Merge "Remove macros putc*/getc* from API<21 stdio.h to use"
2014-10-16 01:28:21 +00:00
Andrew Hsieh
9376f14e28
Merge "Change sample native-codec's minSDK to android-21"
2014-10-16 01:27:33 +00:00
Neil Fuller
a6e8e0d8fb
Merge "Remove dependencies on FloatMath"
2014-10-15 10:27:19 +00:00
Andrew Hsieh
d8338a7e26
Add asm/a.out.h to arm64/mips/mips64
...
The common header include/linux/a.out.h include asm/a.out.h, but
arm64/mips/mips64 don't have it. Add a placeholder before bionic
has it
Change-Id: I7084e0beabe86fec32987a89e66d6c094f1e8c22
2014-10-15 11:13:01 +08:00
Andrew Hsieh
c810b3ce7a
Remove macros putc*/getc* from API<21 stdio.h to use
...
Macros putc, getc and their unlock cousins use internal functions and
variables not necessarily available in future libc.so (*1). Remove macros
and use functions aleady exists in libc.so instead.
(*1) https://android-review.googlesource.com/#/c/110662/
Change-Id: I3faa2d74de40ef8376119b38f2a39d46ece47d07
2014-10-15 11:09:47 +08:00
Andrew Hsieh
2437e141fe
Change sample native-codec's minSDK to android-21
...
android-L is renamed as android-21 in both coming SDK and NDK
Change-Id: I57b0dbe4d6e8add178dadfa6306bfc40aad27206
2014-10-15 11:03:55 +08:00
Andrew Hsieh
dc942b9c64
Merge "Make memory_order_acquire visible in global namespace"
2014-10-15 03:01:43 +00:00
Hans Boehm
1b2269becc
Make memory_order_acquire visible in global namespace
...
We were missing that using directive when including <atomic>.
Bug:17736764
Change-Id: I93673dc60cca47195ff7bd651840c77255fb2d4a
2014-10-15 11:00:28 +08:00
Andrew Hsieh
106046ae9e
Merge "Rename android-L to android-21"
2014-10-15 02:51:14 +00:00
Andrew Hsieh
da84168fb2
Rename android-L to android-21
...
Change-Id: I1e781b15a867cf6283756f35f2b5955c96637c39
2014-10-15 10:48:04 +08:00
Andrew Hsieh
b02b4bced4
Merge "Add missing function prototypes in time.h"
2014-10-15 02:44:06 +00:00
Haruki Hasegawa
13af1d8c37
Add missing function prototypes in time.h
...
Add clock_settime() and clock_nanosleep() function
prototypes in time.h.
Change-Id: I0eb45e465b3b48b9d4f3a4a8109a6f2d9c4f8ce2
Signed-off-by: Haruki Hasegawa <h6a.h4i.0@gmail.com >
2014-10-15 10:42:24 +08:00
Neil Fuller
dd4697d316
Remove dependencies on FloatMath
...
See frameworks/base commit 33253a4baa6279f81a73425b49dfb6abe5f5416e
for details.
Bug: https://code.google.com/p/android/issues/detail?id=36199
Change-Id: I01126788f34b9a464b873bc2fff03acedc43bb52
2014-10-02 15:19:08 +01:00
Andrew Hsieh
bb148d92db
Merge "Refresh android-L headers (WW40)"
2014-10-01 02:54:10 +00:00
Andrew Hsieh
a045a37c35
Refresh android-L headers (WW40)
...
linux/input.h: e2d86feb7b6b0b02b5e826c5f8836a6e104e9b71
stdlib.h and wchar.h: 3c5037f1b3b747e79d17a5f717d9f9c365132d33
sys/ucontext.h: 8e4d371091e5738346f5c6ad395b8487c2a5ec67
Change-Id: I80ced5cf212ff7c19628be10ba871ce1e6222d51
2014-09-30 09:24:03 +08:00
Andrew Hsieh
ec2d5674a8
Merge "Bump up clang vesion accepting __builtin_isnan __attribute__((pcs("aapcs")))"
2014-09-29 01:20:12 +00:00
Andrew Hsieh
154cb25408
Merge "Add posix_memalign to libc.so for API 17,18,19"
2014-09-29 01:20:03 +00:00
Andrew Hsieh
c316a240c5
Merge "Added sys/ucontext.h and sys/user.h to all API levels."
2014-09-29 01:18:07 +00:00
Andrew Hsieh
70319d4de1
Add posix_memalign to libc.so for API 17,18,19
...
note that arch-x86 has it in 797351fd3b
Change-Id: I34c5d0b6887bdc7bd3411a837f90e6788bdf7ff4
2014-09-26 16:28:36 +08:00
Andrew Hsieh
3dbef8fe11
Bump up clang vesion accepting __builtin_isnan __attribute__((pcs("aapcs")))
...
Upstream clang3.6 still doesn't allow change of calling convension of
__builtin_isnan from the default to "softfp" (via __attribute__((pcs("aapcs"))))
as required by bionic libm.so for 32-bit ARM. Let's hope clang3.7
fix that. See upstream bug http://llvm.org/bugs/show_bug.cgi?id=20958
Change-Id: Ibdcc1783ffa7cf2f36e733983bd6d912ad38df70
2014-09-26 16:20:56 +08:00
Dan Albert
20d16a75b2
Merge "Silence lcov existence test output."
2014-09-25 19:57:18 +00:00
Dan Albert
7d133d23f9
Silence lcov existence test output.
...
Change-Id: I72ea929c8358d82c5653d7b475a35ddcb918dac0
2014-09-25 11:23:30 -07:00
Dan Albert
217d230af8
Merge "Add acov for coverage gathering/reporting."
2014-09-22 16:18:11 +00:00
Dan Albert
98e2c644f2
Add acov for coverage gathering/reporting.
...
acov is a tool for gathering coverage information from a device and
generating a report from that information. To use:
1. sudo apt-get install lcov
2. Build application/library with coverage information.
3. Push the new binaries to the device.
4. Run tests with the additional environment variables:
* GCOV_PREFIX=/data/local/tmp/gcov
* GCOV_PREFIX_STRIP=`echo $(ANDROID_BUILD_TOP) | grep -o / | wc -l`
5. Run `acov`.
acov will pull all coverage information from the device, push it to the
right directories, run lcov, and display the coverage report (currently
by opening it in your browser).
Bug: 10134489
Change-Id: I604c8ec2e9fa5d23ee9c279b515ff6cfc497dfa7
2014-09-22 09:15:45 -07:00
Andrew Hsieh
9eac1b60d3
Added sys/ucontext.h and sys/user.h to all API levels.
...
Also
1. Header singal.h now includes <sys/ucontext.h>
2. asm/user.h include sys/user.h
3. change use of user_i387_struct to user_fpregs_struct
See bionic 26a8eb50a84e131d34d10d5d167d67e9995399bd
Change-Id: I9592e98b90d773ef5babb428a6a6ef208fe86327
2014-09-19 15:50:12 +00:00
Andrew Hsieh
eef4aba8b8
Merge "Add missing posix_memalign function in x86 libc.so.functions.txt. (See b.android.com/28834)"
2014-09-18 15:40:38 +00:00
Varvara Rainchik
797351fd3b
Add missing posix_memalign function in x86 libc.so.functions.txt.
...
(See b.android.com/28834)
android-17,-18,-19
posix_memalign
Change-Id: I9e0632f9fa8cabd17a66ded2dc6f3553261c4054
Signed-off-by: Varvara Rainchik <varvara.rainchik@intel.com >
2014-09-18 12:06:03 +04:00
Andrew Hsieh
5b6647076b
Merge "Bugfix for libportable to make compile happy."
2014-09-16 03:21:47 +00:00
WenHan Gu
e257b563df
Bugfix for libportable to make compile happy.
...
Just a tricky issue.
WRAP(stat) -> stat_portable, However we have a struct naming stat_portable.
Let's just rename it.
Change-Id: If0a33661d9d23750d4af45158d1336bb71a08cab
2014-09-16 11:01:28 +08:00
Andrew Hsieh
3941c44f61
Merge "Add support for x86 to hello-neon sample"
2014-09-15 17:43:18 +00:00
Andrew Hsieh
a8c78c384e
Merge "Refresh android-L headers/libs (WW37)"
2014-09-15 16:59:09 +00:00
Andrew Hsieh
0fd7f83fce
Refresh android-L headers/libs (WW37)
...
Change-Id: Ibdb7bebe7a0f73e767b7c62d1f603679163e768c
2014-09-12 13:49:48 -07:00
Anton Konovalov
57c928aaba
Add support for x86 to hello-neon sample
...
The sample hello-neon was updated to support x86 ABI.
This change is required:
https://android-review.googlesource.com/107511
Change-Id: Icc175afd6785cf454d168973582d7d85455624b5
Signed-off-by: Anton Konovalov <anton.konovalov@intel.com >
Signed-off-by: Pavel Chupin <pavel.v.chupin@intel.com >
2014-09-12 16:56:10 +04:00
Siva Velusamy
7ca91d0802
Merge "Android SDK Windows USB driver: Project Tango pid"
2014-09-11 14:11:38 +00:00
Siva Velusamy
372c5b71a6
Merge "Update revision of Android SDK USB driver for Windows"
2014-09-11 14:11:30 +00:00
Siva Velusamy
f41962ca29
Android SDK Windows USB driver: Project Tango pid
...
Change-Id: Id4a366755390338d9b8add35ad2df66eda9f2324
2014-09-10 14:19:42 -07:00
Siva Velusamy
05467d3526
Update revision of Android SDK USB driver for Windows
...
Rev 11 adds Project Tango (generic) drivers
Change-Id: Idfb99426ec3553fee2a8d2ec2d04dba029732ebe
2014-09-10 14:18:24 -07:00
Andrew Hsieh
913aff625f
Merge "libportable to adapt L header functions."
2014-09-09 03:09:23 +00:00
WenHan Gu
bce5ab4f3f
libportable to adapt L header functions.
...
Change-Id: Ie15c321ee3b1b21f264b12641bc064ee33dec418
2014-09-09 02:53:13 +00:00
Andrew Hsieh
9b87a9735a
Merge "Remove __signalfd4 from 32-bit ABIs; remove basename_r and dirname_r from 64-bit ABIs"
2014-09-09 00:30:17 +00:00
Andrew Hsieh
65df8d683e
Remove __signalfd4 from 32-bit ABIs; remove basename_r and dirname_r from 64-bit ABIs
...
Change-Id: Iee4bf016a0e929209143ec3fa79d542d34fd8917
2014-09-07 19:44:00 -07:00
Andrew Hsieh
d715bffe04
Merge "Fixed atexit()"
2014-09-08 02:37:17 +00:00
Andrew Hsieh
01a406c8ee
Merge "Fix build with sensor.h"
2014-09-08 02:37:06 +00:00
Andrew Hsieh
371b6dbef6
Merge "ptrace(3) should be varargs"
2014-09-08 02:34:04 +00:00
Andrew Hsieh
b1e7c7b0ab
Merge "Add __gnuc_va_list in stdio.h to stop gcc from generating include-fixed/stdio.h"
2014-09-08 02:33:55 +00:00
Andrew Hsieh
fb7bcce68a
Merge "Add back arc4random_stir for 32-bit android-L"
2014-09-08 02:33:44 +00:00
Andrew Hsieh
c6d393c1b2
Fix build with sensor.h
...
include stdbool.h to define bool for sensor.h
Change-Id: Ic7f57f098f2114b255db0d89fae8c5d16d7c59de
2014-09-04 20:11:46 -07:00
Andrew Hsieh
2db7f63f99
Fixed atexit()
...
See b.android.com/66595
Change-Id: I1d4c3db424c7f839e48756359cc095a6b1028ace
2014-09-04 13:17:25 -07:00