瀏覽代碼

nds32: add missing define for TLS

Waldemar Brodkorb 4 月之前
父節點
當前提交
cafc862065
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      libpthread/nptl/sysdeps/nds32/dl-tls.h

+ 2 - 0
libpthread/nptl/sysdeps/nds32/dl-tls.h

@@ -56,4 +56,6 @@ extern void *_dl_make_tlsdesc_dynamic (struct link_map *map, size_t ti_offset);
 extern ptrdiff_t attribute_hidden
   _dl_tlsdesc_dynamic(struct tlsdesc *);
 
+#define TLS_DTV_UNALLOCATED ((void *) -1l)
+
 #endif //_NDS32_DL_TLS_H