Changeset e2f26002 in mainline for uspace/lib/c/generic/rtld/symbol.c
- Timestamp:
- 2016-05-17T17:15:13Z (9 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- d2bb25e7
- Parents:
- bab0f42
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/rtld/symbol.c
rbab0f42 re2f26002 251 251 void *symbol_get_addr(elf_symbol_t *sym, module_t *m) 252 252 { 253 if (sym->st_shndx == SHN_ABS) { 253 if (ELF_ST_TYPE(sym->st_info) == STT_TLS) { 254 return rtld_tls_get_addr(m->rtld, m->id, sym->st_value); 255 } else if (sym->st_shndx == SHN_ABS) { 254 256 /* Do not add bias to absolute symbols */ 255 257 return (void *) sym->st_value;
Note:
See TracChangeset
for help on using the changeset viewer.