diff options
author | Joakim Tjernlund <joakim.tjernlund@transmode.se> | 2007-02-17 17:55:45 +0000 |
---|---|---|
committer | Joakim Tjernlund <joakim.tjernlund@transmode.se> | 2007-02-17 17:55:45 +0000 |
commit | ecab701ed849403b1804407d85288c4cfbe7bff8 (patch) | |
tree | b791cc1f61c3c3a2945aaa20f533a58ff1f49de4 /ldso/include/dl-defs.h | |
parent | 9da4b6afffd849f85c4892a2016c899358db99af (diff) |
Make _dl_malloc alignment arch configurable.
From Atsushi Nemoto.
Diffstat (limited to 'ldso/include/dl-defs.h')
-rw-r--r-- | ldso/include/dl-defs.h | 5 |
1 files changed, 5 insertions, 0 deletions
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 */ |