From 84ea6ea24bd5bef674ce16a2832dbbe4d514e6d9 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Mon, 12 Jul 2021 14:36:39 -0700 Subject: 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 --- sysdeps/i386/Makefile | 4 ---- 1 file changed, 4 deletions(-) (limited to 'sysdeps/i386') diff --git a/sysdeps/i386/Makefile b/sysdeps/i386/Makefile index 8fb65c0..a2e8c0b 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 -- cgit v1.1