Chao-Ying Fu
4cad8d6fdf
Support asm/sockios.h for MIPS.
...
Change-Id: I5ae75b0a8c2ff5698ca46f02bb371e710fb1fee0
2012-08-22 13:37:26 -07:00
Andrew Hsieh
17f2af7e1f
am a2b32b34: Merge "Update malloc.h"
...
* commit 'a2b32b34220a1bdea566502da1e3254c90f62f16':
Update malloc.h
2012-08-22 01:19:57 -07:00
Andrew Hsieh
a2b32b3422
Merge "Update malloc.h"
2012-08-22 01:08:42 -07:00
Andrew Hsieh
ad00822fd4
am 581a749f: Merge "Support getrlimit and setrlimit for MIPS."
...
* commit '581a749fb1c313dcc3d80303bcc9e129e89fdec1':
Support getrlimit and setrlimit for MIPS.
2012-08-21 19:55:57 -07:00
Andrew Hsieh
bfb393846b
am 143949da: Merge "Add a .note.android.ident section to Android ELF binaries"
...
* commit '143949daba4c1f040753a9456a5e8d7e505e5045':
Add a .note.android.ident section to Android ELF binaries
2012-08-21 19:55:56 -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
Andrew Hsieh
6395d9941e
am d27250b2: Merge "Support poll for MIPS."
...
* commit 'd27250b2635ad3d115983f7308cfd87ee2c3a056':
Support poll for MIPS.
2012-08-21 17:29:12 -07:00
Chao-Ying Fu
9f49f16bdf
Support getrlimit and setrlimit for MIPS.
...
Change-Id: Iff030a0eb2444bd1ba75dff9ba6b76c7cf9e0e7d
2012-08-21 17:24:01 -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
ef423edc2c
am e3cfaa6d: Merge "Enclosed functions in fenv.h with __BEGIN_DECLS/__END_DECLS"
...
* commit 'e3cfaa6d4251136ad6f3221d881ac12786169663':
Enclosed functions in fenv.h with __BEGIN_DECLS/__END_DECLS
2012-08-21 03:27:39 -07: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
459e3389fd
am 99791042: Merge "Support fcntl for MIPS with different cmd."
...
* commit '99791042b17e0d20adafe3d14a3197306520beb2':
Support fcntl for MIPS with different cmd.
2012-08-20 19:24:54 -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
16fc554082
am 57d7c468: Merge "Fix flags to *_PORTABLE in open_portable(), and support openat_portable()."
...
* commit '57d7c46837c8a0a64e8b339d45fdc2ebd09648d5':
Fix flags to *_PORTABLE in open_portable(), and support openat_portable().
2012-08-20 17:31:53 -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
c8ad44c4f3
am 4d39411f: Merge "Support mprotect."
...
* commit '4d39411f7d41e3c931f8be6b1455ba9627fa71b9':
Support mprotect.
2012-08-20 16:27:38 -07:00
Chao-Ying Fu
f43f982232
Support mprotect.
...
Change-Id: Ic786eb35f69d44379129faec02b1023ab2c3282a
2012-08-20 16:02:41 -07:00
Andrew Hsieh
1148901643
am 7f26cea9: 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
...
* commit '7f26cea9049c087b0552fb0f364ab6142a1ad227':
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:36:04 -07:00
Andrew Hsieh
bc95f91d24
am e33ad352: Merge "Remove linux-unistd.h"
...
* commit 'e33ad3528d23349a01113289272ffeff08106cf7':
Remove linux-unistd.h
2012-08-20 05:36:02 -07:00
Andrew Hsieh
7305bb5363
am ed722f12: Merge "Replace link.h for mips with new version for all platforms"
...
* commit 'ed722f1242d330bd3fe29ff0793e4c616190ef2d':
Replace link.h for mips with new version for all platforms
2012-08-20 05:36:01 -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
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
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
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
Chao-Ying Fu
3e1d447f43
Add portable support for errno.h.
...
Change-Id: Ia232caff586a1296b4330f450e4cfe4fec51198b
2012-08-15 11:58:43 -07:00
Chao-ying Fu
639c9f49ce
MIPS doesn't have __st_ino, so store 0 for this field in p_stat structure
...
Change-Id: Ia9ed9e5b90291e199b0b351eba65d22a6966a1c9
2012-08-14 11:14:08 -07:00
Shih-wei Liao
bf1b1e6c7f
Move libportable from ndk.git to development.git.
...
libportable should be in development.git instead of ndk.git.
Change-Id: Ic369ca6a0e4ffbd2741777c8d9ec578e8ce5abbd
2012-08-14 01:43:15 -07:00
Andrew Hsieh
e395327a7c
Add comments about why "call" instead of "jump" is used.
...
Related CL: https://android-review.googlesource.com/#/c/38651
Change-Id: I425e06f08fda90501a686c7e437d4e70fc1e4a1b
2012-07-25 15:39:00 -07:00
Andrew Hsieh
556182feb4
Fix SEGV when unwinding stack pasts __libc_init
...
Changed "jump __libc_init" to "call __libc_init" otherwise stack unwinding
past __libc_init may get wrong return address and crash the program or do
wield things. With "call", return address is pushed on stack and unwinding
stops correctly at _start. Note that __libc_init never returns, so this
fix wonʼt affect normal program execution. But just in case it "does"
return, jump to address 0 and halt.
Change-Id: Id194fb32adcbf89ae59939cee33c50b5bbdd36fe
2012-06-28 14:28:21 -07:00
Andrew Hsieh
1513e9eab2
Fixed wrong package names in samples hello-jni and two-libs
...
Fixed package names so tests project underneath can compile
Change-Id: Ia4e58e8caa5db65e05fdb2ec64e52c1564774899
2012-06-27 11:29:31 -07:00
Andrew Hsieh
5e30a6ae14
ndk: Add crtbrand.c ; crtbegin_static.S includes "atexit.S" for x86/mips
...
"atexit" isn't defined in libc.a for x86/mips (unlike their arm's counterpart).
Include atexit.S otherwise app using atexit() may fail to link statically.
Also, add crtbegin.c to brand crtbegin_static/dynamic.c with .note.ABI-tag
section of given API level. See $NDK/gen-platforms.sh
Change-Id: I2fdbb92119e3ca2da2c1ced6d77e63136ec35c34
2012-06-25 17:58:12 -07:00
Andrew Hsieh
62ef547786
ndk: Remove if_dl.h header
...
Remove AF_LINK and sockaddr_dl which are specpfic to BSD
(ie. doesn't exist in Linux)
Change-Id: I47fe4cdf76df14af99eaa17cfc366a65aee3f5ae
2012-06-12 10:38:00 +08:00
David 'Digit' Turner
5e7c4e6a57
ndk: Remove prebuilt C runtime objects. Add sources instead.
...
This patch removes all prebuilt C runtime object files from
the ndk/platforms/ directory. We replace them with equivalent
assembly sources lifted from the following directories:
bionic/libc/private/ (for __dso_handle.S and __dso_handle_so.S)
bionic/libc/arch-$ARCH/ (for all others)
Note: This requires that your NDK's gen-platforms.sh script be
capable of rebuilding the object files from sources.
See https://android-review.googlesource.com/36822
The goal here is to make it much easier to update these files,
and track their changes relative to the content of bionic/lib.
For example to fix the following issues in the future:
Change-Id: If4c84e2584b0e58ca3585b034bb8a13a8add8ab9
http://code.google.com/p/android/issues/detail?id=26911
http://code.google.com/p/android/issues/detail?id=23203
2012-05-31 10:58:57 +02:00
Raghu Gandham
ae9a5f960c
[MIPS] Import signal.h from bionic. This version fixes the
...
warning emitted by the toolchain
2012-05-02 18:46:58 -07:00
Andrew Hsieh
d0e65433d0
Fixed compilation error #include <android/*h>
...
Fixed compilation error when header in #include <android/*h> is
included alone.
Fix for rect.h already exists in $ANDROID/frameworks/native/include/android
Change-Id: I7c49e044507581c5ad591f26f99cda6870b411c5
2012-04-20 15:50:10 +08:00