Changes in uspace/lib/c/generic/rtld/module.c [58563585:153c7a29] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/rtld/module.c
r58563585 r153c7a29 151 151 } 152 152 } 153 153 154 154 return NULL; /* Not found */ 155 155 } … … 167 167 module_t *m; 168 168 int rc; 169 169 170 170 m = calloc(1, sizeof(module_t)); 171 171 if (m == NULL) { … … 173 173 exit(1); 174 174 } 175 175 176 176 m->rtld = rtld; 177 177 m->id = rtld_get_next_id(rtld); … … 217 217 /* Insert into the list of loaded modules */ 218 218 list_append(&m->modules_link, &rtld->modules); 219 219 220 220 /* Copy TLS info */ 221 221 m->tdata = info.tls.tdata; … … 223 223 m->tbss_size = info.tls.tbss_size; 224 224 m->tls_align = info.tls.tls_align; 225 225 226 226 DPRINTF("tdata at %p size %zu, tbss size %zu\n", 227 227 m->tdata, m->tdata_size, m->tbss_size);
Note:
See TracChangeset
for help on using the changeset viewer.