mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-22 13:00:06 +00:00
Fix build failure on tilepro due to unsupported atomics
* malloc/malloc.c (malloc_state): Use int for have_fastchunks since not all targets support atomics on bool.
This commit is contained in:
parent
13c92696d2
commit
2c2245b92c
@ -1,3 +1,8 @@
|
|||||||
|
2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
|
||||||
|
|
||||||
|
* malloc/malloc.c (malloc_state): Use int for have_fastchunks since
|
||||||
|
not all targets support atomics on bool.
|
||||||
|
|
||||||
2017-10-17 Joseph Myers <joseph@codesourcery.com>
|
2017-10-17 Joseph Myers <joseph@codesourcery.com>
|
||||||
|
|
||||||
* include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
|
* include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
|
||||||
|
@ -1673,7 +1673,8 @@ struct malloc_state
|
|||||||
int flags;
|
int flags;
|
||||||
|
|
||||||
/* Set if the fastbin chunks contain recently inserted free blocks. */
|
/* Set if the fastbin chunks contain recently inserted free blocks. */
|
||||||
bool have_fastchunks;
|
/* Note this is a bool but not all targets support atomics on booleans. */
|
||||||
|
int have_fastchunks;
|
||||||
|
|
||||||
/* Fastbins */
|
/* Fastbins */
|
||||||
mfastbinptr fastbinsY[NFASTBINS];
|
mfastbinptr fastbinsY[NFASTBINS];
|
||||||
|
Loading…
Reference in New Issue
Block a user