1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- #ifndef _NDS32_DL_TLS_H
- #define _NDS32_DL_TLS_H 1
- struct tlsdesc
- {
- ptrdiff_t (*entry)(struct tlsdesc *);
- union
- {
- void *pointer;
- long value;
- } argument;
- };
- typedef struct
- {
- unsigned long int ti_module;
- unsigned long int ti_offset;
- } tls_index;
- struct tlsdesc_dynamic_arg
- {
- tls_index tlsinfo;
- size_t gen_count;
- };
- extern void *__tls_get_addr (tls_index *ti);
- extern ptrdiff_t attribute_hidden
- _dl_tlsdesc_return(struct tlsdesc *);
- extern void *_dl_make_tlsdesc_dynamic (struct link_map *map, size_t ti_offset);
- extern ptrdiff_t attribute_hidden
- _dl_tlsdesc_dynamic(struct tlsdesc *);
- #endif
|