Ignore:
File:
1 edited

Legend:

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

    r25f6bddb rbdcf71e  
    9696
    9797#ifdef CONFIG_RTLD
    98         if (__pcb != NULL && __pcb->rtld_runtime != NULL) {
     98        if (__pcb == NULL) {
     99                /*
     100                 * A binary loaded by kernel, not the loader.
     101                 * Noop - code loaded by kernel doesn't need RTLD.
     102                 */
     103        } else {
     104                assert(__pcb->rtld_runtime != NULL);
    99105                runtime_env = (rtld_t *) __pcb->rtld_runtime;
    100         } else {
    101                 if (rtld_init_static() != EOK)
    102                         abort();
    103106        }
    104107#endif
Note: See TracChangeset for help on using the changeset viewer.