Changeset 0f792c28 in mainline for uspace/lib/c/generic/dlfcn.c


Ignore:
Timestamp:
2016-04-12T16:59:41Z (8 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
e2e9a8a
Parents:
3b0f1b9a
Message:

Source for R_*_COPY relocations must be searched for everywhere except for the executable itself (Thanks Jakub)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/generic/dlfcn.c

    r3b0f1b9a r0f792c28  
    8181
    8282        printf("dlsym(0x%lx, \"%s\")\n", (long)mod, sym_name);
    83         sd = symbol_bfs_find(sym_name, (module_t *) mod, &sm);
     83        sd = symbol_bfs_find(sym_name, (module_t *) mod, ssf_none, &sm);
    8484        if (sd != NULL) {
    8585                return symbol_get_addr(sd, sm);
Note: See TracChangeset for help on using the changeset viewer.