Changeset d2bb25e7 in mainline for uspace/lib/c/arch/ia32/src/tls.c


Ignore:
Timestamp:
2016-05-17T22:51:37Z (8 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
9c07c3d
Parents:
e2f26002
Message:

Use DTVs. symbol_get_addr() should not implicitly read current thread pointer.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/arch/ia32/src/tls.c

    re2f26002 rd2bb25e7  
    7373#ifdef CONFIG_RTLD
    7474        if (runtime_env != NULL) {
    75                 return rtld_tls_get_addr(runtime_env, ti->ti_module,
    76                     ti->ti_offset);
     75                return rtld_tls_get_addr(runtime_env, __tcb_get(),
     76                    ti->ti_module, ti->ti_offset);
    7777        }
    7878#endif
Note: See TracChangeset for help on using the changeset viewer.