Changeset bab0f42 in mainline for uspace/lib/c/generic/rtld/module.c


Ignore:
Timestamp:
2016-05-16T18:38:31Z (9 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
e2f26002
Parents:
29405ac
Message:

Make sure we only go through initial modules when constructing TLS.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/generic/rtld/module.c

    r29405ac rbab0f42  
    288288        list_foreach(rtld->modules, modules_link, module_t, m) {
    289289                m->ioffs = rtld->tls_size;
     290                list_append(&m->imodules_link, &rtmd->imodules);
    290291                rtld->tls_size += m->tdata_size + m->tbss_size;
    291292        }
     
    301302                offs += m->tdata_size + m->tbss_size;
    302303                m->ioffs = rtld->tls_size - offs;
     304                list_append(&m->imodules_link, &rtld->imodules);
    303305        }
    304306#endif
Note: See TracChangeset for help on using the changeset viewer.