Commit graph

7369 commits

Author SHA1 Message Date
Erik Kline
2d1209dfa1 Merge \\"Add /vendor/xbin to root\\'s path.\\" am: 74669e99ce
am: a258d220b1

Change-Id: If00b5c21d8a68fa89d0e707ac60434a7054a6fa2
2016-06-08 01:24:58 +00:00
Treehugger Robot
74669e99ce Merge "Add /vendor/xbin to root's path." 2016-06-08 01:06:49 +00:00
Elliott Hughes
f17dd0c005 Merge "Preliminary cleanup of <sys/cdefs.h>." am: 30ad0dd6ad
am: 2278f77e18

* commit '2278f77e185c15f703c5513ae9ce6962d487f693':
  Preliminary cleanup of <sys/cdefs.h>.

Change-Id: I52dacdc75b3b172c83a3c9897bbc3af0fb9a2298
2016-06-07 20:27:35 +00:00
Elliott Hughes
f4840507b5 Preliminary cleanup of <sys/cdefs.h>.
We don't support anything other than Clang and GCC, and we don't support
GCC earlier than 4.9.

Move the various synonyms for __attribute__(__whatever__) together.

Fix a __STDC__VERSION__ (for __STDC_VERSION__) typo.

Drop support for BSD _ANSI_SOURCE and _C99_SOURCE; there's enough confusing
nonsense here already, and plenty of other ways to ask for obsolete standards.

There are plenty more problems here -- what I really want to do is rationalize
our treatment of __STDC_VERSION__ -- but let's get some of this easy stuff
out of the way first.

Bug: https://code.google.com/p/android/issues/detail?id=194631
Change-Id: I7526b9770fdc01f8a4667781b65e2fb08287b20b
2016-06-06 17:35:53 -07:00
Elliott Hughes
240e8f82c1 Merge "Just use libstdc++ for the cxa stuff inside bionic." am: 901cc14822
am: c1a361a313

* commit 'c1a361a31350777bce06c0f409c74aaf237748fe':
  Just use libstdc++ for the cxa stuff inside bionic.

Change-Id: Id5ab9ada875ed995a4616bc8b5f580017c1bd18a
2016-06-06 18:18:08 +00:00
Treehugger Robot
901cc14822 Merge "Just use libstdc++ for the cxa stuff inside bionic." 2016-06-06 18:04:54 +00:00
Josh Gao
285f38d474 Merge changes I32e726c7,I1dc9a708,I09cc335b,Ifb8a66ab,I0e2c25bc, ... am: c5799dd13c
am: 56a81c096d

* commit '56a81c096d85dd4245ebe4be13764cb825ee7cf4':
  versioner: whitelist atexit, turn on symbol checking by default.
  versioner: add missing test.
  versioner: fix false positive with functions only available as inlines.
  versioner: improve error output slightly.
  versioner: merge stdout and stderr in the test runner.
  versioner: clean up tests, test runner.
  versioner: ignore functions that are __INTRODUCED_IN_FUTURE.
  versioner: autodetect paths when no specified.
  versioner: improve usage messages.
  Remove __cachectl.

Change-Id: Iab0de231472e06fe5146618c3c6b5be3dc9c203b
2016-06-04 06:15:57 +00:00
Josh Gao
99a84c8316 Remove __cachectl.
bionic doesn't have an implementation for this function, but neither
does the kernel. cachectl has existed in the kernel as a stub that
returns ENOSYS for over a decade.

Bug: http://b/28178111
Change-Id: Id35f85fd143c5ea0d45d04b1021893cf5c0c749d
2016-06-03 15:01:18 -07:00
Josh Gao
c7336988bd Merge "Fix __errordecl on clang." am: f21ca653b7
am: 8e8f0f26a3

* commit '8e8f0f26a3aec7e8ae7f33a4d97c56328e150703':
  Fix __errordecl on clang.

Change-Id: Icafdc7481f871843f74c66d2271472ca7cb1548b
2016-06-03 19:41:53 +00:00
Treehugger Robot
f21ca653b7 Merge "Fix __errordecl on clang." 2016-06-03 19:29:12 +00:00
Dimitry Ivanov
5e4e7ee984 Merge "Remove __brk" am: c42811e5bc
am: f9d8052575

* commit 'f9d805257557e99e9d3ae84711d260f27f072637':
  Remove __brk

Change-Id: I21909d8b89920e9f239fe7c2c8def5863d05ed30
2016-06-03 18:49:36 +00:00
Josh Gao
8ba4424a41 Fix __errordecl on clang.
__attribute__((__error__)) doesn't exist on clang.

Bug: http://b/28381737
Change-Id: I75f39308ecfd60164811958fa40c9b96c92fd329
2016-06-03 10:36:37 -07:00
Dimitry Ivanov
71e783d8a4 Remove __brk
The symbol is unused and deprecated

Bug: http://b/29005114
Change-Id: I5e99c8b029514e8b2405a1eec23ac8941374a8a4
2016-06-03 08:33:51 -07:00
Josh Gao
28caa24974 Merge changes I1bb1925a,Icd638673 am: d23c37bc3f
am: 170e117af1

* commit '170e117af18b5d435adb41bf2ed26193c085e165':
  versioner: introduce.
  Update header versions for NDK platform fixes.

Change-Id: I4829805923c0580f2e8df7fcc3d0f4d21fdcc974
2016-06-02 21:51:27 +00:00
Treehugger Robot
d23c37bc3f Merge changes I1bb1925a,Icd638673
* changes:
  versioner: introduce.
  Update header versions for NDK platform fixes.
2016-06-02 21:29:48 +00:00
Josh Gao
46b44160e9 Update header versions for NDK platform fixes.
Bug: http://b/28178111
Change-Id: Icd638673b409aa43a91490f77c6b4d79c9ea20d9
2016-06-02 13:40:35 -07:00
Colin Cross
72fbf31302 Merge "Remove deprecated Android.mk files" am: 8428fb03c8
am: 5ec9e21cf3

* commit '5ec9e21cf38f657a6c39139a3153a634328cb816':
  Remove deprecated Android.mk files

Change-Id: I91715713f78f4e75f5c80133dd0e6ee1b555e7e2
2016-06-02 16:40:19 +00:00
Colin Cross
8428fb03c8 Merge "Remove deprecated Android.mk files" 2016-06-02 16:31:40 +00:00
Josh Gao
fc9f5dae25 Merge "Remove declaration for __brk." am: e20730ca0b
am: 73d521e9db

* commit '73d521e9dbd06b556dc965c3a3416250253e4518':
  Remove declaration for __brk.

Change-Id: I17152efdb7eeba281d818b135005c79ae6d7fc15
2016-06-02 02:35:00 +00:00
Treehugger Robot
e20730ca0b Merge "Remove declaration for __brk." 2016-06-02 02:25:59 +00:00
Josh Gao
6e9c1f61d8 Remove declaration for __brk.
Bug: http://b/28178111
Change-Id: I972789cd5da552000c32fd107b9df98330323d89
2016-06-01 18:21:06 -07:00
Erik Kline
9a29c3f241 Add /vendor/xbin to root's path.
Bug: 28850734
Change-Id: Ibfc5ae019bec2efe6d188bacdd7fb009178fc837
2016-05-30 12:06:11 +09:00
Elliott Hughes
816fab9538 Just use libstdc++ for the cxa stuff inside bionic.
We have an explicit link map now, so we don't need a separate copy of libstdc++
that's built with -fvisibility=hidden.

Bug: http://b/29009180
Change-Id: I2d794d62f52621e6ad258ca6d455f9bd3830d829
2016-05-27 17:57:46 -07:00
Elliott Hughes
db1a6549ce Merge "Remove libstdc++ include files." am: 676f6e3c7f
am: c94f3dff48

* commit 'c94f3dff4815b0d3d60d89699ade186a0bc80608':
  Remove libstdc++ include files.

Change-Id: Iccf3dfa77c4374c6c0bd7db76b1876cc56582b27
2016-05-27 23:50:37 +00:00
Treehugger Robot
676f6e3c7f Merge "Remove libstdc++ include files." 2016-05-27 23:36:18 +00:00
Elliott Hughes
f44b232d85 Remove libstdc++ include files.
We still need <new> for bionic, and to build libstdc++.

Change-Id: Ic7b26340576a5355007a06db9c1bec395be49ae1
2016-05-27 15:49:31 -07:00
Elliott Hughes
22ca405487 Merge "Improve diagnostics from the assembler __strcpy_chk routines." am: 2f82dc50ed
am: 1c1b6cea82

* commit '1c1b6cea82b9fe8aa1b1c4bcde7d0cbb7cd5a01f':
  Improve diagnostics from the assembler __strcpy_chk routines.

Change-Id: I02056119cadfa76722da81851e832288b93c7508
2016-05-27 15:33:09 +00:00
Colin Cross
7510c33b61 Remove deprecated Android.mk files
These directories all have Android.bp files that are always used now,
delete the Android.mk files.

Change-Id: Ib0ba2d28bff88483b505426ba61606da314e03ab
2016-05-26 16:41:57 -07:00
Elliott Hughes
bdd8f896dd Improve diagnostics from the assembler __strcpy_chk routines.
Change-Id: Ib95b598f7f8338cc1a618c00232a4259dc4a6319
2016-05-26 16:38:34 -07:00
Elliott Hughes
199802d3e1 Merge "Improve diagnostics from the assembler __strcat_chk routines." am: a3c2df9378
am: 7f1ded75e8

* commit '7f1ded75e8d8e5aaf5265682d1111006e9d7b01b':
  Improve diagnostics from the assembler __strcat_chk routines.

Change-Id: Idb85a39d0ef19347393697f88cfb4ca67affe611
2016-05-26 23:12:09 +00:00
Treehugger Robot
a3c2df9378 Merge "Improve diagnostics from the assembler __strcat_chk routines." 2016-05-26 23:01:25 +00:00
Elliott Hughes
c75da09f4f Improve diagnostics from the assembler __strcat_chk routines.
Change-Id: I44cbe5389c66de6618e581a6e302eea22c39d6fb
2016-05-26 14:55:00 -07:00
Josh Gao
7c70661cb7 Merge "Don\'t use __u64/__u32 in <sys/user.h>." am: 8c2467ae07
am: 65d3e95e2c

* commit '65d3e95e2ca436a0d4bc9f215ae337c2baecb4c0':
  Don't use __u64/__u32 in <sys/user.h>.

Change-Id: I4b40ebf20cbc30f43cd71aad57c81eed19a1779f
2016-05-26 00:36:12 +00:00
Treehugger Robot
8c2467ae07 Merge "Don't use __u64/__u32 in <sys/user.h>." 2016-05-26 00:19:14 +00:00
Josh Gao
bb129214ad Don't use __u64/__u32 in <sys/user.h>.
The typedefs for __u64 and __u32 aren't in scope in this file, so
switch fields declared with these to use the matching underlying type.

Bug: http://b/28178111
Change-Id: Id4eec1f7dc81d77e78043227c15e621debe3a48a
2016-05-25 15:25:13 -07:00
Christopher Ferris
cb37ba83cd Merge "Update documentation for malloc debug." am: e85de5b103
am: 774da1b430

* commit '774da1b43006f8fb14a4ebf4d80c3fec88914586':
  Update documentation for malloc debug.

Change-Id: Ia5521c6fa9b705346f8eb8d372c4cca168353206
2016-05-25 20:57:52 +00:00
Christopher Ferris
eab4803290 Update documentation for malloc debug.
Add a new document that describes the previous version of malloc debug.

Add a small update to the current documentation to indicate it only
applies to N and later.

Change-Id: Ief74c253ba79018777aa688bde7f5b35319fa4d4
2016-05-25 13:34:54 -07:00
Elliott Hughes
92af86f6f6 Merge "Make all rt_sigtimedwait signatures match." am: c7e0ae064d
am: 38ba0203dd

* commit '38ba0203dd3b9067095de43192cdac5a8477dc2f':
  Make all rt_sigtimedwait signatures match.

Change-Id: Ic2be93191e911612ae57516995fcbbb91408206d
2016-05-23 19:31:12 +00:00
Elliott Hughes
8963dd337e Make all rt_sigtimedwait signatures match.
There's no change to the generated stubs, because the script only cares
that this is a pointer type, not what it's a pointer to.

Change-Id: I766720965f0f3d201fc90677a076b26870485377
2016-05-23 11:20:19 -07:00
Christopher Ferris
4cf494e3f2 Merge "Updated to v4.4.11 kernel headers." am: 51ee871e19
am: b1081bdaaa

* commit 'b1081bdaaa56e71b2ffd757dccda38b7327c1a98':
  Updated to v4.4.11 kernel headers.

Change-Id: I26b58f6b0b15ecb646d07bdb89c6746fc76b2773
2016-05-20 01:39:43 +00:00
Christopher Ferris
82ef6a19cb Updated to v4.4.11 kernel headers.
Change-Id: I6b55a921670d32d7bfff3c304d8001058409d3f7
2016-05-19 17:03:14 -07:00
Colin Cross
c4a82b43ed Merge "Force clang for bionic" am: 7d99bd38e4
am: 3eed7d1c8f

* commit '3eed7d1c8f7383b9cbe331ee4d9d24785a618bd4':
  Force clang for bionic

Change-Id: Ic4ba74a03a5c78670fbcec46e8b1b1d39f7d3659
2016-05-18 22:09:41 +00:00
Colin Cross
5a22d3e13d Force clang for bionic
Bionic will only compile with clang, and Android.mk files force clang,
turn it on in Android.bp.

Change-Id: I9db06298adfeab4eeef031d88aa310776cad3af0
2016-05-18 14:06:22 -07:00
Elliott Hughes
f81e0979b0 Merge "Regenerate NOTICE files." am: 5df5884743
am: 4923294fc2

* commit '4923294fc267fb11849cf093089688565d8348c0':
  Regenerate NOTICE files.

Change-Id: Ibe15057d2a512ef1dabe448e8ab9fadabbe5063e
2016-05-17 03:18:11 +00:00
Elliott Hughes
28f899605b Merge "Stop including <machine/cpu-features.h>." am: ecffdeb0e2
am: b749fcbbb1

* commit 'b749fcbbb16e36fc87a3132e2975d3d8353af64d':
  Stop including <machine/cpu-features.h>.

Change-Id: I2a172badcffe9a4c156d574dea84d8ffc8203c98
2016-05-17 03:13:11 +00:00
Elliott Hughes
5df5884743 Merge "Regenerate NOTICE files." 2016-05-17 03:10:29 +00:00
Elliott Hughes
ecffdeb0e2 Merge "Stop including <machine/cpu-features.h>." 2016-05-17 03:06:48 +00:00
Elliott Hughes
382bd666e2 Stop including <machine/cpu-features.h>.
We're not looking at __ARM_ARCH__, because we don't support ARMv6.

Bug: http://b/18556103
Change-Id: I91fe096af697dc842a57e97515312e3530743678
2016-05-16 17:52:40 -07:00
Colin Cross
aea5ce13d7 Merge "Use Android.soong.mk to handle mixed Android.mk and Android.bp dirs" am: 79d0281456
am: f8e8b02145

* commit 'f8e8b02145766e61aa6528162cf68ea436d5c2e7':
  Use Android.soong.mk to handle mixed Android.mk and Android.bp dirs

Change-Id: I1bc00f9b3ed50ae660e2143bc94bbfd7881f7074
2016-05-17 00:49:57 +00:00
Elliott Hughes
882b8afedc Regenerate NOTICE files.
Also clean up some near-miss copyright headers in libm, and remove
some cruft in <grp.h>/<pwd.h> that the script can't automatically
ignore since we stripped all the tabs in those files.

Change-Id: I10796c54dda1ceba87822ae0de26b5d71b54972b
2016-05-16 17:46:00 -07:00