Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 5035ba05 in mainline for uspace/lib/c/generic/dlfcn.c


Ignore:
Timestamp:
2016-05-02T19:49:51Z (5 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
master
Children:
32573ff, 9a08e6b
Parents:
634e020
Message:

Default symbol search vs. dlsym's BFS search.

File:
1 edited

Legend:

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

    r634e020 r5035ba05  
    6060        if (m == NULL) {
    6161                printf("NULL. module_load('%s')\n", path);
    62                 m = module_load(runtime_env, path);
     62                m = module_load(runtime_env, path, mlf_local);
    6363                printf("module_load_deps(m)\n");
    64                 module_load_deps(m);
     64                module_load_deps(m, mlf_local);
    6565                /* Now relocate. */
    6666                printf("module_process_relocs(m)\n");
     
    8282
    8383        printf("dlsym(0x%lx, \"%s\")\n", (long)mod, sym_name);
    84         sd = symbol_bfs_find(sym_name, (module_t *) mod, ssf_none, &sm);
     84        sd = symbol_bfs_find(sym_name, (module_t *) mod, &sm);
    8585        if (sd != NULL) {
    8686                return symbol_get_addr(sd, sm);
Note: See TracChangeset for help on using the changeset viewer.