Commit Graph

13292 Commits

Author SHA1 Message Date
Andrew Hsieh
7e3d050add am 2f35f1fa: Merge "Update android-20 wchar.h up to bionic state."
* commit '2f35f1fa51db20695be65668986e44dd80da9616':
  Update android-20 wchar.h up to bionic state.
2014-05-16 00:30:21 +00:00
Andrew Hsieh
2f35f1fa51 Merge "Update android-20 wchar.h up to bionic state." 2014-05-16 00:27:28 +00:00
Arseniy Antonov
4e1ef36772 Update android-20 wchar.h up to bionic state.
Corresponding changes in bionic:
Ia9bd0785bc42c7b46e2bb6c3d9b9a9d3f769d983
I5abdc7cc3c27c109b7900c94b112f18a95c35763

Change-Id: Ie86fd15226fe552b6f0e60c24debbe1d79f7a332
Signed-off-by: Arseniy Antonov <arseniy.antonov@intel.com>
2014-05-15 18:48:19 +04:00
Andrew Hsieh
2ec7a5c0f6 am a5afedd2: Merge "Fixes samples Teapot/MoreTeapots armeabi-v7a-hard; native-audio debug build"
* commit 'a5afedd2e21846f8cd8d662c4a7ef7ec3dc6dfee':
  Fixes samples Teapot/MoreTeapots armeabi-v7a-hard; native-audio debug build
2014-05-15 11:03:55 +00:00
Andrew Hsieh
a5afedd2e2 Merge "Fixes samples Teapot/MoreTeapots armeabi-v7a-hard; native-audio debug build" 2014-05-15 11:01:00 +00:00
David 'Digit' Turner
3907ebb75e am 94ebf1e6: Merge "libportable: Add dependency on libdl."
* commit '94ebf1e6a993391f8139e4ee4702c02bdda560a9':
  libportable: Add dependency on libdl.
2014-05-12 13:31:55 +00:00
David 'Digit' Turner
94ebf1e6a9 Merge "libportable: Add dependency on libdl." 2014-05-12 13:28:34 +00:00
David 'Digit' Turner
e398009921 libportable: Add dependency on libdl.
The patch at [1] was reverted because ndk/sources/android/cpu-features
is now part of the platform build (as a dependency of libportable), and
now requires dlopen()/dlsym()/dlclose().

Because the platform build system doesn't support LOCAL_EXPORT_LDLIBS,
add the dependency to libportable's own module definition instead.
After this patch is submitted, it's possible to re-apply the original
patch and get a working build.

[1] https://android-review.googlesource.com/#/c/91380/

BUG=13679666

Change-Id: I54b4376a562242d21631eaf13090650decfe791d
2014-05-12 15:10:01 +02:00
Andrew Hsieh
1e61663835 Remove non-existanec functions/variables from libc.so
See b.android.com/69319

android-9+
  __evOptMonoTime
  _nres
  __p_default_section_syms
  __p_update_section_syms
  _rand48_add
  _rand48_mult
  _rand48_seed
  _res_opcodes
  __sFext

android-12+
  copy_tm_to_TM
  copy_TM_to_tm
  __dtoa
  _endhtent
  __fremovelock
  _gethtbyaddr
  _gethtbyname
  _gethtbyname2
  _gethtent
  __libc_android_abort
  _mktemp                 # mktemp already exist in header
  __pread64               # add pread64, pwrite64 and ftruncate64 to API >= 12
  __pwrite64
  res_need_init
  __res_ourserver_p
  _sethtent
  __set_syscall_errno
  __sfvwrite
  __timer_table_start_stop
  valid_tm_mon
  valid_tm_wday

android-14+
  __libc_android_log_assert
  __libc_android_log_print
  __libc_android_log_vprint

android-17+
  dlmalloc_walk_free_pages
  dlmalloc_walk_heap
  __get_pc

android-18+
  __get_res_cache
  __libc_init_common
  __libc_preinit

Change-Id: Ie67acf115427e808dde0e33411671b07a888a9b6
2014-05-12 19:22:17 +08:00
Andrew Hsieh
3d34e6524e am 7b004d96: Merge "Add libcxx projects and compiler-rt to windows whitelist."
* commit '7b004d960657c15145ce1272f7a61c8ca4272cd1':
  Add libcxx projects and compiler-rt to windows whitelist.
2014-05-12 10:27:46 +00:00
Andrew Hsieh
7b004d9606 Merge "Add libcxx projects and compiler-rt to windows whitelist." 2014-05-12 10:23:36 +00:00
Andrew Hsieh
7986b0872e Fixes samples Teapot/MoreTeapots armeabi-v7a-hard; native-audio debug build
Fixes two issues:
1. Remove redundant check for hard-float in Teapot/MoreTeapots and ndk_helper
   they depend.  The ndk-build system add those flags already for armeabi-v7a-hard
2. native-audio in debug build: assert on the non-existance var

Change-Id: Id6b2d38a264c2f2d0e0c7fe625991fcee1762800
2014-05-12 15:53:37 +08:00
Andrew Hsieh
154e19fda6 Restore stdint.h for android-3..19 to the original headers
$NDK/tests/standalone/run.sh fail to run with last update on stdint.h
to android-20 level.  Restore stdint.h for fear of the new one breaking
the existing apps

Also fix signal_portable.h to use SIGRTMIN/MAX in old headers
(which got renamed to __SIGRTMIN in new header)

Also change _JBLEN to 1024 which shall be large enough to store CPU
states for forseable future.

Change-Id: Ia9c03558a258c10434eb8e6985adc122532feaa3
2014-05-12 12:14:33 +08:00
Andrew Hsieh
b1111100fc Update lib-boostrape for 64-bit libraries built with GCC toolchain
Change-Id: Icdc4bf924f660eb137e70ad80c91f68efd30824f
2014-05-12 12:04:58 +08:00
Andrew Hsieh
829367fdb4 am 46452519: Merge "Refresh android-20 headers/libs"
* commit '4645251978aaa9e9db0501efb03f56432a1b9b85':
  Refresh android-20 headers/libs
2014-05-12 03:53:30 +00:00
Andrew Hsieh
4645251978 Merge "Refresh android-20 headers/libs" 2014-05-12 03:47:32 +00:00
Stephen Hines
d7d603fbbb Add libcxx projects and compiler-rt to windows whitelist.
Change-Id: I2d6189b4e9a0440330d1212dae9396b88b66ea3f
2014-05-09 14:45:58 -07:00
Andrew Hsieh
f81cdeba6a Refresh android-20 headers/libs
bionic: adfc007dbf936bd021d79ba2d2c360a3cfc77be9  5/19 2014

Change-Id: I4836f04d9b5b68abe7896e246c9dffa2e175e4ca
2014-05-09 20:08:02 +08:00
Andrew Hsieh
557c79bf9f am b769dcb8: Merge "Update signal.h from bionic with transition from SIGRTMIN to __SIGRTMIN"
* commit 'b769dcb815594fc1407d58c7d1e10f72a48aa196':
  Update signal.h from bionic with transition from SIGRTMIN to __SIGRTMIN
2014-05-09 02:43:24 +00:00
Andrew Hsieh
b769dcb815 Merge "Update signal.h from bionic with transition from SIGRTMIN to __SIGRTMIN" 2014-05-09 02:38:01 +00:00
Xavier Ducrohet
557639cf11 am 2567045c: Merge "Remove SDK tools from build."
* commit '2567045c07dfae87fa53dfdc349681b5311d3522':
  Remove SDK tools from build.
2014-05-09 00:52:33 +00:00
Xavier Ducrohet
2567045c07 Merge "Remove SDK tools from build." 2014-05-09 00:46:53 +00:00
Xavier Ducrohet
ce00253c5b Remove SDK tools from build.
(cherry picked from commit 1678734ef064893f28390fac16f4633d0fb7361a)

Change-Id: Ia689f66868de18341b863e19f2958434eb45ca59
2014-05-08 14:49:09 -07:00
Xavier Ducrohet
7fc13d7ad6 am 1cad9512: Merge "Fix repo script to ignore tools"
* commit '1cad951295f4b7bbd6edd8c1c5c7a791f7078033':
  Fix repo script to ignore tools
2014-05-08 19:32:31 +00:00
Xavier Ducrohet
1cad951295 Merge "Fix repo script to ignore tools" 2014-05-08 19:28:09 +00:00
Xavier Ducrohet
d81eb5d833 Fix repo script to ignore tools
Change-Id: I80e6d5802f9a4633378d432eff3e91c2fcf83eeb
2014-05-08 12:26:20 -07:00
Pavel Chupin
4120ceca07 Update signal.h from bionic with transition from SIGRTMIN to __SIGRTMIN
Update signal.c for build with old platforms

Change-Id: Ica87465a73004c0885d51e384acd4f42947cc19b
Signed-off-by: Pavel Chupin <pavel.v.chupin@intel.com>
2014-05-08 15:34:45 +04:00
Andrew Hsieh
b05c061e50 am 4bc52758: Merge "Update epoll.h from bionic"
* commit '4bc5275825af47e11479b2cbff01193e90ca2ff4':
  Update epoll.h from bionic
2014-05-08 00:42:39 +00:00
Andrew Hsieh
4bc5275825 Merge "Update epoll.h from bionic" 2014-05-08 00:40:20 +00:00
Pavel Chupin
9973b9197f Update epoll.h from bionic
Change-Id: I0c1c8180bcfab5022d5dcdcb5c768a17b9d77f16
Signed-off-by: Pavel Chupin <pavel.v.chupin@intel.com>
2014-05-07 19:06:03 +04:00
Raphael Moll
bde50dcb0c am 21980124: (-s ours) Merge "Revert "win_sdk: temporary disable ALL win_sdk build. DO NOT MERGE.""
* commit '21980124f6aeb923cea50895eab8d6b9c31aba4a':
  Revert "win_sdk: temporary disable ALL win_sdk build. DO NOT MERGE."
2014-05-05 22:52:16 +00:00
Raphael Moll
21980124f6 Merge "Revert "win_sdk: temporary disable ALL win_sdk build. DO NOT MERGE."" 2014-05-05 22:46:37 +00:00
Raphael Moll
438cc639d0 Revert "win_sdk: temporary disable ALL win_sdk build. DO NOT MERGE."
This reverts commit 4a747f67b0.
2014-05-05 14:57:16 -07:00
Raphael Moll
b38feb4fc7 am 4a5687a7: (-s ours) Merge "win_sdk: temporary disable ALL win_sdk build. DO NOT MERGE."
* commit '4a5687a7144a60826b6fc035459fd691705b72bc':
  win_sdk: temporary disable ALL win_sdk build. DO NOT MERGE.
2014-05-03 19:12:05 +00:00
Raphael Moll
4a5687a714 Merge "win_sdk: temporary disable ALL win_sdk build. DO NOT MERGE." 2014-05-03 19:08:57 +00:00
Raphael Moll
4a747f67b0 win_sdk: temporary disable ALL win_sdk build. DO NOT MERGE.
This deactivate building all the exe binaries
and prevents atree from running (both for dev.git
and sdk.git). This still results in a win_sdk folder
so that the sdk_repo rule can work, but the generated
sdk will only contain linux binaries and is not to be
used for production, obviously.

Change-Id: I99cd27a050278afae3b62d1ef34a0a1a542bfd1a
2014-05-03 19:07:57 +00:00
Raphael Moll
304c807058 am a783fe5f: Merge "Temporarily disable rs/bcc in win_sdk"
* commit 'a783fe5f2c4e053b92b51ea1725fb535eaae7b0b':
  Temporarily disable rs/bcc in win_sdk
2014-05-03 00:04:52 +00:00
Raphael Moll
a783fe5f2c Merge "Temporarily disable rs/bcc in win_sdk" 2014-05-03 00:02:13 +00:00
Raphael Moll
c63c2d31ba Temporarily disable rs/bcc in win_sdk
Change-Id: Ic3c49f14098662c83167151a2abc7f46d847c67f
2014-05-02 12:21:17 -07:00
Andrew Hsieh
4d8f4793cd am 261d178e: Merge "Track transition from SIGRTMIN to __SIGRTMIN"
* commit '261d178e55db870331bd5eb8a41a22aa8f6c3589':
  Track transition from SIGRTMIN to __SIGRTMIN
2014-05-01 01:22:48 +00:00
Andrew Hsieh
261d178e55 Merge "Track transition from SIGRTMIN to __SIGRTMIN" 2014-05-01 01:20:04 +00:00
Brian Carlstrom
fb9c4e0c9f Track transition from SIGRTMIN to __SIGRTMIN
Change-Id: I69064edf1a7e95c91f90d9b05c1cf3f9c8c46747
2014-04-30 17:58:41 -07:00
Bill Yi
23f68632c7 Merge commit 'd297be2136209cab4edbcf8879520f65fb564103' into HEAD 2014-04-29 11:33:09 -07:00
Andrew Hsieh
88765facf1 am e23f9c5d: Merge "Bump __clang_minor__ check to 6 for __builtin_isnan"
* commit 'e23f9c5d308c0499c442cbd0bb07d336471dcb88':
  Bump __clang_minor__ check to 6 for __builtin_isnan
2014-04-28 17:02:31 +00:00
Andrew Hsieh
e23f9c5d30 Merge "Bump __clang_minor__ check to 6 for __builtin_isnan" 2014-04-28 16:59:32 +00:00
Andrew Hsieh
36e2bc959f am 90dada06: Merge "Update arch-x86/lib-bootstrap/lib64"
* commit '90dada064c8fb05b91889cb7978b7ebe335f7cbb':
  Update arch-x86/lib-bootstrap/lib64
2014-04-25 16:55:57 +00:00
Andrew Hsieh
b280e72a97 Bump __clang_minor__ check to 6 for __builtin_isnan
It appears that upstream 3.5 still can't accept __builtin_isnan redeclared
with calling convention, eg.

cat > isnan.c <<EOF
int __builtin_isnan(double) __attribute__((pcs("aapcs")));
EOF

  clang  -target armv5te-none-linux-androideabi -c isnan.c
  isnan.c:1:5: error: function declared 'aapcs' here was previously declared without calling convention
  int __builtin_isnan(double) __attribute__((pcs("aapcs")));
      ^
  isnan.c:1:5: note: previous declaration is here

Change-Id: Iff466fd913c3deec27aa3ff355a208543028d368
2014-04-25 09:55:31 -07:00
Andrew Hsieh
90dada064c Merge "Update arch-x86/lib-bootstrap/lib64" 2014-04-25 16:51:49 +00:00
Andrew Hsieh
fec8b6eb28 Update arch-x86/lib-bootstrap/lib64
Note that this is only used (symlinked) by android-20/arch-x86/lib-bootstrap
for x86_64 build

Change-Id: I9ab023b0383f406fd5b05debf2dd75ea9f2243d8
2014-04-24 12:26:29 -07:00
Andrew Hsieh
36037576fc am 867634ec: Merge "Update libportable to catch up bionic changes."
* commit '867634ecf44a88e407f6080859b1ca12d159eb63':
  Update libportable to catch up bionic changes.
2014-04-24 03:07:34 +00:00