mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-23 13:30:06 +00:00
(_dl_allocate_tls_storage): Fix reversed __builtin_expect expectation.
This commit is contained in:
parent
5fc728a23a
commit
92f6b65e0a
@ -294,7 +294,7 @@ _dl_allocate_tls_storage (void)
|
|||||||
|
|
||||||
/* Allocate a correctly aligned chunk of memory. */
|
/* Allocate a correctly aligned chunk of memory. */
|
||||||
result = __libc_memalign (GL(dl_tls_static_align), size);
|
result = __libc_memalign (GL(dl_tls_static_align), size);
|
||||||
if (__builtin_expect (result != NULL, 0))
|
if (__builtin_expect (result != NULL, 1))
|
||||||
{
|
{
|
||||||
/* Allocate the DTV. */
|
/* Allocate the DTV. */
|
||||||
void *allocated = result;
|
void *allocated = result;
|
||||||
|
Loading…
Reference in New Issue
Block a user