Commit Graph

8407 Commits

Author SHA1 Message Date
Christopher Ferris
1cada9b3ea Merge "Remove unused scripts." 2014-06-07 01:45:28 +00:00
Elliott Hughes
47ba295b06 Rewrite and hide longjmperror.
This shouldn't be public API, isn't supported on x86/x86_64, and it's
unlikely anyone would have actually seen the message before anyway.
Using __libc_fatal makes it much more likely to be seen.

Bug: 11156955
Change-Id: Icf7f654b22a7dacd89668b60c11e5705c7215c08
2014-06-06 16:49:39 -07:00
Elliott Hughes
afd4df20c9 am 6fa47ca4: Merge "Fix ndk_cruft.cpp __getdents64 build failure."
* commit '6fa47ca484aa37b0a2a5734a9def32973d110cc6':
  Fix ndk_cruft.cpp __getdents64 build failure.
2014-06-06 22:39:09 +00:00
Elliott Hughes
655dba09c7 am 1c60f808: Merge "Rename __bionic_clone_entry to __start_thread."
* commit '1c60f8080acaf0f1794689886e94e54d15d43a7b':
  Rename __bionic_clone_entry to __start_thread.
2014-06-06 22:39:09 +00:00
Elliott Hughes
e932f5b5d8 am 087b3cfa: Merge "Add a few more C11 functions to the whitelist."
* commit '087b3cfa5b56c2e4a29cca225fdb1956033868ac':
  Add a few more C11 functions to the whitelist.
2014-06-06 22:39:08 +00:00
Elliott Hughes
132a66be46 am 3e0e7eea: Merge "Remove getdents from bionic."
* commit '3e0e7eea490d2080d0290a1e2709e98d8fcf0ebf':
  Remove getdents from bionic.
2014-06-06 22:39:07 +00:00
Christopher Ferris
5261fd2cac am b837767a: Merge "Update kernel header generation docs."
* commit 'b837767a63dfc65653448cf732090d7d0b270080':
  Update kernel header generation docs.
2014-06-06 22:32:23 +00:00
Christopher Ferris
ab39aba70e Remove unused scripts.
Change-Id: I3391d6c903f710b45e62bcf01058cf3ad9abe399
2014-06-06 15:28:42 -07:00
Elliott Hughes
6fa47ca484 Merge "Fix ndk_cruft.cpp __getdents64 build failure." 2014-06-06 22:25:19 +00:00
Elliott Hughes
1c60f8080a Merge "Rename __bionic_clone_entry to __start_thread." 2014-06-06 22:24:44 +00:00
Elliott Hughes
d1ead2af8b Fix ndk_cruft.cpp __getdents64 build failure.
Change-Id: Ia463113da0575b36b5a9935d8d45e7bd2c801357
2014-06-06 15:24:20 -07:00
Elliott Hughes
087b3cfa5b Merge "Add a few more C11 functions to the whitelist." 2014-06-06 22:21:17 +00:00
Elliott Hughes
f6b1d439cc Add a few more C11 functions to the whitelist.
Change-Id: Ie2e767910d7cc8a78c05e29960cf4ab52a59fe9d
2014-06-06 15:20:50 -07:00
Elliott Hughes
ebc8cd117a Rename __bionic_clone_entry to __start_thread.
This seems a bit less obscure.

Change-Id: I7dc528c253b73c861694f67556ad8f919bf92136
2014-06-06 15:18:54 -07:00
Elliott Hughes
3e0e7eea49 Merge "Remove getdents from bionic." 2014-06-06 22:17:59 +00:00
Christopher Ferris
b837767a63 Merge "Update kernel header generation docs." 2014-06-06 22:10:19 +00:00
Elliott Hughes
3d5cb30d23 Remove getdents from bionic.
Bug: 11156955
Change-Id: I6c306989801be552d85fba8a50dcdc79282fb9d2
2014-06-06 15:05:58 -07:00
Christopher Ferris
08b60747fe Update kernel header generation docs.
Also move the description of the cleanup data to the cleanup script.

Bug: 15433575
Change-Id: I21e2cbbfab55da483af1bbe36bbe59126b518e3c
2014-06-06 13:54:36 -07:00
Elliott Hughes
fd0de89e4c am c3bdc792: Merge "Fix the printf family for non-ASCII."
* commit 'c3bdc792be78d788663ff9b5e019b4af852dc6f7':
  Fix the printf family for non-ASCII.
2014-06-06 18:23:12 +00:00
Elliott Hughes
c3bdc792be Merge "Fix the printf family for non-ASCII." 2014-06-06 18:06:44 +00:00
Elliott Hughes
69f05d291d Fix the printf family for non-ASCII.
The bug here turned out to be that we hadn't increased the constant
corresponding to the maximum number of bytes in a character to match
our new implementation, so any character requiring more than a byte
in UTF-8 would break our printf family.

Bug: 15439554
Change-Id: I693e5e6eb11c640b5886e848502908ec5fff53b1
2014-06-05 23:19:15 -07:00
Elliott Hughes
6db22710ce am e2a54ca8: Merge "Remove unnecessary instructions from x86/x86_64 syscalls."
* commit 'e2a54ca80e011db21665e9639af4608f58e32fbd':
  Remove unnecessary instructions from x86/x86_64 syscalls.
2014-06-06 01:18:27 +00:00
Elliott Hughes
e2a54ca80e Merge "Remove unnecessary instructions from x86/x86_64 syscalls." 2014-06-06 01:03:20 +00:00
Elliott Hughes
15a0456d0b Remove unnecessary instructions from x86/x86_64 syscalls.
__set_errno returns -1 exactly so that callers don't need to bother.
The other architectures were already taking advantage of this, but
no one had ever fixed x86 and x86_64.

Change-Id: Ie131494be664f6c4a1bbf8c61bbbed58eac56122
2014-06-05 17:24:30 -07:00
Elliott Hughes
a271b97773 am 50b79530: Merge "Fix unwinding through x86-64 __bionic_clone."
* commit '50b79530c6fea6d47d54edf6f351dcbd7d87ab6a':
  Fix unwinding through x86-64 __bionic_clone.
2014-06-05 23:56:26 +00:00
Elliott Hughes
50b79530c6 Merge "Fix unwinding through x86-64 __bionic_clone." 2014-06-05 23:38:19 +00:00
Elliott Hughes
aeb3016f81 Fix unwinding through x86-64 __bionic_clone.
x86-64 needs these CFI directives to stop unwinding here.
I've also cleaned up the assembler a little, and made x86 and x86-64
a little more alike.

Bug: 15195760
Change-Id: I40f92c007843c29c933bb6876fe2b4611e1b946b
2014-06-05 16:36:06 -07:00
Dan Albert
802d4cabf3 am 9c101eb9: Merge "Removes index() from bionic."
* commit '9c101eb9d12a87c9b68fce9052751df75e36d172':
  Removes index() from bionic.
2014-06-05 21:53:30 +00:00
Dan Albert
9c101eb9d1 Merge "Removes index() from bionic." 2014-06-05 21:34:49 +00:00
Christopher Ferris
675a41f56e am 8ac8278b: Merge "Fix for slm-tuned memmove (both 32- and 64-bit)."
* commit '8ac8278b0a673e30698ba4d81f495165b66acbd5':
  Fix for slm-tuned memmove (both 32- and 64-bit).
2014-06-05 18:29:19 +00:00
Dan Albert
a66c43eab0 am 431aa4dc: Merge "Remove bsd_signal and sysv_signal from bionic LP64."
* commit '431aa4dc9282e23231ba9243f43fd3d49b5f88b3':
  Remove bsd_signal and sysv_signal from bionic LP64.
2014-06-05 18:29:18 +00:00
Christopher Ferris
8ac8278b0a Merge "Fix for slm-tuned memmove (both 32- and 64-bit)." 2014-06-05 18:10:59 +00:00
Varvara Rainchik
fce861498c Fix for slm-tuned memmove (both 32- and 64-bit).
Introduce a test for memmove that catches a fault.
Fix both 32- and 64-bit versions of slm-tuned memmove.

Change-Id: Ib416def2610a0972e32c3b9b6055b54967643dc3
Signed-off-by: Varvara Rainchik <varvara.rainchik@intel.com>
2014-06-05 11:08:09 -07:00
Dan Albert
40fca0f08b Removes index() from bionic.
This function has been removed from POSIX.

Unfortunately, we can't leave #define index(a, b) strchr((a), (b)) in its place
because defining a preprocessor macro for index() breaks a whole lot of code.

Bug: 13935372
Change-Id: Ifda348acde06da61c12e7ee2f8fe6950a3174dd1
2014-06-05 11:05:10 -07:00
Dan Albert
431aa4dc92 Merge "Remove bsd_signal and sysv_signal from bionic LP64." 2014-06-05 18:03:45 +00:00
Dan Albert
205dd7d9b3 Remove bsd_signal and sysv_signal from bionic LP64.
bsd_signal was removed in POSIX 2008, sysv_signal was never POSIX.

Bug: 13935372
Change-Id: I7688e5cc317247ff075dcf99b598f515fb4f15c4
2014-06-05 08:21:17 -07:00
Elliott Hughes
3cd4b783fb am 8aabecf3: Merge "Hide __libc_fini."
* commit '8aabecf35c71a8255db259cba01005eea10485cf':
  Hide __libc_fini.
2014-06-05 03:51:24 +00:00
Elliott Hughes
8aabecf35c Merge "Hide __libc_fini." 2014-06-05 03:24:25 +00:00
Dan Albert
60d57baf57 am 76812041: Merge "Revert "Remove ftime from bionic LP64""
* commit '768120416ba465b8dcac21737f7d4451df962406':
  Revert "Remove ftime from bionic LP64"
2014-06-05 01:06:30 +00:00
Dan Albert
768120416b Merge "Revert "Remove ftime from bionic LP64"" 2014-06-05 00:50:56 +00:00
Dan Albert
0921204660 Revert "Remove ftime from bionic LP64"
Breaking some build... will look in to it later.

This reverts commit 26d6799bbe.

Change-Id: I35fa770221be3a181bd37c6c3dce1bf37a69a4a1
2014-06-05 00:50:43 +00:00
Dan Albert
3d7fd88364 am 428581fb: Merge "Remove ftime from bionic LP64"
* commit '428581fb4532d4369aece3e42906e27e634af050':
  Remove ftime from bionic LP64
2014-06-04 23:58:35 +00:00
Dan Albert
428581fb45 Merge "Remove ftime from bionic LP64" 2014-06-04 23:42:27 +00:00
Elliott Hughes
1f29665f15 Hide __libc_fini.
Bug: 11156955
Change-Id: Id5af3540c6ec4d9ef969d62a230144fe8bb76b0b
2014-06-04 16:29:37 -07:00
Elliott Hughes
a4edb72350 am 37229f2a: Merge "Temporarily expose dlmalloc_usable_size."
* commit '37229f2a9271b6e0d0d1ec516421018b807f00e8':
  Temporarily expose dlmalloc_usable_size.
2014-06-04 23:29:31 +00:00
Dan Albert
26d6799bbe Remove ftime from bionic LP64
Bug: 13935372
Change-Id: I5dd31147143b23a090a3b75b846dc5354e599121
2014-06-04 16:25:24 -07:00
Elliott Hughes
67c437b231 Revert "Temporarily expose dlmalloc_usable_size."
This reverts commit 6403cc4870.

Change-Id: Id1ce4088be1e6c83271c6317eb3e5f7fc11c7b95
2014-06-04 23:14:48 +00:00
Elliott Hughes
37229f2a92 Merge "Temporarily expose dlmalloc_usable_size." 2014-06-04 23:11:06 +00:00
Elliott Hughes
6403cc4870 Temporarily expose dlmalloc_usable_size.
Bug: 15425694
Change-Id: I47e1ca598817359260c372fec8072e76886054f0
2014-06-04 16:08:17 -07:00
Elliott Hughes
02255f2674 am 53e3bbab: Merge "Temporary fix for asan_malloc_linux.cc build failure."
* commit '53e3bbab07f8d410418f87007177d5ad81e38bcf':
  Temporary fix for asan_malloc_linux.cc build failure.
2014-06-04 22:35:28 +00:00