Commit Graph

10101 Commits

Author SHA1 Message Date
Andrew Hsieh
c6427a73a2 Update NDK headers
Sync NDK headers with bionic's.  Most are new symbols.
The only big differences are in arch-mips/include/asm:

1) arch-mips/include/asm/unistd.h, see
   https://android-review.googlesource.com/#/c/40875
2) arch-mips/include/asm/*, see
   https://android-review.googlesource.com/#/c/43335
   https://android-review.googlesource.com/#/c/43440
   https://android-review.googlesource.com/#/c/43401

Change-Id: I8204f9b5f2f2c14a31dc28efc8a9d8c66cf73fe2
2012-09-24 12:31:43 -07:00
Andrew Hsieh
3c90126760 Merge "Update README.CRT.TXT" 2012-09-24 09:24:05 -07:00
Andrew Hsieh
a0de803db8 Update README.CRT.TXT
Change-Id: I7d0ec48c09c47081c01c9366faf993317990b237
2012-09-21 18:50:16 -07:00
Andrew Hsieh
b833605a2b Merge "Rewrite ARM crtbegin* as C files" 2012-09-06 18:14:38 -07:00
Andrew Hsieh
d0b834c7ad Rewrite ARM crtbegin* as C files
This is port of related CLs:
  9d40326830c2bd407427889c554adeb915ee6b4a
  f3cfcd869ded41d25c1f4f4e48e7c374a64f9583

Summary: By placing  __PREINIT_ARRAY__, __INIT_ARRAY__, __FINI_ARRAY__
and __CTOR_LIST__ on stack, this change allows PIC w/o relying on text
relocations.

Change-Id: I02a1b496b16aba692f4f9fa998a71efd943689fd
2012-09-06 15:27:56 +08:00
Andrew Hsieh
9864b88037 Merge "Replace deprecated APIs in NDK samples" 2012-08-30 08:17:05 -07:00
Andrew Hsieh
eb703bf543 Replace deprecated APIs in NDK samples
1. hello-gl2 from android-5 to android-7
2. native-activity from android-9 to android-10
3. native-audio from android-9 to android-10
4. native-plasma from android-9 to android-10

Related CL
  https://android-review.googlesource.com/#/c/42218, which
    adjusts android-10 to use android-9 header/lib

Related issue:
  http://code.google.com/p/android/issues/detail?id=20017

Change-Id: I49c4c0dd2cedb34522a9d196211ee96fce21b6c4
2012-08-30 13:02:53 +08:00
Raphael Moll
3fda35f2c9 Merge "Windows USB Driver for generic + Q, rev 7." 2012-08-29 10:56:46 -07:00
Andrew Hsieh
fcc2452b51 Merge "Remove unused .ctors, .dtors, and .eh_frame in MIPS crt*_so.S." 2012-08-28 23:08:56 -07:00
Raphael Moll
4d64923bb8 Windows USB Driver for generic + Q, rev 7.
(Cherry-picked from master c9533ad3cf)

Change-Id: Ia18fe5f08a6e2c6040e61f3105cff71cb3f4f8e5
2012-08-28 13:23:47 -07:00
Chao-Ying Fu
75f8d8217e Remove unused .ctors, .dtors, and .eh_frame in MIPS crt*_so.S.
Change-Id: I9b2d28c7c189d0f3a2ded694fadd0380cfd8e6e5
2012-08-28 13:21:42 -07:00
Andrew Hsieh
51f72cc1bd Merge "Support asm/sockios.h for MIPS." 2012-08-22 16:38:02 -07:00
Chao-Ying Fu
4cad8d6fdf Support asm/sockios.h for MIPS.
Change-Id: I5ae75b0a8c2ff5698ca46f02bb371e710fb1fee0
2012-08-22 13:37:26 -07:00
Andrew Hsieh
a2b32b3422 Merge "Update malloc.h" 2012-08-22 01:08:42 -07:00
Andrew Hsieh
581a749fb1 Merge "Support getrlimit and setrlimit for MIPS." 2012-08-21 19:48:50 -07:00
Andrew Hsieh
143949daba Merge "Add a .note.android.ident section to Android ELF binaries" 2012-08-21 19:48:16 -07:00
Chao-Ying Fu
9f49f16bdf Support getrlimit and setrlimit for MIPS.
Change-Id: Iff030a0eb2444bd1ba75dff9ba6b76c7cf9e0e7d
2012-08-21 17:24:01 -07:00
Andrew Hsieh
d27250b263 Merge "Support poll for MIPS." 2012-08-21 17:17:57 -07:00
Chao-Ying Fu
4cd3283046 Support poll for MIPS.
Change-Id: I1299817ea06c9f9ff5701dce0c6166370ef9e87d
2012-08-21 15:27:38 -07:00
Andrew Hsieh
fc638f96ae Add a .note.android.ident section to Android ELF binaries
See related CL:
  https://android-review.googlesource.com/#/c/37590

Change-Id: I1d5ab2f754731e9995061de560389c0efa121dea
2012-08-21 18:50:08 +08:00
Andrew Hsieh
e3cfaa6d42 Merge "Enclosed functions in fenv.h with __BEGIN_DECLS/__END_DECLS" 2012-08-21 03:25:11 -07:00
Andrew Hsieh
58a4918b94 Update malloc.h
Remove functions never implemented in bionic from malloc.h

Related CLs:
  https://android-review.googlesource.com/#/c/41728
  https://android-review.googlesource.com/#/c/41731
  https://android-review.googlesource.com/#/c/41717

Change-Id: I06639071e3fb442e2389a932382a88a7318606b9
2012-08-21 18:18:00 +08:00
Andrew Hsieh
a5280d312d Enclosed functions in fenv.h with __BEGIN_DECLS/__END_DECLS
Those are C funcitons

Change-Id: I8f481f29b278b8f28d9ce04635d0f04e9e148cb5
2012-08-21 10:41:51 +08:00
Andrew Hsieh
99791042b1 Merge "Support fcntl for MIPS with different cmd." 2012-08-20 19:16:35 -07:00
Chao-Ying Fu
5f79ffb271 Support fcntl for MIPS with different cmd.
Change-Id: I8d180ab9e18d69f0fd2748ad317319b691a86f35
2012-08-20 18:08:30 -07:00
Andrew Hsieh
57d7c46837 Merge "Fix flags to *_PORTABLE in open_portable(), and support openat_portable()." 2012-08-20 17:28:46 -07:00
Chao-Ying Fu
1d34dd0c27 Fix flags to *_PORTABLE in open_portable(), and support openat_portable().
Change-Id: Ib889899250fdfc6e7caded2506228f640fcdff3a
2012-08-20 17:07:27 -07:00
Andrew Hsieh
4d39411f7d Merge "Support mprotect." 2012-08-20 16:26:07 -07:00
Chao-Ying Fu
f43f982232 Support mprotect.
Change-Id: Ic786eb35f69d44379129faec02b1023ab2c3282a
2012-08-20 16:02:41 -07:00
Jean-Baptiste Queru
90b4e80ee9 Merge "Update path to telephonytests directory." 2012-08-20 10:20:55 -07:00
Jean-Baptiste Queru
f2b917197e Merge "Fix Eclipse .classpath file for JB." 2012-08-20 10:06:11 -07:00
Andrew Hsieh
7f26cea904 Merge "Update stdint.h; Refresh <arch>/include/machine/* stdint.h: https://android-review.googlesource.com/#/c/41714/ https://android-review.googlesource.com/#/c/40576/ <arch>/include/machine/*: to be consistent with bionic/libc/<arch>/include/machine/*" 2012-08-20 05:22:01 -07:00
Andrew Hsieh
e33ad3528d Merge "Remove linux-unistd.h" 2012-08-20 05:21:26 -07:00
Andrew Hsieh
ed722f1242 Merge "Replace link.h for mips with new version for all platforms" 2012-08-20 05:20:59 -07:00
Andrew Hsieh
61a3e1462c Update stdint.h; Refresh <arch>/include/machine/*
stdint.h: https://android-review.googlesource.com/#/c/41714/
            https://android-review.googlesource.com/#/c/40576/
  <arch>/include/machine/*: to be consistent with
     bionic/libc/<arch>/include/machine/*

Change-Id: Ieeb44c3e864bf64c4cad4d3c9d94024a7b520181
2012-08-20 18:32:15 +08:00
Pavel Chupin
51d4794277 Replace link.h for mips with new version for all platforms
Update from bionic/libc/include/link.h
For details see https://android-review.googlesource.com/#/c/41705

Change-Id: Ib9e658aa0606584b148e951ad199dc12c2f563c2
Signed-off-by: Pavel Chupin <pavel.v.chupin@intel.com>
2012-08-20 10:48:23 +04:00
Andrew Hsieh
7de8e93107 Remove linux-unistd.h
Change-Id: I95cc89bfacb05d92da658fa533cb75ac65d397bf
2012-08-18 16:08:51 +08:00
Andrew Hsieh
1659906d5e Merge "Retire LOCAL_NDK_VERSION (DO NOT MERGE)" 2012-08-18 01:04:19 -07:00
Andrew Hsieh
bd37ac2e42 Merge "Make sys/ioctl_compat.h portable." 2012-08-17 17:38:04 -07:00
Andrew Hsieh
d333a0d1f8 Merge "Update/Copy fenv.h" 2012-08-17 17:17:08 -07:00
Andrew Hsieh
f8e828d2d0 Merge "Add portable support for stuct statfs and two functions." 2012-08-17 17:16:20 -07:00
Chao-Ying Fu
584ef7f14c Make sys/ioctl_compat.h portable.
Change-Id: Id9c4c68c8422d46d463b9c987be180ea50c05099
2012-08-17 17:11:23 -07:00
Chao-Ying Fu
64c217eb07 Add portable support for stuct statfs and two functions.
Change-Id: I1e34428574a11bedb3a5a35a45dc519fcae3cd03
2012-08-17 12:22:39 -07:00
Andrew Hsieh
8bb4fd7683 Update/Copy fenv.h
Update from bionic/libm/arm/fenv.h
Copy from bionic/libm/mips/fenv.h

Related issue:
  http://code.google.com/p/android/issues/detail?id=36229

Change-Id: I4cba9523ecc466720927798e461fc167d6d6df7c
2012-08-17 19:02:58 +08:00
Andrew Hsieh
84061fa198 Merge "Support all portable requests." 2012-08-16 19:50:56 -07:00
Andrew Hsieh
2177f88f01 Merge "Support all MAP flags and update mmap_portable." 2012-08-16 19:45:47 -07:00
Chao-Ying Fu
25899fcec1 Support all MAP flags and update mmap_portable.
Change-Id: I17600e70028d35dc2f2da05ed4a1b3d7ad051a63
2012-08-16 18:46:17 -07:00
Chao-Ying Fu
0bcbd32a9a Support all portable requests.
Change-Id: I1032362a48456a961f258e624df313e7841b3d81
2012-08-16 17:52:19 -07:00
Andrew Hsieh
b31b79830b Retire LOCAL_NDK_VERSION (DO NOT MERGE)
Change-Id: If37bcae0c5833f195e954a8bfbda6b8686b3705e
2012-08-17 07:17:31 +08:00
Andrew Hsieh
110870d5d0 Merge "Add portable support for errno.h." 2012-08-16 01:59:46 -07:00