Commit Graph

8398 Commits

Author SHA1 Message Date
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
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
Elliott Hughes
53e3bbab07 Merge "Temporary fix for asan_malloc_linux.cc build failure." 2014-06-04 22:21:13 +00:00
Elliott Hughes
14442bb229 Temporary fix for asan_malloc_linux.cc build failure.
Bug: 15432753
Change-Id: I02a3a2c826e6d01e6809c51588a9670dcd179123
2014-06-04 15:20:46 -07:00
Elliott Hughes
b27cb268c0 am 38732aa9: Merge "Fix debug malloc."
* commit '38732aa9ea28b54d55c46b6b1f9367cb8fa147f1':
  Fix debug malloc.
2014-06-04 21:44:20 +00:00
Dan Albert
ea5c19c4cf am 623dce3b: Merge "Removes wcswcs from bionic for LP64."
* commit '623dce3bd43975ca5b8698955a9fd8f18e9d5963':
  Removes wcswcs from bionic for LP64.
2014-06-04 21:29:25 +00:00
Elliott Hughes
38732aa9ea Merge "Fix debug malloc." 2014-06-04 21:10:55 +00:00
Elliott Hughes
8e52e8fe83 Fix debug malloc.
Previously the dynamically-loaded part of the debug malloc implementation
wanted to access hidden symbols in libc itself.

Bug: 15426546
Change-Id: I6a366ef626854d1af1d705ca24842817b1c02a19
2014-06-04 14:08:20 -07:00
Dan Albert
623dce3bd4 Merge "Removes wcswcs from bionic for LP64." 2014-06-04 20:59:10 +00:00
Dan Albert
001f8f041b Removes wcswcs from bionic for LP64.
Bug: 13935372
Change-Id: I0deb15e769da4fa81bb65a87f3c86db5163a5796
2014-06-04 12:01:56 -07:00
Elliott Hughes
8c5d317041 am e120cba3: Merge "Cherrypick upstream OpenBSD\'s vfwprintf.c revision 1.11."
* commit 'e120cba31df5249b720579312e799bd1c65f8e3d':
  Cherrypick upstream OpenBSD's vfwprintf.c revision 1.11.
2014-06-04 17:28:48 +00:00