]> sourceware.org Git - glibc.git/blobdiff - elf/dynamic-link.h
rtld: Avoid using up static TLS surplus for optimizations [BZ #25051]
[glibc.git] / elf / dynamic-link.h
index bb7a66f4cd7434d264367c2d2b2d8b4e287a1031..6727233e1adc471797ee20230dc1c445d6fb412e 100644 (file)
     (__builtin_expect ((sym_map)->l_tls_offset                         \
                       != FORCED_DYNAMIC_TLS_OFFSET, 1)                 \
      && (__builtin_expect ((sym_map)->l_tls_offset != NO_TLS_OFFSET, 1)        \
-        || _dl_try_allocate_static_tls (sym_map) == 0))
+        || _dl_try_allocate_static_tls (sym_map, true) == 0))
 
-int _dl_try_allocate_static_tls (struct link_map *map) attribute_hidden;
+int _dl_try_allocate_static_tls (struct link_map *map, bool optional)
+  attribute_hidden;
 
 #include <elf.h>
 
This page took 0.027549 seconds and 5 git commands to generate.