Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/loader/main.c

    r31ea2a7 rbdca26a  
    300300
    301301#ifdef CONFIG_RTLD
    302         assert(prog_info.env != NULL);
    303         pcb.tcb = rtld_tls_make(prog_info.env);
     302        if (prog_info.env) {
     303                pcb.tcb = rtld_tls_make(prog_info.env);
     304        } else {
     305                pcb.tcb = tls_make(prog_info.finfo.base);
     306        }
    304307#else
    305308        pcb.tcb = tls_make(prog_info.finfo.base);
Note: See TracChangeset for help on using the changeset viewer.