829c089f83ddee37203b52bcb294867a9ae7bdbc |
|
29-Aug-2012 |
Nick Kralevich <nnk@google.com> |
disable _FORTIFY_SOURCE under clang Clang and _FORTIFY_SOURCE are just plain incompatible with each other. First of all, clang doesn't understand the __attribute__((gnu_inline)) header. Second of all, Clang doesn't have support for __builtin_va_arg_pack() and __builtin_va_arg_pack_len() (see http://clang.llvm.org/docs/UsersManual.html#c_unimpl_gcc) Until we can resolve these issues, don't even try using _FORTIFY_SOURCE under clang. Change-Id: I81c2b8073bb3276fa9a4a6b93c427b641038356a
|
5fec211f6064adaff361c051a627198157b2c37b |
|
04-Aug-2012 |
Shih-wei Liao <sliao@google.com> |
Revert "Fix the clang build: this compiler doesn't support the gnu_inline function attribute" This reverts commit 4f1f149c3757c594f9ff987e5ddd919c3e7dba10.
|
2b7f68c03df9df33708280cf3f5e8f5eba81dda6 |
|
04-Aug-2012 |
Shih-wei Liao <sliao@google.com> |
Revert "Fix the clang build: this compiler doesn't support the gnu_inline function attribute" This reverts commit 4f1f149c3757c594f9ff987e5ddd919c3e7dba10.
|
4f1f149c3757c594f9ff987e5ddd919c3e7dba10 |
|
03-Aug-2012 |
Shih-wei Liao <sliao@google.com> |
Fix the clang build: this compiler doesn't support the gnu_inline function attribute Recent clang compiler doesn't have gnu_inline working. When frameworks/rs is compiled with clang instead of gcc, it no longer works. Will be fixed by this patch. Change-Id: I8b281a1305151909e18958b73914ea27343cb4cd
|
9b6cc223a36835c4367a036d4cfeff14d25bc742 |
|
13-Jul-2012 |
Nick Kralevich <nnk@google.com> |
FORTIFY_SOURCE: introduce __BIONIC_FORTIFY_UNKNOWN_SIZE macro Replace all occurances of "(size_t) -1" with a __BIONIC_FORTIFY_UNKNOWN_SIZE macro. Change-Id: I0b188f6cf31417d2dbef0e1bd759de3f9782873a
|
71a18dd435e96564539b5af71b8ea5093a2109a1 |
|
07-Jun-2012 |
Nick Kralevich <nnk@google.com> |
_FORTIFY_SOURCE: add memset / bzero support Add _FORTIFY_SOURCE support for the following functions: * memset * bzero Move the __BIONIC_FORTIFY_INLINE definition to cdefs.h so it can be used from multiple header files. Change-Id: Iead4d5e35de6ec97786d58ee12573f9b11135bb7
|
a677907ee8ecca034318fdb97902fa73e7392c4f |
|
21-Mar-2012 |
Nick Kralevich <nnk@google.com> |
string.h: add __attribute__ ((pure)) to string functions cdefs.h: Introduce the __purefunc attribute, which allows us to mark certain functions as being "pure". http://gcc.gnu.org/onlinedocs/gcc/Function-Attributes.html Many functions have no effects except the return value and their return value depends only on the parameters and/or global variables. Such a function can be subject to common subexpression elimination and loop optimization just as an arithmetic operator would be. string.h: Mark many commently used string functions as "pure", to allow for additional compiler optimizations. Change-Id: I42961f90f822b6dbcbc3fd72cdbe774a7adc8785
|
8eda21baa54977e4d164a4174d06b6aa12115fb1 |
|
17-Mar-2011 |
David 'Digit' Turner <digit@android.com> |
libc: <sys/cdefs.h>: Fix the use of __STDC_VERSION__ from C++ See http://code.google.com/p/android/issues/detail?id=14627 for context. Change-Id: Idb10b675667d0d6e64dcb1d382be11e45aa6f4c4
|
23d24394e72715ddf580726655c8ba3fbcf11bfe |
|
06-Dec-2010 |
David 'Digit' Turner <digit@google.com> |
libc: Add <android/api-level.h> Add a new header that defines __ANDROID_API__ as a constant integer corresponding to the current native API level. This header is included by <sys/cdefs.h> Change-Id: Ib4774e247b395991266245815a24292afc919848 NOTE: This header is already provided by the NDK's platform headers. for levels 3 to 9.
|
50ace4fec5e8cb5afcbc656a4556fa528adfd760 |
|
17-Jun-2010 |
David 'Digit' Turner <digit@google.com> |
Remove compiler warnings when building Bionic. Also add missing declarations to misc. functions. Fix clearerr() implementation (previous was broken). Handle feature test macros like _POSIX_C_SOURCE properly. Change-Id: Icdc973a6b9d550a166fc2545f727ea837fe800c4
|
3527fd6f0df794207215790321824b7844cc712d |
|
15-Jun-2010 |
David 'Digit' Turner <digit@google.com> |
wchar.h: improve wchar_t support in Bionic Change-Id: Iffd41046fd0933c66542abf7627a1569522dfcb2
|
1dc9e472e19acfe6dc7f41e429236e7eef7ceda1 |
|
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
|
1767f908af327fa388b1c66883760ad851267013 |
|
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
|
a27d2baa0c1a2ec70f47ea9199b1dd6762c8a349 |
|
21-Oct-2008 |
The Android Open Source Project <initial-contribution@android.com> |
Initial Contribution
|