Dmitriy Ivanov
19bf7f7170
resolved conflicts for merge of e3ad34b3 to lmp-dev-plus-aosp
...
Change-Id: Ib744885890d38fa8dfbc130de8373343f49352cc
2014-08-19 06:28:24 -07:00
Elliott Hughes
55244a9bdb
Merge "Add <stdio_ext.h> for elfutils."
2014-08-19 02:44:29 +00:00
Elliott Hughes
2b021e1066
Add <stdio_ext.h> for elfutils.
...
Bug: 17139679
Change-Id: I1605ac382dbb6f23b2d874dbb9769f3cde4a6a99
2014-08-20 10:23:52 -07:00
Elliott Hughes
b9d674c8ad
Merge "Implement the GNU basename(3) in addition to the POSIX one."
2014-08-19 02:44:29 +00:00
Elliott Hughes
09c39d6df0
Implement the GNU basename(3) in addition to the POSIX one.
...
Code like perf(1) needs this.
Bug: 11860789
Change-Id: I907eb448052a7b165e4012d74303330d32328cb2
2014-08-19 14:30:30 -07:00
Elliott Hughes
6f4220c49e
Merge "Move the meat of <features.h> into <sys/cdefs.h>."
2014-08-19 02:44:29 +00:00
Elliott Hughes
f4c948a9e9
Move the meat of <features.h> into <sys/cdefs.h>.
...
This way it's a lot harder for us to screw up (since we should always
be including <sys/cdefs.h> anyway).
Bug: 14659579
Change-Id: I23070fff3296b0d1c683bb5e3a6e214146327d53
2014-08-19 11:18:20 -07:00
Elliott Hughes
17f83c93cb
Merge "Remove unused defines from <features.h>."
2014-08-19 02:44:29 +00:00
Elliott Hughes
f800969d35
Remove unused defines from <features.h>.
...
Bug: 14659579
Change-Id: I2ab02b13cafe3faad31248b843d39ab2cdbfeb91
2014-08-19 10:07:00 -07:00
Elliott Hughes
e4fcc3ad2b
Merge "Fix _BSD_SOURCE/__USE_BSD."
2014-08-19 02:44:29 +00:00
Elliott Hughes
b810462028
Fix _BSD_SOURCE/__USE_BSD.
...
Bug: 14659579
Change-Id: I80ec9584f054c02d1078828f6bca759c42bc1d4c
2014-08-19 09:18:03 -07:00
Dmitriy Ivanov
8a76ee821e
Merge "Revert "Add support for protected local symbol lookup.""
2014-08-19 02:44:29 +00:00
Dmitriy Ivanov
02aa70589d
Revert "Add support for protected local symbol lookup."
...
This reverts commit d97e9f546ea195686a78e539315b273393609b9e.
Bug: 17107521
(cherry picked from commit 9419420919ea846bbad5510850c7aaec95021648)
Change-Id: I1a6df946ac8075699e77d68ffa6ac4a21b88e4bf
2014-08-19 05:19:53 -07:00
Elliott Hughes
38ba927c35
am 0baf2ca3: Merge "Fix <features.h> (_BSD_SOURCE and _GNU_SOURCE)."
...
* commit '0baf2ca34c7d9ec067b1f33bad69782c2dedc231':
Fix <features.h> (_BSD_SOURCE and _GNU_SOURCE).
2014-08-19 00:41:14 +00:00
Elliott Hughes
c228979648
am 205cc415: Merge "Improve <sys/cdefs.h>."
...
* commit '205cc41556d44b104a21bc6839b7ea44f72df9ba':
Improve <sys/cdefs.h>.
2014-08-18 22:28:12 +00:00
Dan Albert
247e441b0c
Resolved conflicts for merge of 6df7b609 to lmp-dev-plus-aosp.
...
Change-Id: I204e5701031c9ba9cd783c0db58cd51d93a5dc61
2014-08-18 14:58:13 -07:00
Elliott Hughes
205cc41556
Merge "Improve <sys/cdefs.h>."
2014-08-18 21:31:43 +00:00
Elliott Hughes
2cfb4e8e2e
Improve <sys/cdefs.h>.
...
Fix and use __RENAME (and lose ___RENAME --- two underscores should be
enough for anybody). This was the point of this change, because I want
to use __RENAME to support the two basename variants and the two
strerror_r variants.
Lose a bunch of macros that weren't being used.
Lose three dead files from the DNS code.
Change-Id: I3ef645c566b16a52217bc2e68c7d54b37c7c9522
2014-08-18 14:45:42 -07:00
Dmitriy Ivanov
e3ad34b3bc
Merge "Revert "Add support for protected local symbol lookup."" into lmp-dev
2014-08-18 21:31:41 +00:00
Dmitriy Ivanov
9419420919
Revert "Add support for protected local symbol lookup."
...
This reverts commit d97e9f546ea195686a78e539315b273393609b9e.
Bug: 17107521
Change-Id: I2b81ce2b5a4a2d166133a2626e49d81b6aef3672
2014-08-18 15:11:50 -07:00
Christopher Ferris
bd4351f945
am 54d24e09: Merge "Fix leak_realloc, copy entire allocation."
...
* commit '54d24e099c24d0811ae723640d4e12e9558cab73':
Fix leak_realloc, copy entire allocation.
2014-08-18 21:05:59 +00:00
Christopher Ferris
3290fd4625
am 3c7c9a8d: (-s ours) Merge "malloc_usable_size returns the original size."
...
* commit '3c7c9a8d3fda1057b8a4dea85f357a044dd21563':
malloc_usable_size returns the original size.
2014-08-18 21:05:59 +00:00
Dan Albert
6df7b60998
Hide C++ stuff in libc. Put it back in libstdc++.
...
Bug: 17062445
Change-Id: I027b186719654c2865b08c3fa83f90fa00c1e838
(cherry picked from commit fd5ee9aebc0a43c7f36a0778c7f416b39ddb870e)
2014-08-18 13:56:07 -07:00
Dan Albert
2b91cf32e6
am db2e0247: Merge "Hide C++ stuff in libc. Put it back in libstdc++."
...
* commit 'db2e0247ed67dfdf6e16eb47348db81dc8ccd04d':
Hide C++ stuff in libc. Put it back in libstdc++.
2014-08-18 20:14:48 +00:00
Christopher Ferris
3d7f92e914
am 9e56ce4c: Merge "Fix leak_realloc, copy entire allocation." into lmp-dev
...
* commit '9e56ce4cd387cfa45de3a71dcccedd061e09d2f5':
Fix leak_realloc, copy entire allocation.
2014-08-18 19:33:55 +00:00
Elliott Hughes
7134fc3089
Merge "Regenerate "services.h" from /etc/services."
2014-08-16 04:28:29 +00:00
Elliott Hughes
c4a1de1ae2
Regenerate "services.h" from /etc/services.
...
Change-Id: Iec118f9a342b5c1f6ce6d48965798b12a7159ad3
2014-08-20 12:11:31 -07:00
Elliott Hughes
3bcd414b78
Merge "Clean up some of our python scripts."
2014-08-16 04:28:29 +00:00
Elliott Hughes
dc1fb7000a
Clean up some of our python scripts.
...
Change-Id: Ifa75345db43434298cfb6113fbe2f7a33b88c79d
2014-08-20 11:16:11 -07:00
Dan Albert
2222eae61e
Merge "Missing #include <sys/cdefs.h>."
2014-08-16 04:28:29 +00:00
Dan Albert
3a25ab952b
Missing #include <sys/cdefs.h>.
...
Needed for __BEGIN_DECLS/__END_DECLS. Currently fine because it's being
included after other files that do this.
Change-Id: I1f12368fc461f6ef5ca90992cf19f317f0b5d7af
2014-08-19 11:08:02 -07:00
Dan Albert
934c8015d5
Merge "Expose android_set_abort_message()."
2014-08-16 04:20:19 +00:00
Dan Albert
ce6b1abbb1
Expose android_set_abort_message().
...
Removes the leading underscores from __android_set_abort_message() and
moves its declaration into a public header file.
Bug: 17059126
Change-Id: I470c79db47ec783ea7a54b800f8b78ecbe7479ab
2014-08-18 14:37:42 -07:00
Christopher Ferris
3c7c9a8d3f
Merge "malloc_usable_size returns the original size."
2014-08-16 04:09:33 +00:00
Christopher Ferris
5d9e145c62
malloc_usable_size returns the original size.
...
Bug: 16874447
(cherry picked from commit 59c1ee44d0a560a754513fab12641c8a57a20d9e)
Change-Id: I70839632974367c8b9893fb1f9c5ee4364608470
2014-08-18 13:10:16 -07:00
Christopher Ferris
54d24e099c
Merge "Fix leak_realloc, copy entire allocation."
2014-08-16 04:08:14 +00:00
Christopher Ferris
6d40d34908
Fix leak_realloc, copy entire allocation.
...
Bug: 16874447
(cherry picked from commit 5df0839cea98bd8c37d8dba5b94b98e99c681a94)
Change-Id: I9280505c0c1c3b5da24ba590448dcd6e7a230406
2014-08-18 13:10:47 -07:00
Dan Albert
db2e0247ed
Merge "Hide C++ stuff in libc. Put it back in libstdc++."
2014-08-16 04:08:14 +00:00
Dan Albert
fd5ee9aebc
Hide C++ stuff in libc. Put it back in libstdc++.
...
Bug: 17062445
Change-Id: I027b186719654c2865b08c3fa83f90fa00c1e838
2014-08-18 12:01:01 -07:00
Elliott Hughes
0baf2ca34c
Merge "Fix <features.h> (_BSD_SOURCE and _GNU_SOURCE)."
2014-08-16 04:03:35 +00:00
Elliott Hughes
5f5cc45cf0
Fix <features.h> (_BSD_SOURCE and _GNU_SOURCE).
...
<features.h> is supposed to take user-settable stuff like _GNU_SOURCE
and _BSD_SOURCE and turn them into __USE_GNU and __USE_BSD for use in
the C library headers. Instead, bionic used to unconditionally define
_BSD_SOURCE and _GNU_SOURCE, and then test _GNU_SOURCE in the header
files (which makes no sense whatsoever).
Bug: 14659579
Change-Id: Ice4cf21a364ea2e559071dc8329e995277d5b987
2014-08-18 16:04:03 -07:00
Christopher Ferris
9e56ce4cd3
Merge "Fix leak_realloc, copy entire allocation." into lmp-dev
2014-08-16 04:01:11 +00:00
Christopher Ferris
5df0839cea
Fix leak_realloc, copy entire allocation.
...
Bug: 16874447
Change-Id: Ie54a73fd75529961195fa5173d9116d0ae897b03
2014-08-15 18:55:53 -07:00
Dmitriy Ivanov
05d2a98133
am 2b6cdb5e: Merge "Add atexit test for attributed c-tor/d-tor"
...
* commit '2b6cdb5e459661727c99e81660c7c3df5cdbe024':
Add atexit test for attributed c-tor/d-tor
2014-08-15 23:13:30 +00:00
Dmitriy Ivanov
18fbdce86e
am d8e00769: Merge "Keep symbols for linker" into lmp-dev
...
* commit 'd8e007695c755bba75b7243077271b6d655d818a':
Keep symbols for linker
2014-08-15 21:42:47 +00:00
Dmitriy Ivanov
2b6cdb5e45
Merge "Add atexit test for attributed c-tor/d-tor"
2014-08-15 21:23:56 +00:00
Dmitriy Ivanov
d8e007695c
Merge "Keep symbols for linker" into lmp-dev
2014-08-15 21:23:40 +00:00
Dmitriy Ivanov
4571f31bd4
Add atexit test for attributed c-tor/d-tor
...
1. Add test for __attribute__((constructor/destructor))
and static constructor
2. Compile C++ testlibs with -std=gnu++11
Change-Id: I67f9308144a0c638a51f111fcba8e1933fe0ba41
2014-08-15 14:22:07 -07:00
Dmitriy Ivanov
be4348e7c7
Keep symbols for linker
...
Bug: 17011146
(cherry picked from commit ad5e8b50737144833233d47fe04deb3fa0284df2)
Change-Id: Ib1d3f8d6d38af98586658e01ed1ec79d2c5b4d42
2014-08-15 14:18:26 -07:00
Hans Boehm
a1ff9e8eb0
am f0f66c02: Have stdatomic.h punt to C++ atomic when possible
...
* commit 'f0f66c0264eb4b6ee56072af34c91a78a9184f23':
Have stdatomic.h punt to C++ atomic when possible
2014-08-15 21:16:51 +00:00