Commit graph

18729 commits

Author SHA1 Message Date
Treehugger Robot
f0b53115ae Merge changes Iecc1b127,Ib67f07db,I7672d34c
* changes:
  Run genversion-scripts.py.
  Only check arch tag if we have *any* arch tags.
  Add pylintrc.
2016-08-03 17:50:38 +00:00
Josh Gao
bba09a689b Merge changes Ib5962ea3,I8c1a7464,I06ce7c31
am: d7d4937bdc

Change-Id: I96334b89823b75a6d7c56e94f665aab16daed1a9
2016-08-03 00:29:56 +00:00
Treehugger Robot
d7d4937bdc Merge changes Ib5962ea3,I8c1a7464,I06ce7c31
* changes:
  Add version information for legacy inlines.
  versioner: remove unnecessary kernel/common symlink.
  versioner: add symlink for kernel/android/uapi.
2016-08-03 00:22:12 +00:00
Dan Albert
37ba9052b0 Run genversion-scripts.py.
Change-Id: Iecc1b127c67a96aecc4e86582c1cc3291a4acf00
2016-08-02 15:33:53 -07:00
Dan Albert
ea701b3790 Only check arch tag if we have *any* arch tags.
With the introduction of new tags for ndk_library, we'll have a lot
of tags that aren't architecture tags. If we have something tagged
`introduced=21`, it should be in all architectures.

Change-Id: Ib67f07db14625f6903919c181050316eb183bed5
2016-08-02 15:33:53 -07:00
Dan Albert
10085bfdc0 Add pylintrc.
Disable all the style differences present in genversion-scripts.py.

Change-Id: I7672d34c4f7698ba445968dd5d9f5ef1fdc60056
2016-08-02 15:15:09 -07:00
Dan Albert
ce990485fb Merge changes Iedab3259,I333fe8ae
am: 0fb3b0aec4

Change-Id: I4eeb1ce1eb8b8b8bbefa38ab339a649fa2e793e4
2016-08-02 21:56:17 +00:00
Treehugger Robot
0fb3b0aec4 Merge changes Iedab3259,I333fe8ae
* changes:
  Put bsd_signal back.
  Unversion some symbols for the NDK.
2016-08-02 21:44:20 +00:00
Josh Gao
b6a4a4c0cc Add version information for legacy inlines.
Bug: http://b/30170081
Change-Id: Ib5962ea3037dd692a98b6691d263871549aac8af
2016-08-02 14:32:42 -07:00
Josh Gao
f9128bc7d4 versioner: remove unnecessary kernel/common symlink.
The target was moved by commit 5956b4e, but none of the headers
contained were actually necessary to compile any bionic headers.

Bug: http://b/30170081
Change-Id: I8c1a7464de0992c20af194340c0e36d131a836e7
2016-08-02 14:32:42 -07:00
Josh Gao
180c883f09 versioner: add symlink for kernel/android/uapi.
The android-only kernel headers were moved to their own directory by
commit d6e8b8c. Add a new symlink to match.

Change-Id: I06ce7c3167fbb1e058e4a137fae9375bb5792a46
2016-08-02 14:32:42 -07:00
Dimitry Ivanov
b340e0a660 Merge "Correct libstdc++ version"
am: bbf593f0f0

Change-Id: I9f549b8548ac8a2b9d0014bcf4b7e2887437ecd5
2016-08-02 18:24:04 +00:00
Dimitry Ivanov
bbf593f0f0 Merge "Correct libstdc++ version" 2016-08-02 18:17:08 +00:00
Dan Albert
00c8e9556f Put bsd_signal back.
With this change (and all the others below it in the stack), the only
difference between the arm android-9 libc.so in r13-beta1 and the one
we are now generating is the addition of LIBC_N and LIBC_O versions.

Test: make ndk, readelf stub libc.so to check symbol exists
Bug: https://github.com/android-ndk/ndk/issues/160
Change-Id: Iedab32592b2d979f3cc922ffd4ed406427de3dda
2016-08-02 10:58:52 -07:00
Dan Albert
674d93db37 Unversion some symbols for the NDK.
These functions were erroneously released in LIBC_PRIVATE for M, but
in fact need to be public. Since we need to be able to load them on M
even if they were built for a lower platform (and M needs to load on
newer platforms), we need to unversion them.

Change-Id: I333fe8ae7380cc2a5dbd699414399ec52f602383
2016-08-02 10:43:35 -07:00
Elliott Hughes
038edf9186 Merge "More stdio one-liners."
am: 1d8b312a07

Change-Id: I7eed8712ed987a162bd745b181ad700a0ccb490e
2016-08-02 02:39:41 +00:00
Treehugger Robot
1d8b312a07 Merge "More stdio one-liners." 2016-08-02 02:30:14 +00:00
Elliott Hughes
70715da453 More stdio one-liners.
This actually turns up a bug in fmemopen, so I guess that's what I'll
look at next...

Change-Id: I2971ecd1b5a3a3c7f43c22d985f88e389af89e97
2016-08-01 18:06:38 -07:00
Elliott Hughes
26512f431f Merge changes I2d334db2,Iab9fbc73
am: 5b1357da65

Change-Id: I485d46044040615d669ba0e61c4b7547cfcfbbb1
2016-08-01 23:35:01 +00:00
Treehugger Robot
5b1357da65 Merge changes I2d334db2,Iab9fbc73
* changes:
  Clean up 32-bit x86 memset assembler.
  Fix x86 __memset_chk.
2016-08-01 23:26:00 +00:00
Dimitry Ivanov
2b1b1a9467 Correct libstdc++ version
The version script is introduced in O

Bug: http://b/28987948
Change-Id: Icd0a27d1b67e8227e44aa6e771816f0e6ed489b8
2016-08-01 15:45:42 -07:00
Elliott Hughes
eecd65c07e Merge "Update testing docs."
am: 0133e32ed5

Change-Id: If893eabc6467d0081e6bd732f4183bc9b3773cd6
2016-08-01 21:39:59 +00:00
Treehugger Robot
0133e32ed5 Merge "Update testing docs." 2016-08-01 21:33:25 +00:00
Dimitry Ivanov
e1b5b13b33 Merge "Sync linker with internal branch"
am: a86e11f529

Change-Id: I658fa5cb660ca60423e171d01bed2a4f9d9139ca
2016-08-01 21:11:39 +00:00
Dimitry Ivanov
a86e11f529 Merge "Sync linker with internal branch" 2016-08-01 21:01:28 +00:00
Elliott Hughes
e412f8944e Clean up 32-bit x86 memset assembler.
Change-Id: I2d334db29226f9c60cf20220a569f1b772bf7c66
2016-08-01 14:00:45 -07:00
Elliott Hughes
86f1e04e01 Update testing docs.
Change-Id: Ic0e1c3105d1cf8e73c0fbfd51052895beed76227
2016-08-01 13:16:37 -07:00
Elliott Hughes
ce3263f4ae Merge \"More stdio cleanup.\"
am: 490b9515e7

Change-Id: Ia6092bea6c07b14b2dd2abb67975df57abbc4aa2
2016-08-01 20:13:09 +00:00
Treehugger Robot
490b9515e7 Merge "More stdio cleanup." 2016-08-01 20:05:44 +00:00
Dimitry Ivanov
769b33fadf Sync linker with internal branch
This change includes dlwarning implementation and
the compatibility greylist for apps targeting pre-N.

Change-Id: Ibf02a07cc58cbbb1a5aef4ac34558c5d43e4305f
Test: Run bionic-unit-tests --gtest_filter=dl*:Dl*
2016-08-01 19:47:27 +00:00
Elliott Hughes
c33826ecae Merge \"Restore attribute alloc_size for GCC.\"
am: c5e79567e0

Change-Id: I8638e1da559e14367a1f305dffbc5b4296a5a047
2016-08-01 17:32:33 +00:00
Treehugger Robot
c5e79567e0 Merge "Restore attribute alloc_size for GCC." 2016-08-01 17:27:36 +00:00
Lev Rumyantsev
3a528f1cbf Fix x86 __memset_chk.
When __memset_chk_fail moved to C++, we didn't take into account
that the stack wasn't set up correctly for the jump from assembler.
Presumably no one had run the 32-bit x86 tests until now!

Bug: http://b/30513094
Change-Id: Iab9fbc731b6bfecd7ca4d3f3844d0568a5d30d86
2016-08-01 09:59:19 -07:00
Elliott Hughes
36a88e82eb Restore attribute alloc_size for GCC.
clang doesn't support attribute alloc_size, but GCC uses it to give
diagnostics where clang can't, and we had a test for one such case.

Bug: http://b/30513330
Change-Id: I4c14771258992d6bea684db7f91d60312642662f
2016-07-30 09:58:15 -07:00
Dan Albert
5b3a5cafd4 Merge changes I946cde38,I4b8e0ea1,I2e8141a8
am: 3318c56c99

Change-Id: I3a6e296f77964f0505bb5ef116ee9798338029b9
2016-07-30 05:13:26 +00:00
Dimitry Ivanov
1aecaba673 Merge \"Improvements to initialization of linker_allocator\"
am: 9a776af992

Change-Id: Ia85abbd8bc07e600fc32c2b7a639ad3135177db4
2016-07-30 05:13:24 +00:00
Elliott Hughes
44ff2f9d01 Merge \"Upgrade to tzcode-2016f.\"
am: def5854676

Change-Id: Ic98f4e6e27bf7b9388480aba25ebed085a0c8827
2016-07-30 05:13:21 +00:00
Treehugger Robot
3318c56c99 Merge changes I946cde38,I4b8e0ea1,I2e8141a8
* changes:
  Mark LIBC_O as being a future version.
  Mark LIBC_N as being introduced in android-24.
  Annotate the libc version map with NDK info.
2016-07-30 02:07:16 +00:00
Dan Albert
bf0e762dbb Mark LIBC_O as being a future version.
None of these symbols are in the NDK yet. Skip them.

Change-Id: I946cde38e767190c396593d562babc90457973fb
2016-07-29 17:49:42 -07:00
Dan Albert
09bc172911 Mark LIBC_N as being introduced in android-24.
Change-Id: I4b8e0ea1fc9b42c1f98f36ae7aaaae2c6322e16b
2016-07-29 17:49:42 -07:00
Dan Albert
b8109d0dbc Annotate the libc version map with NDK info.
Generated by running
https://android-review.googlesource.com/#/c/251477/ for libc.

Test: make checkbuild with
https://android-review.googlesource.com/#/q/branch:master+topic:ndk_library-libc-libm
Change-Id: I2e8141a83c1d79fd89b5e5c4432400b8301ba347
2016-07-29 17:49:42 -07:00
Elliott Hughes
cceaf069c7 More stdio cleanup.
Time to get back to cleaning up stdio, so start with a bunch of easy
one-liners...

Change-Id: I8df5fdc72500a89b977bfaa6c64c3639198d4e3e
2016-07-29 16:31:52 -07:00
Treehugger Robot
9a776af992 Merge "Improvements to initialization of linker_allocator" 2016-07-29 22:20:50 +00:00
Treehugger Robot
def5854676 Merge "Upgrade to tzcode-2016f." 2016-07-29 22:13:56 +00:00
Dimitry Ivanov
65707b696a Improvements to initialization of linker_allocator
Make linker_allocator independent of the order of global constructors.

Bug: http://b/30483811
Change-Id: I18a323175661b8e1c9e398f2d6112f7a08d2cceb
Test: boot the device with I3ac91758a1a043146c65f2ae0f36fcfbe372c30f
2016-07-29 14:05:39 -07:00
Elliott Hughes
0a610d00fe Upgrade to tzcode-2016f.
No significant changes other than a default implementation of strftime_l.

Change-Id: I6edd2c03e5e7559f012c0c87d43f7109d641d3ca
2016-07-29 14:04:17 -07:00
Dimitry Ivanov
6b1baa4ae6 Merge \"Add symbol versions to libstdc++.so\"
am: 4bc6eea83e

Change-Id: Ibe6325470a1c6ec96dbfe9d75273206069a8f459
2016-07-28 22:57:01 +00:00
Dimitry Ivanov
4bc6eea83e Merge "Add symbol versions to libstdc++.so" 2016-07-28 22:38:09 +00:00
Dimitry Ivanov
6cc8d47a1f Add symbol versions to libstdc++.so
Bug: http://b/28987948
Change-Id: I3853528bd432ceab37e4867f2c4112d9ee0b40dc
2016-07-28 13:52:17 -07:00
Elliott Hughes
7a61e898c9 Merge \"Add IOV_MAX to <limits.h>.\"
am: 0cf1abe486

Change-Id: Ic830c385c4bbbefa29162a83e5fcad6234d344c6
2016-07-28 00:46:06 +00:00