platform_bionic/libc
Christopher Ferris 72df6708c8 Fix the default alignment of the allocations.
In order to enforce this constraint:

The pointer returned if the allocation succeeds shall be suitably
aligned so that it may be assigned to a pointer to any type of object
and then used to access such an object in the space allocated.

Force all allocations on 32 bit systems to have 8 byte alignment,
and all allocations on 64 bit systems to have 16 byte alignment.

Add a test to verify that the allocator returns the correct alignments.

Bug: 26739265
Change-Id: I9af53279617408676b94e4ec6481b3ed7ffafc6a
2016-02-12 17:30:30 -08:00
..
arch-arm Really add adjtimex(2), and add clock_adjtime(2) too. 2016-02-03 13:19:10 -08:00
arch-arm64 Really add adjtimex(2), and add clock_adjtime(2) too. 2016-02-03 13:19:10 -08:00
arch-common/bionic
arch-mips Really add adjtimex(2), and add clock_adjtime(2) too. 2016-02-03 13:19:10 -08:00
arch-mips64 Really add adjtimex(2), and add clock_adjtime(2) too. 2016-02-03 13:19:10 -08:00
arch-x86 Set x86 TLS limit to 0xfffff, not PAGE_SIZE. 2016-02-09 22:44:16 -08:00
arch-x86_64 Really add adjtimex(2), and add clock_adjtime(2) too. 2016-02-03 13:19:10 -08:00
bionic Set x86 TLS limit to 0xfffff, not PAGE_SIZE. 2016-02-09 22:44:16 -08:00
dns Sync with upstream OpenBSD. 2016-01-15 16:30:18 -08:00
include Merge "define pw_gecos to pw_passwd for LP32 systems" 2016-02-06 19:29:29 +00:00
kernel Updated to v4.4.1 kernel headers. 2016-02-05 16:03:55 -08:00
malloc_debug Fix the default alignment of the allocations. 2016-02-12 17:30:30 -08:00
private Revert "Revert "Make sem_wait able to return errno EINTR for sdk > 23."" 2016-01-25 17:39:18 -08:00
stdio Add fopen64/freopen64/tmpfile64 aliases. 2016-02-03 11:24:28 -08:00
stdlib Revert "Revert "Remove __sinit and __sdidinit."" 2015-12-05 07:30:59 -08:00
tools Add fopen64/freopen64/tmpfile64 aliases. 2016-02-03 11:24:28 -08:00
tzcode Remove mktime_tz. 2016-01-06 09:15:02 -08:00
upstream-freebsd Move several FreeBSD functions to OpenBSD. 2015-09-14 19:01:58 -07:00
upstream-netbsd resolve merge conflicts of d676080a37 to lmp-mr1-ub-dev. 2015-10-21 14:56:52 -07:00
upstream-openbsd Implement funopen64. 2016-01-26 14:45:13 -08:00
zoneinfo Update timezone data to 2015g 2015-10-14 08:54:17 +00:00
Android.bp Update Android.bp 2016-02-03 21:48:08 -08:00
Android.mk Set x86 TLS limit to 0xfffff, not PAGE_SIZE. 2016-02-09 22:44:16 -08:00
crt.mk Tell kati about generated dependencies around crt 2016-01-28 19:39:50 +09:00
libc.arm.brillo.map Add in6addr_any and in6addr_loopback symbols. 2016-02-03 14:13:52 -08:00
libc.arm.map Add in6addr_any and in6addr_loopback symbols. 2016-02-03 14:13:52 -08:00
libc.arm64.map Add in6addr_any and in6addr_loopback symbols. 2016-02-03 14:13:52 -08:00
libc.map.txt Add in6addr_any and in6addr_loopback symbols. 2016-02-03 14:13:52 -08:00
libc.mips.brillo.map Add in6addr_any and in6addr_loopback symbols. 2016-02-03 14:13:52 -08:00
libc.mips.map Add in6addr_any and in6addr_loopback symbols. 2016-02-03 14:13:52 -08:00
libc.mips64.map Add in6addr_any and in6addr_loopback symbols. 2016-02-03 14:13:52 -08:00
libc.x86.brillo.map Add in6addr_any and in6addr_loopback symbols. 2016-02-03 14:13:52 -08:00
libc.x86.map Add in6addr_any and in6addr_loopback symbols. 2016-02-03 14:13:52 -08:00
libc.x86_64.map Add in6addr_any and in6addr_loopback symbols. 2016-02-03 14:13:52 -08:00
MODULE_LICENSE_BSD
NOTICE Update NOTICE files. 2016-02-08 17:00:12 -08:00
SYSCALLS.TXT Really add adjtimex(2), and add clock_adjtime(2) too. 2016-02-03 13:19:10 -08:00
version_script.txt