From ecab701ed849403b1804407d85288c4cfbe7bff8 Mon Sep 17 00:00:00 2001 From: Joakim Tjernlund Date: Sat, 17 Feb 2007 17:55:45 +0000 Subject: Make _dl_malloc alignment arch configurable. From Atsushi Nemoto. --- ldso/include/dl-defs.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'ldso/include') diff --git a/ldso/include/dl-defs.h b/ldso/include/dl-defs.h index a8f6d6aae..eb59ca28b 100644 --- a/ldso/include/dl-defs.h +++ b/ldso/include/dl-defs.h @@ -164,4 +164,9 @@ typedef struct { ((*SIGNATURE DL_ADDR_TO_FUNC_PTR ((ADDR), (LOADADDR)))(__VA_ARGS__)) #endif +/* An alignment value for a memory block returned by _dl_malloc. */ +#ifndef DL_MALLOC_ALIGN +# define DL_MALLOC_ALIGN (__WORDSIZE / 8) +#endif + #endif /* _LD_DEFS_H */ -- cgit v1.2.3