Changeset 3a9414e in mainline
- Timestamp:
- 2016-05-22T20:22:59Z (9 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- f356618
- Parents:
- b272c67a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/tls.c
rb272c67a r3a9414e 97 97 void tls_free(tcb_t *tcb) 98 98 { 99 #ifdef CONFIG_RTLD 99 100 free(tcb->dtv); 101 #endif 100 102 tls_free_arch(tcb, tls_get_size()); 101 103 } … … 116 118 return NULL; 117 119 *data = ((void *)tcb) + sizeof(tcb_t); 120 #ifdef CONFIG_RTLD 118 121 tcb->dtv = NULL; 122 #endif 119 123 120 124 return tcb; … … 149 153 tcb = (tcb_t *) (*data + size); 150 154 tcb->self = tcb; 155 #ifdef CONFIG_RTLD 151 156 tcb->dtv = NULL; 157 #endif 152 158 153 159 return tcb;
Note:
See TracChangeset
for help on using the changeset viewer.