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/x86_64/x32/Makefile | 4 ---- 1 file changed, 4 deletions(-) (limited to 'sysdeps/x86_64/x32') diff --git a/sysdeps/x86_64/x32/Makefile b/sysdeps/x86_64/x32/Makefile index 62919c7..8748956 100644 --- a/sysdeps/x86_64/x32/Makefile +++ b/sysdeps/x86_64/x32/Makefile @@ -1,7 +1,3 @@ -ifeq ($(subdir),malloc) -tests-exclude-mcheck += tst-mallocalign1 -endif - ifeq ($(subdir),math) # Since x32 returns 32-bit long int and 64-bit long long int in the # same 64-bit register, we make the 32b-bit lround an alias of the -- cgit v1.1