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
Hans Boehm
7d05f741e7
Merge "Have stdatomic.h punt to C++ atomic when possible"
2014-08-15 05:01:31 +00:00
Hans Boehm
019d395811
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
2014-08-15 10:38:20 -07:00
Dmitriy Ivanov
337527f4a7
am a43011da: am 4bea4c63: Label pages mapped by linker_allocator
...
* commit 'a43011daf05cf0b22f4c0d387254351e87898035':
Label pages mapped by linker_allocator
2014-08-14 23:49:22 +00:00
Dmitriy Ivanov
a43011daf0
am 4bea4c63: Label pages mapped by linker_allocator
...
* commit '4bea4c631f747cc6b570ecd42c744a9b1103bf28':
Label pages mapped by linker_allocator
2014-08-14 23:34:48 +00:00
Dan Albert
cf59e8ca66
am 3dbab7a7: am d0cce143: Merge "Move mtctxres.c to libc_dns.a."
...
* commit '3dbab7a709c1048e5051c4496f65def3b2f2c44c':
Move mtctxres.c to libc_dns.a.
2014-08-14 23:33:27 +00:00
Dan Albert
3dbab7a709
am d0cce143: Merge "Move mtctxres.c to libc_dns.a."
...
* commit 'd0cce1436435bfcb477f2c5a670ea6675473c2f8':
Move mtctxres.c to libc_dns.a.
2014-08-14 23:28:19 +00:00
Dmitriy Ivanov
4eb28d6278
am f6829737: am 8457779b: Merge "Keep symbols for linker"
...
* commit 'f6829737ccaec1af17290283d2c571dd06600f96':
Keep symbols for linker
2014-08-14 23:00:44 +00:00
Dmitriy Ivanov
f6829737cc
am 8457779b: Merge "Keep symbols for linker"
...
* commit '8457779b3469f5fa6b8104c2fd3869a72f1345dd':
Keep symbols for linker
2014-08-14 22:55:53 +00:00
Dmitriy Ivanov
1467dfe3e8
Make string tests check all alignment combinations
...
Reduce randomization of the test by (1) replacing random() & 255
with hard-coded char and (2) by making State *Iteration function
visit every possible alignment combination instead of 10 random ones.
Change-Id: I0ff0b4ca817ba9fbbcce53e09b25eb10a1a853c2
2014-08-14 15:05:20 -07:00
Dan Albert
db4b9e600e
am 49af4264: am 0d4ccee3: Merge "Change name of MB_CUR_MAX implementation function."
...
* commit '49af4264ab57618f5e189287f4f2aa9f8aae2231':
Change name of MB_CUR_MAX implementation function.
2014-08-14 21:35:56 +00:00
Dan Albert
7fe5957503
am 72de5013: am 104a4729: Merge "Add more functionality to glibc symbol checker."
...
* commit '72de50139dd7bccebb57b2764eae0f534b6ecdca':
Add more functionality to glibc symbol checker.
2014-08-14 21:35:56 +00:00
Dan Albert
49af4264ab
am 0d4ccee3: Merge "Change name of MB_CUR_MAX implementation function."
...
* commit '0d4ccee35101c6bcd6cc28c23fe79d7b48a98dd0':
Change name of MB_CUR_MAX implementation function.
2014-08-14 21:31:21 +00:00
Dan Albert
72de50139d
am 104a4729: Merge "Add more functionality to glibc symbol checker."
...
* commit '104a472958f86eafafe0c1d9e2c58ba6403f99e7':
Add more functionality to glibc symbol checker.
2014-08-14 21:31:20 +00:00
Dan Albert
e2050ae1aa
Merge "Change name of MB_CUR_MAX implementation function." into lmp-dev
2014-08-14 19:49:28 +00:00
Dan Albert
bafee43161
Change name of MB_CUR_MAX implementation function.
...
Glibc calls theirs __ctype_get_mb_cur_max. Make ours match to cut down
on differences between bionic and glibc.
Bug: 11156955
Change-Id: Ib7231f01aa9676dff30aea0af25d597bfe07bc73
2014-08-14 14:01:44 -07:00
Dmitriy Ivanov
8457779b34
Merge "Keep symbols for linker"
2014-08-14 19:49:27 +00:00
Dmitriy Ivanov
ad5e8b5073
Keep symbols for linker
...
Bug: 17011146
Change-Id: I314e72a1ac9325bf5ea84d52e3d5bc51d8ea00cf
2014-08-14 15:46:36 -07:00
Dan Albert
0d4ccee351
Merge "Change name of MB_CUR_MAX implementation function."
2014-08-14 19:41:13 +00:00
Dan Albert
224ff048ef
Change name of MB_CUR_MAX implementation function.
...
Glibc calls theirs __ctype_get_mb_cur_max. Make ours match to cut down
on differences between bionic and glibc.
Bug: 11156955
Change-Id: Ib7231f01aa9676dff30aea0af25d597bfe07bc73
2014-08-14 13:56:51 -07:00
Dan Albert
104a472958
Merge "Add more functionality to glibc symbol checker."
2014-08-14 19:41:13 +00:00
Dan Albert
76212eeb53
Add more functionality to glibc symbol checker.
...
Also scan NDK's unwanted symbols list (to show the things that we're
exporting but the NDK isn't. Symbols hidden in the NDK will be marked
with a *.
Add a -u (--unwanted) flag to disable the first two printed groups
(all symbols in bionic, all symbols in glibc). This is helpful when
wanting to grep in the list of unwanted symbols.
Finally, update the list of known differences between us and glibc.
Change-Id: I6fdb4126823098430454763c391bd8cd369a75bb
2014-08-14 14:02:34 -07:00
Dan Albert
553c0ea52b
Merge "Move mtctxres.c to libc_dns.a." into lmp-dev
2014-08-14 16:46:52 +00:00
Dan Albert
9f533972ae
Move mtctxres.c to libc_dns.a.
...
Has the effect of making ___mtctxres hidden.
Bug: 11156955
Change-Id: I5aa5f49344ad5ecb33f48737430561b329bcbb0d
(cherry picked from commit 891ec7a6e46e60d7dfa1cf229e14a8e8634e272b)
2014-08-14 16:46:22 -07:00
Christopher Ferris
0533195e16
Merge "malloc_usable_size returns the original size." into lmp-dev
2014-08-14 16:46:52 +00:00
Christopher Ferris
59c1ee44d0
malloc_usable_size returns the original size.
...
Bug: 16874447
Change-Id: Ie3ce683fd1f58b837b8ea91dc798e561b8593356
2014-08-14 12:48:04 -07:00
Hans Boehm
6486388ee3
am faa0a7b7: am 4f85c6ff: Merge "Add memory ordering constraint, convert to C11 atomics"
...
* commit 'faa0a7b7886e98c63078b4874224c7ea66a70036':
Add memory ordering constraint, convert to C11 atomics
2014-08-14 03:38:37 +00:00
Hans Boehm
faa0a7b788
am 4f85c6ff: Merge "Add memory ordering constraint, convert to C11 atomics"
...
* commit '4f85c6ffd31d1f8cc000ab326edd8edb7ecd55a9':
Add memory ordering constraint, convert to C11 atomics
2014-08-14 01:21:44 +00:00
Dmitriy Ivanov
4bea4c631f
Label pages mapped by linker_allocator
...
(cherry picked from commit 51a22a12ab370933a35463f5c81223132ec64dcb)
Bug: 17013324
Change-Id: I345c9d0fecc29d3626c5be01cc3c0ed1583ac361
2014-08-13 18:15:29 -07:00
Dmitriy Ivanov
3435d89666
am 63ea43de: am e942b3ed: Merge "Added test for ifunc support in dynamic linker."
...
* commit '63ea43de8f2f5aa5c260165a1d4415f642656d75':
Added test for ifunc support in dynamic linker.
2014-08-14 00:38:50 +00:00
Dmitriy Ivanov
63ea43de8f
am e942b3ed: Merge "Added test for ifunc support in dynamic linker."
...
* commit 'e942b3ed81ad4e0161f3ffa4f8d0017bfbb750e2':
Added test for ifunc support in dynamic linker.
2014-08-14 00:36:41 +00:00
Dan Albert
89c57c8728
am 07337271: am 9a74e4c1: Merge "Hide __libc_init_vdso()."
...
* commit '0733727194593db83aa10ecce74028745a75460a':
Hide __libc_init_vdso().
2014-08-13 23:11:48 +00:00
Dan Albert
0733727194
am 9a74e4c1: Merge "Hide __libc_init_vdso()."
...
* commit '9a74e4c15c17b9126ad348d865002880fc36bd12':
Hide __libc_init_vdso().
2014-08-13 23:05:11 +00:00
Dan Albert
808a44c37f
am 9b4410b9: am 1f4c536f: (-s ours) Merge "Hide ScopedTrace."
...
* commit '9b4410b9123b32ecb3b48eb17ef67e029660a821':
Hide ScopedTrace.
2014-08-13 20:21:59 +00:00