glibc/sysdeps/generic
H.J. Lu 4e61a6be44 i386: Increase MALLOC_ALIGNMENT to 16 [BZ #21120]
GCC 7 changed the definition of max_align_t on i386:

https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=9b5c49ef97e63cc63f1ffa13baf771368105ebe2

As a result, glibc malloc no longer returns memory blocks which are as
aligned as max_align_t requires.

This causes malloc/tst-malloc-thread-fail to fail with an error like this
one:

error: allocation function 0, size 144 not aligned to 16

This patch moves the MALLOC_ALIGNMENT definition to <malloc-alignment.h>
and increases the malloc alignment to 16 for i386.

	[BZ #21120]
	* malloc/malloc-internal.h (MALLOC_ALIGNMENT): Moved to ...
	* sysdeps/generic/malloc-alignment.h: Here.  New file.
	* sysdeps/i386/malloc-alignment.h: Likewise.
	* sysdeps/generic/malloc-machine.h: Include <malloc-alignment.h>.
2017-06-30 09:11:24 -07:00
..
net
netinet
nfs
sys Rename struct ucontext tag (bug 21457). 2017-06-26 22:03:58 +00:00
Makefile
_G_config.h Remove __need macros from stdio.h and wchar.h. 2017-06-08 13:58:17 -04:00
_itoa.h
a.out.h
abort-instr.h
aio_misc.h
allocalim.h
asm-syntax.h
atomic-machine.h
c++-types.data
confstr.h
device-nrs.h
dirstream.h
dl-cache.h
dl-dtprocnum.h
dl-dtv.h
dl-fcntl.h
dl-fileid.h
dl-fptr.h
dl-hash.h
dl-irel.h
dl-librecon.h
dl-lookupcfg.h
dl-machine.h PowerPC64 ELFv2 PPC64_OPT_LOCALENTRY 2017-06-14 10:47:25 +09:30
dl-mman.h
dl-osinfo.h
dl-procinfo.c
dl-procinfo.h
dl-sysdep.h
dl-tls.h
dl-unistd.h
dwarf2.h
elide.h
eloop-threshold.h
entry.h
errqueue.h
exit-thread.h
fd_to_filename.h
fips-private.h
fix-fp-int-compare-invalid.h
fix-fp-int-convert-overflow.h float128: Add private _Float128 declarations for libm. 2017-05-15 10:23:28 -03:00
fix-int-fp-convert-zero.h
fork.h
fpu_control.h
frame.h
framestate.c
gcc-compat.h
gccframe.h
get-rounding-mode.h
gmp-mparam.h
hp-timing-common.h
hp-timing.h
ifreq.h
ifunc-sel.h
intr-msg.h
inttypes.h
ld.abilist
ldconfig.h
ldsodefs.h ld.so: Consolidate 2 strtouls into _dl_strtoul [BZ #21528] 2017-06-08 12:52:42 -07:00
libBrokenLocale.abilist
libanl.abilist
libc-lock.h
libc-mmap.h
libc-tsd.h
libc.abilist
libcidn.abilist
libcrypt.abilist
libdl.abilist
libm-test-ulps
libm-test-ulps-name
libm.abilist
libnsl.abilist
libnss_compat.abilist
libnss_db.abilist
libnss_dns.abilist
libnss_files.abilist
libnss_hesiod.abilist
libnss_nis.abilist
libnss_nisplus.abilist
libpthread.abilist
libresolv.abilist
librt.abilist
libutil.abilist
linkmap.h
local-setxid.h
localplt.data
machine-gmon.h
machine-lock.h
machine-sp.h
malloc-alignment.h i386: Increase MALLOC_ALIGNMENT to 16 [BZ #21120] 2017-06-30 09:11:24 -07:00
malloc-machine.h i386: Increase MALLOC_ALIGNMENT to 16 [BZ #21120] 2017-06-30 09:11:24 -07:00
malloc-sysdep.h
math-tests-arch.h
math-tests.h Support _Float128 in math-tests.h. 2017-06-22 23:03:38 +00:00
math-type-macros-double.h
math-type-macros-float.h
math-type-macros-float128.h float128: Enable use of IEEE wrapper templates 2017-05-15 10:24:14 -03:00
math-type-macros-ldouble.h
math-type-macros.h Convert e_exp2l.c into a template 2017-05-17 14:44:08 -03:00
math_ldbl.h
math_ldbl_opt.h
math_private.h Correct min_of_type handling of _Float128. 2017-06-22 22:46:27 +00:00
math_private_calls.h float128: Add private _Float128 declarations for libm. 2017-05-15 10:23:28 -03:00
memcopy.h
memusage.h
nan-high-order-bit.h
not-cancel.h
nscd-types.h
pagecopy.h
paths.h
profil-counter.h
pty-private.h
register-dump.h
rtld-lowlevel.h
safe-fatal.h
sigcontextinfo.h
siglist.h Factor out shared definitions from bits/signum.h. 2017-06-20 20:32:50 -04:00
sigset-cvt-mask.h
sigsetops.h Remove __need macros from signal.h. 2017-05-20 19:04:43 -04:00
stackguard-macros.h
stackinfo.h
stdint.h Fix network headers stdint.h namespace (bug 21455). 2017-05-04 20:36:42 +00:00
stdio-lock.h Remove _IO_MTSAFE_IO from public headers. 2017-05-11 19:14:11 -04:00
string_private.h
symbol-hacks.h
sysdep-cancel.h
sysdep.h
thread_state.h
tininess.h
tls-macros.h
tls.h
tst-audit.h
tst-stack-align.h
unsecvars.h
unwind-dw2-fde-glibc.c
unwind-dw2-fde.c [BZ 21357] unwind-dw2-fde: Call free() outside of unwind mutex 2017-04-17 12:03:44 -03:00
unwind-dw2-fde.h
unwind-dw2.c
unwind-pe.c
unwind-pe.h
unwind-resume.h
unwind.h
utmp-equal.h