Add support for m68k, nios2, SH3 architectures

Add minimum alignment for three more architectures, as requested by
Debian users or porters (see Debian bugs #807554, #816236, #863424).
This commit is contained in:
Faidon Liambotis 2017-08-07 21:56:21 +03:00 committed by Qi Wang
parent 8da69b69e6
commit 82d1a3fb31

View File

@ -79,9 +79,15 @@ typedef int malloc_cpuid_t;
# ifdef __hppa__ # ifdef __hppa__
# define LG_QUANTUM 4 # define LG_QUANTUM 4
# endif # endif
# ifdef __m68k__
# define LG_QUANTUM 3
# endif
# ifdef __mips__ # ifdef __mips__
# define LG_QUANTUM 3 # define LG_QUANTUM 3
# endif # endif
# ifdef __nios2__
# define LG_QUANTUM 3
# endif
# ifdef __or1k__ # ifdef __or1k__
# define LG_QUANTUM 3 # define LG_QUANTUM 3
# endif # endif
@ -94,7 +100,8 @@ typedef int malloc_cpuid_t;
# ifdef __s390__ # ifdef __s390__
# define LG_QUANTUM 4 # define LG_QUANTUM 4
# endif # endif
# ifdef __SH4__ # if (defined (__SH3E__) || defined(__SH4_SINGLE__) || defined(__SH4__) || \
defined(__SH4_SINGLE_ONLY__))
# define LG_QUANTUM 4 # define LG_QUANTUM 4
# endif # endif
# ifdef __tile__ # ifdef __tile__