about summary refs log tree commit diff
path: root/sysdeps/i386
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2021-07-12 14:36:39 -0700
committerH.J. Lu <hjl.tools@gmail.com>2021-07-12 18:13:32 -0700
commit84ea6ea24bd5bef674ce16a2832dbbe4d514e6d9 (patch)
tree4481eb56c43060ed63b8f4013e20f2169d32c0fe /sysdeps/i386
parent72e84d1db22203e01a43268de71ea8669eca2863 (diff)
downloadglibc-84ea6ea24bd5bef674ce16a2832dbbe4d514e6d9.tar.gz
glibc-84ea6ea24bd5bef674ce16a2832dbbe4d514e6d9.tar.xz
glibc-84ea6ea24bd5bef674ce16a2832dbbe4d514e6d9.zip
mcheck: Align struct hdr to MALLOC_ALIGNMENT bytes [BZ #28068]
1. Align struct hdr to MALLOC_ALIGNMENT bytes so that malloc hooks in
libmcheck align memory to MALLOC_ALIGNMENT bytes.
2. Remove tst-mallocalign1 from tests-exclude-mcheck for i386 and x32.
3. Add tst-pvalloc-fortify and tst-reallocarray to tests-exclude-mcheck
since they use malloc_usable_size (see BZ #22057).

This fixed BZ #28068.

Reviewed-by: Siddhesh Poyarekar <siddhesh@sourceware.org>
Diffstat (limited to 'sysdeps/i386')
-rw-r--r--sysdeps/i386/Makefile4
1 files changed, 0 insertions, 4 deletions
diff --git a/sysdeps/i386/Makefile b/sysdeps/i386/Makefile
index 8fb65c0f17..a2e8c0b128 100644
--- a/sysdeps/i386/Makefile
+++ b/sysdeps/i386/Makefile
@@ -5,10 +5,6 @@ asm-CPPFLAGS += -DGAS_SYNTAX
 # The i386 `long double' is a distinct type we support.
 long-double-fcts = yes
 
-ifeq ($(subdir),malloc)
-tests-exclude-mcheck += tst-mallocalign1
-endif
-
 ifeq ($(subdir),math)
 # These functions change the rounding mode internally and need to
 # update both the SSE2 rounding mode and the 387 rounding mode.  See