about summary refs log tree commit diff
path: root/malloc/Makefile
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2021-07-08 20:48:14 -0700
committerH.J. Lu <hjl.tools@gmail.com>2021-07-09 06:39:30 -0700
commitdc76a059fded7a203c82dbb91d4fc1f43d3250db (patch)
treed77c68f593de7ebea9d5202aba84a57554a53355 /malloc/Makefile
parent0ec97597c859ac6a69733cf70c6bd6fc809dcc4b (diff)
downloadglibc-dc76a059fded7a203c82dbb91d4fc1f43d3250db.tar.gz
glibc-dc76a059fded7a203c82dbb91d4fc1f43d3250db.tar.xz
glibc-dc76a059fded7a203c82dbb91d4fc1f43d3250db.zip
Add a generic malloc test for MALLOC_ALIGNMENT
1. Add sysdeps/generic/malloc-size.h to define size related macros for
malloc.
2. Move x86_64/tst-mallocalign1.c to malloc and replace ALIGN_MASK with
MALLOC_ALIGN_MASK.
3. Add tst-mallocalign1 to tests-exclude-mcheck for i386 and x32 since
mcheck doesn't honor MALLOC_ALIGNMENT.
Diffstat (limited to 'malloc/Makefile')
-rw-r--r--malloc/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/malloc/Makefile b/malloc/Makefile
index 37a9a4efab..b685ed6d61 100644
--- a/malloc/Makefile
+++ b/malloc/Makefile
@@ -42,6 +42,7 @@ tests := mallocbug tst-malloc tst-valloc tst-calloc tst-obstack \
 	 tst-malloc-stats-cancellation \
 	 tst-tcfree1 tst-tcfree2 tst-tcfree3 \
 	 tst-safe-linking \
+	 tst-mallocalign1 \
 
 tests-static := \
 	 tst-interpose-static-nothread \