diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2021-07-08 20:48:14 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2021-07-09 06:39:30 -0700 |
commit | dc76a059fded7a203c82dbb91d4fc1f43d3250db (patch) | |
tree | d77c68f593de7ebea9d5202aba84a57554a53355 /sysdeps/generic/malloc-machine.h | |
parent | 0ec97597c859ac6a69733cf70c6bd6fc809dcc4b (diff) | |
download | glibc-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 'sysdeps/generic/malloc-machine.h')
-rw-r--r-- | sysdeps/generic/malloc-machine.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sysdeps/generic/malloc-machine.h b/sysdeps/generic/malloc-machine.h index a71f2361f5..121d8ad0c9 100644 --- a/sysdeps/generic/malloc-machine.h +++ b/sysdeps/generic/malloc-machine.h @@ -21,7 +21,6 @@ #define _GENERIC_MALLOC_MACHINE_H #include <atomic.h> -#include <malloc-alignment.h> #ifndef atomic_full_barrier # define atomic_full_barrier() __asm ("" ::: "memory") |