projects
/
platform
/
upstream
/
linaro-glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5fc728a
)
(_dl_allocate_tls_storage): Fix reversed __builtin_expect expectation.
author
Ulrich Drepper
<drepper@redhat.com>
Thu, 6 Mar 2003 06:40:43 +0000
(06:40 +0000)
committer
Ulrich Drepper
<drepper@redhat.com>
Thu, 6 Mar 2003 06:40:43 +0000
(06:40 +0000)
sysdeps/generic/dl-tls.c
patch
|
blob
|
history
diff --git
a/sysdeps/generic/dl-tls.c
b/sysdeps/generic/dl-tls.c
index
5ec7249
..
19cf0aa
100644
(file)
--- a/
sysdeps/generic/dl-tls.c
+++ b/
sysdeps/generic/dl-tls.c
@@
-294,7
+294,7
@@
_dl_allocate_tls_storage (void)
/* Allocate a correctly aligned chunk of memory. */
result = __libc_memalign (GL(dl_tls_static_align), size);
- if (__builtin_expect (result != NULL,
0
))
+ if (__builtin_expect (result != NULL,
1
))
{
/* Allocate the DTV. */
void *allocated = result;