Since clang does not support the tls_model attribute used in malloc.c
yet (see LLVM PR 9788), and warns about it, rub it out for now. When clang grows support for this attribute, I will revert this again. MFC after: 1 week
This commit is contained in:
parent
37ef732e37
commit
b94ddd938b
@ -219,7 +219,11 @@ __FBSDID("$FreeBSD$");
|
||||
# define LG_QUANTUM 4
|
||||
# define LG_SIZEOF_PTR 2
|
||||
# define CPU_SPINWAIT __asm__ volatile("pause")
|
||||
# define TLS_MODEL __attribute__((tls_model("initial-exec")))
|
||||
# ifdef __clang__
|
||||
# define TLS_MODEL /* clang does not support tls_model yet */
|
||||
# else
|
||||
# define TLS_MODEL __attribute__((tls_model("initial-exec")))
|
||||
# endif
|
||||
#endif
|
||||
#ifdef __ia64__
|
||||
# define LG_QUANTUM 4
|
||||
@ -240,7 +244,11 @@ __FBSDID("$FreeBSD$");
|
||||
# define LG_QUANTUM 4
|
||||
# define LG_SIZEOF_PTR 3
|
||||
# define CPU_SPINWAIT __asm__ volatile("pause")
|
||||
# define TLS_MODEL __attribute__((tls_model("initial-exec")))
|
||||
# ifdef __clang__
|
||||
# define TLS_MODEL /* clang does not support tls_model yet */
|
||||
# else
|
||||
# define TLS_MODEL __attribute__((tls_model("initial-exec")))
|
||||
# endif
|
||||
#endif
|
||||
#ifdef __arm__
|
||||
# define LG_QUANTUM 3
|
||||
|
Loading…
x
Reference in New Issue
Block a user