diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2013-12-20 14:00:26 +0100 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2013-12-20 14:00:26 +0100 |
commit | f0ab57ca009fdf0c80df30af3756dfddc83d6e68 (patch) | |
tree | 945cec51c4c5c5faf4b9d655e66b386a3c7a3cbb /ldso/include | |
parent | 0096e0dff7945660405f965effc065493ae80ac7 (diff) |
ldso: use unlikely macro
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'ldso/include')
-rw-r--r-- | ldso/include/ldsodefs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ldso/include/ldsodefs.h b/ldso/include/ldsodefs.h index 8f601e944..4063d00f4 100644 --- a/ldso/include/ldsodefs.h +++ b/ldso/include/ldsodefs.h @@ -66,7 +66,7 @@ extern void _dl_allocate_static_tls (struct link_map *map) /* Taken from glibc/elf/dl-reloc.c */ #define CHECK_STATIC_TLS(sym_map) \ do { \ - if (__builtin_expect ((sym_map)->l_tls_offset == NO_TLS_OFFSET, 0)) \ + if (unlikely((sym_map)->l_tls_offset == NO_TLS_OFFSET)) \ _dl_allocate_static_tls (sym_map); \ } while (0) |