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
cc7e938ce1
am bd4351f9: am 54d24e09: Merge "Fix leak_realloc, copy entire allocation."
...
* commit 'bd4351f9452c1e095e02894c198fe4ee8a99832c':
Fix leak_realloc, copy entire allocation.
2014-08-18 21:15:06 +00:00
Christopher Ferris
c3bc045a5a
am 3290fd46: am 3c7c9a8d: (-s ours) Merge "malloc_usable_size returns the original size."
...
* commit '3290fd4625fc67f35b641b52c1142bb64dc25d67':
malloc_usable_size returns the original size.
2014-08-18 21:15:06 +00: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
754e884618
am 2b91cf32: am db2e0247: Merge "Hide C++ stuff in libc. Put it back in libstdc++."
...
* commit '2b91cf32e646481657d951e1bb2d2493116a4edc':
Hide C++ stuff in libc. Put it back in libstdc++.
2014-08-18 20:22:56 +00: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
0d9b41e1a8
am 3d7f92e9: am 9e56ce4c: Merge "Fix leak_realloc, copy entire allocation." into lmp-dev
...
* commit '3d7f92e914b5a89a74d33757379775cc6abaebc1':
Fix leak_realloc, copy entire allocation.
2014-08-18 19:47:21 +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
32efc8ea0f
am 05d2a981: am 2b6cdb5e: Merge "Add atexit test for attributed c-tor/d-tor"
...
* commit '05d2a98133b5432f70e1f830aa55c5f50bfb3e29':
Add atexit test for attributed c-tor/d-tor
2014-08-16 00:44:40 +00:00
Dmitriy Ivanov
7677b6f382
am 18fbdce8: am d8e00769: Merge "Keep symbols for linker" into lmp-dev
...
* commit '18fbdce86e02726581a13954f27a7ab05e438a2e':
Keep symbols for linker
2014-08-16 00:43:44 +00: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
Hans Boehm
e91a58a164
am a1ff9e8e: am f0f66c02: Have stdatomic.h punt to C++ atomic when possible
...
* commit 'a1ff9e8eb00d189b01d7f3cdb21541ce0445a3b1':
Have stdatomic.h punt to C++ atomic when possible
2014-08-15 21:27:05 +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
Hans Boehm
f0f66c0264
Have stdatomic.h punt to C++ atomic when possible
...
This is an alternate, somewhat simpler, fix that makes it safe to
include both <atomic> and <stdatomic.h> from C++ code in either order.
It means that C code consistently uses one implementation of atomics
and C++ another. We still have to make sure that those two
implementations interoperate correctly at runtime; in particular,
any flavor of atomic object needs to be represented exactly like the
underlying type, with the proper alignment constraint.
Bug:17007799
Change-Id: Iffcfc5220d8fa150f89dd083a121b24d23f268fc
(cherry picked from commit 019d3958118b7dc3ec8444ad2accca50c268b737)
2014-08-15 11:42:36 -07:00
Hans Boehm
cc6c2324a7
am e9c7a452: am 7d05f741: Merge "Have stdatomic.h punt to C++ atomic when possible"
...
* commit 'e9c7a4528cf33f571e9ba4d3ccc032b4f377a89b':
Have stdatomic.h punt to C++ atomic when possible
2014-08-15 18:33:22 +00:00
Hans Boehm
e9c7a4528c
am 7d05f741: Merge "Have stdatomic.h punt to C++ atomic when possible"
...
* commit '7d05f741e7885ad42f853b5fe2b1d31cdc756b5c':
Have stdatomic.h punt to C++ atomic when possible
2014-08-15 18:27:38 +00:00
Dan Albert
e7bf334437
am 47822dae: am e2050ae1: Merge "Change name of MB_CUR_MAX implementation function." into lmp-dev
...
* commit '47822dae63d939b58ca9b946b90396475ac14930':
Change name of MB_CUR_MAX implementation function.
2014-08-15 13:39:47 +00:00
Dan Albert
6676667b7f
am 716fe4ca: am 553c0ea5: Merge "Move mtctxres.c to libc_dns.a." into lmp-dev
...
* commit '716fe4caacff804a689ac84eaeb5cc5a9311edcd':
Move mtctxres.c to libc_dns.a.
2014-08-15 13:39:46 +00:00
Christopher Ferris
033c2787c4
am c3731ea8: am 0533195e: Merge "malloc_usable_size returns the original size." into lmp-dev
...
* commit 'c3731ea8fdeb5d4d0152b986b4bb9316dc49ead8':
malloc_usable_size returns the original size.
2014-08-15 11:52:10 +00:00
Dan Albert
47822dae63
am e2050ae1: Merge "Change name of MB_CUR_MAX implementation function." into lmp-dev
...
* commit 'e2050ae1aa9d7e8e6f425bbb7a3991fe612f3913':
Change name of MB_CUR_MAX implementation function.
2014-08-15 11:49:36 +00:00
Dan Albert
716fe4caac
am 553c0ea5: Merge "Move mtctxres.c to libc_dns.a." into lmp-dev
...
* commit '553c0ea52bde59800fda2ddd380dd18d4f3ab192':
Move mtctxres.c to libc_dns.a.
2014-08-15 11:49:36 +00:00
Christopher Ferris
c3731ea8fd
am 0533195e: Merge "malloc_usable_size returns the original size." into lmp-dev
...
* commit '0533195e16b86794f14dfb1800ca170ce2548b9f':
malloc_usable_size returns the original size.
2014-08-15 11:36:56 +00:00