Commit Graph

765 Commits

Author SHA1 Message Date
Dimitry Ivanov
ef047c7d1e Remove unwanted symbols from libz
Bug: http://b/26805673
Change-Id: I3a61cb6691cab25c0422b6d091860bafab130997
2016-02-02 18:52:14 -05:00
Dimitry Ivanov
0421a6b930 Add new symbols to android-23 libc.so
Bug: http://b/26268835
Bug: http://b/26389373
Change-Id: I20b50641ba1c490429f4349233de176ff85d318c
2016-01-27 15:50:10 -08:00
Dimitry Ivanov
3607a28b11 Copy libc symbols from android-21 to android-23
This is a trivial copy to provide meaningful diff
for new set of functions/varialbes.

Bug: http://b/26389373
Change-Id: I309db4622e1240849aa8bd861373653250c5b07d
2016-01-27 13:19:48 -08:00
Dimitry Ivanov
646ed33b3b Version __system_property* symbols for lp64 platforms
Bug: http://b/26805673
Change-Id: I308a0fee3d473d73119fa5168e94868a47b5fa99
2016-01-27 12:53:56 -08:00
Dimitry Ivanov
c56ac65b78 Remove unwanted '__moddi3' from x86 and mips
Bug: http://b/26805673
Change-Id: Ibe22de9aee1ff50d306261a1dace6e5a13ae2129
2016-01-26 20:00:18 -08:00
Dimitry Ivanov
0049495b14 Remove unwanted '__isthreaded' for lp64 platforms
Bug: http://b/26805673
Change-Id: Ic8cd706837d497657e1369e7918ecf2c071d53cb
2016-01-26 19:46:54 -08:00
Dimitry Ivanov
8475ee9807 Merge "Remove mistakenly exported android_* network functions" 2016-01-26 23:31:49 +00:00
Dimitry Ivanov
16c4d9c914 Remove mistakenly exported android_* network functions
Bug: http://b/26794226
Change-Id: Id0432e43d82f3189e60bfddbec3d0d5dce20f3bd
2016-01-26 14:55:10 -08:00
Elliott Hughes
52e68cd202 Remove "sha1.h".
This was removed from bionic by commit c82c0b7e072491da4818e7de37411fbb2055fce1
in 2014-06. The symbols are still in NDK cruft for LP32, but no longer in the
NDK's libc.so. Microsoft points out that we should probably remove the header
too.

Bug: 11156955
Change-Id: Id463f8f20d3d8c4428f6aecb317577d78ccad215
2016-01-25 09:34:33 -08:00
Dimitry Ivanov
977bf48381 Remove symbols which are not in platform libm.so
Bug: http://b/26236057
Change-Id: I388100b14346bcf24eba12ad452f2e16676ee756
2016-01-13 17:32:12 -08:00
Dimitry Ivanov
8b554e7ec7 Remove symbols that are not in platform libc.so
Bug: http://b/26236057
Change-Id: Iefff94c4210732b695b77a58fb6f481d810811ee
2016-01-13 17:32:12 -08:00
Dimitry Ivanov
34109a7109 Remove LIBC_PRIVATE symbols from libm
Bug: http://b/26234924
Change-Id: I3b1b764f87e0b6be33c1e761ee883e1d07578323
2016-01-13 10:53:47 -08:00
Dimitry Ivanov
10936c3aa1 Restore bsd_signal for android-20 and below
Also fix sort order in couple of files.

Bug: http://b/26475271
Change-Id: I75775ded99edd313e9ea31f0b3b4de03096be482
2016-01-11 13:50:48 -08:00
Dimitry Ivanov
11ae5ebfb6 Replace __page_size reference with PAGE_SIZE for android-12 and below
Also remove __getpageshift since it is not present in later version of
android (>12)

Bug: http://b/26475272
Bug: https://github.com/android-ndk/ndk/issues/1
Change-Id: I117194ede3b13a63ff020364b0f573fb25d5205d
2016-01-09 14:16:13 -08:00
Dan Albert
21cb8b421f Merge "Add NOTICE files for our projects." 2016-01-08 21:45:59 +00:00
Dan Albert
7000f03bce Add NOTICE files for our projects.
Bug: http://b/25592257
Change-Id: I4bdd59c30ce1ecca68c7aa133b4a32afb72927cf
2016-01-08 13:43:53 -08:00
Dimitry Ivanov
eb7c104c90 Add missing __gnu_Unwind_Find_exidx symbol
Also since __aeabi* and __gnu_Unwind_Find_exidx symbols
were incorrectly versioned in M (android-23) remove them from
the version script for all platform versions <= 23

Bug: https://github.com/android-ndk/ndk/issues/1
Change-Id: I04902aac25a722100fc502600df908bb3a786356
2016-01-08 10:03:09 -08:00
Dimitry Ivanov
52343bb255 android-21: add version scripts for libc/m/dl
Bug: http://b/26143749
Change-Id: I114c3885617302e1657d4cc891143ea96727a2b0
2016-01-06 00:22:23 -08:00
Dimitry Ivanov
4493909200 Remove bzero from libc.so
Bug: http://b/26234924
Change-Id: I946a836a55bf416a767dec4e04fb23bb4c00f8ec
2016-01-05 21:13:38 -08:00
Dimitry Ivanov
6bef207c7b Remove new set of LIBC_PRIVATE symbols from libc
Bug: http://b/26234924
Change-Id: If0acb2105c75bf9e6dd97230391f3944157990ae
2016-01-05 15:26:03 -08:00
Dimitry Ivanov
32b61f1e94 Restore public __aeabi symbols
The following arm symbols should be exported by libc.so:
    __aeabi_atexit; # arm
    __aeabi_memclr; # arm
    __aeabi_memclr4; # arm
    __aeabi_memclr8; # arm
    __aeabi_memcpy; # arm
    __aeabi_memcpy4; # arm
    __aeabi_memcpy8; # arm
    __aeabi_memmove; # arm
    __aeabi_memmove4; # arm
    __aeabi_memmove8; # arm
    __aeabi_memset; # arm
    __aeabi_memset4; # arm
    __aeabi_memset8; # arm

Bug: https://github.com/android-ndk/ndk/issues/1
Change-Id: I36f758c574a939174d43999048c193e63def548f
2016-01-05 14:04:48 -08:00
Dimitry Ivanov
450cb38561 Remove LIBC_PRIVATE symbols from all of NDK libcs
Bug: http://b/26234924
Change-Id: I1f4bb35df0bf0aca089a9f21d6d9b653cce001ff
2016-01-04 12:40:40 -08:00
Dimitry Ivanov
a604641b22 Remove unwanted stdio symbols from android-17
Bug: http://b/26268835
Change-Id: Ib6f3cec9fe036a4dc0397769883493f0f24e5d38
2015-12-18 15:13:43 -08:00
Dimitry Ivanov
4c9b18fa89 Cleanup libc symbols for android-17
This change removes symbols that are not
exported by platform libc.so

Bug: http://b/26236057
Change-Id: I0bfcda0153688ce8aa68fcd7479cfe52cffaf5b9
2015-12-18 14:57:13 -08:00
Dimitry Ivanov
70919af1a0 Remove LIBC_PRIVATE symbols from android-17 libc
Bug: http://b/26234924
Change-Id: I7048b8b20bc507fff61f2bad128343315a562847
2015-12-18 14:47:30 -08:00
Dimitry Ivanov
5770619b14 Fix symbols ordering
Bug: http://b/26271113
Change-Id: I67efa36eb7355182fdb1cab6f71e9a15f9be46d0
2015-12-18 14:27:39 -08:00
Dimitry Ivanov
f52570ce24 Remove unwanted stdio symbols from android-18 and 19
Bug: http://b/26268835
Change-Id: I866e56ad6517486cf01596763cc1571a7ded8dea
2015-12-18 14:23:18 -08:00
Dimitry Ivanov
1fc00827e6 android-21: restore utimensat for mips libc
Bug: http://b/26271113
Change-Id: I43bd1f93b24696aad809c80347acb11415223d9e
2015-12-18 13:40:39 -08:00
Dimitry Ivanov
9923e5e3db android-21: Restore __ns_* symbols for lp32 libc
Bug: http://b/26268835
Change-Id: I96c891e9ddf95dae54cbe0f082d4761d731ba0a5
2015-12-18 13:35:53 -08:00
Dimitry Ivanov
08db3272eb android-19: Cleanup libc symbols
Also add symbols moved from anroid-18 libm

Bug: http://b/26236057
Change-Id: Ied502e82678ffea4d335765667f3dd12b619829d
2015-12-18 12:47:58 -08:00
Dimitry Ivanov
a57440a131 Remove LIBC_PRIVATE symbols from android-19 libc
Bug: http://b/26234924
Change-Id: I912b646e7b43a69fee55b36935cf46138f5c4b91
2015-12-18 12:47:58 -08:00
Dimitry Ivanov
91616de1be android-18: Cleanup libm symbols
And move some of them to the right place: libc.so.functions.txt

Bug: http://b/26236057
Change-Id: Iaa2aba28ca705fdada0b46d9c40e09f9d574b492
2015-12-18 11:32:06 -08:00
Dimitry Ivanov
0bb1b17d01 android-18: Cleanup libc symbols for x86/mips
Bug: http://b/26236057
Change-Id: I3ed36a1596a435928cc6758a7005eec8d7d1b1f7
2015-12-18 11:32:03 -08:00
Dimitry Ivanov
9b9b8c51cc Cleanup libc symbols for other architectures
Bug: http://b/26236057
Change-Id: I3c2f9a05490897fd5fb2fa2e5d765a6fdb9517f7
2015-12-17 21:54:29 -08:00
Dimitry Ivanov
cfd35aa934 Remove android-18/arm symbols not present in platform libc
Bug: http://b/26236057
Change-Id: Icb5ba2a5b7e1a9b81aee4b388ec3601c3f2ad434
2015-12-17 15:47:05 -08:00
Dimitry Ivanov
86f95e8475 Remove LIBC_PRIVATE symbols from android-18 libm
Bug: http://b/26234924
Change-Id: Ic5688a2c867aebfbfb67cbfef60099d1a72b302f
2015-12-17 15:31:35 -08:00
Dimitry Ivanov
64c835fdb7 Remove LIBC_PRIVATE symbols from android-18 libc
Bug: http://b/26234924
Change-Id: I7c42aa37eb5ed59082a4a5cb7ad57c4761e93543
2015-12-17 15:29:58 -08:00
Dimitry Ivanov
329b34b41f Restore libc __cxa_atexit symbol
Bug: http://b/26234924
Change-Id: Ib57de6777088eacf1062251c85c87c29e7103d4c
2015-12-16 22:15:35 -08:00
Dimitry Ivanov
1a3e15aaf5 Remove symbols that are not present in platform libc
Bug: http://b/26236057
Change-Id: If317bf196f15a23e94b6e5469d9e7eabfb68fb07
2015-12-16 16:38:32 -08:00
Dimitry Ivanov
2a421ad890 Remove LIBC_PRIVATE symbols from android-21 libdl
Bug: http://b/26234924
Change-Id: Ie8b5bc0e7ee78f1ea2a8c70fe3d46000a9efed0e
2015-12-16 16:17:31 -08:00
Dimitry Ivanov
7c74453162 Remove LIBC_PRIVATE symbols from android-21 libm
Bug: http://b/26234924
Change-Id: Iaa8c88aa7a75677b543f699d791bb9f463d000a2
2015-12-16 16:16:28 -08:00
Dimitry Ivanov
4713395668 Remove LIBC_PRIVATE symbols from android-21 libc
And also that strange _Z16__libc_init_vdsov symbol

Bug: http://b/26234924
Change-Id: Idab7680cbde32c48f97c22a403212abbf30eb0f9
2015-12-16 16:15:05 -08:00
Dan Albert
6e84c13895 Update byteswap.h from bionic to match endian.h.
Change-Id: I79e445a167800ce083039d0cb65c5a966d7e6a72
2015-12-09 19:17:28 -08:00
Dan Albert
616a494ec1 Update endian.h from bionic.
This consolidates the guts of the three endian.h files (endian.h,
sys/endian.h, and machine/endian.h) into just sys/endian.h, and turns
the others into headers that forward to it.

This also consolidates all the architecture specific machine/endian.h
files into a single generic header.

Finally, this is also the update version of sys/endian.h, which just
forwards to compiler builtins rather than implementing it ourselves.

Change-Id: Ifce64dc684ce3d3231f3f43a94c083bbd8661840
2015-12-08 14:20:25 -08:00
Dan Albert
c57abe4eb2 Always use the newest sys/cdefs.h.
This is all macros, so there's no reason to have one per API level.

This is still quite a ways from matching what we have in bionic, but
that's a problem for another day.

Change-Id: I804edfd6299d9ba15a3ba59e1091f301eace2142
2015-12-08 14:19:48 -08:00
Dan Albert
53bc2e2f1e Update uchar.h from bionic.
char16_t and char32_t should not be defined when building as C. For
GCC they are, but not for clang. Pull in the updated bionic header
which has the fix for this.

Change-Id: I41b292ece36af79bbe835706bee4441b298215ff
2015-12-04 11:29:12 -08:00
Dan Albert
4efb18d5f5 Fix complex.h for clang.
From the comment about __NDK_FPABI__ vs __NDK_FPABI_MATH__:

    NOTE: Disable for clang for now unless _NDK_MATH_NO_SOFTFP=1, because clang before 3.4 doesn't
          allow change of calling convension for builtin and produces error message reads:

            a.i:564:6: error: function declared 'aapcs' here was previously declared without calling convention
            int  sin(double d) __attribute__((pcs("aapcs")));
                ^
            a.i:564:6: note: previous declaration is here

This applies to current clang as well, not just pre-3.4. Mark these
math functions as math functions.

Change-Id: I001b31df540aa3f61eec049f89346cbf2f11f128
2015-12-04 11:22:26 -08:00
Dan Albert
cea6641901 Rename android-M to android-23.
Change-Id: I37241592cc2354e785f518e5830e8bf9f788b0c9
2015-11-02 13:50:06 -08:00
Elliott Hughes
436f03a080 am b851cbc2: am 1a8697f9: Merge "Patch android-21 with aarch64 <sys/user.h> fixes."
* commit 'b851cbc2cd9b6f36a6e5c7f150c82eb0744d573f':
  Patch android-21 with aarch64 <sys/user.h> fixes.
2015-08-26 15:44:12 +00:00
Elliott Hughes
2e60272c03 Patch android-21 with aarch64 <sys/user.h> fixes.
This makes the files match (AOSP ToT post-M) bionic.

Bug: http://b/23377194
Change-Id: Ie72614612fbe49c4250ca1383d1d224e8bff62dc
2015-08-25 18:43:20 -07:00