Changeset b83c5e4 in mainline for uspace/lib/c/generic/rtld/rtld.c
- Timestamp:
- 2023-01-18T20:15:42Z (23 months ago)
- Branches:
- master, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- eb630cf
- Parents:
- 3e7e226
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/rtld/rtld.c
r3e7e226 rb83c5e4 187 187 assert(((uintptr_t) dtv[m->id]) % m->tls_align == 0); 188 188 189 memcpy(dtv[m->id], m->tdata, m->tdata_size); 189 if (m->tdata) 190 memcpy(dtv[m->id], m->tdata, m->tdata_size); 191 190 192 memset(dtv[m->id] + m->tdata_size, 0, m->tbss_size); 191 193 }
Note:
See TracChangeset
for help on using the changeset viewer.