Changes in uspace/lib/c/generic/libc.c [153c7a29:17341d4] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/libc.c
r153c7a29 r17341d4 41 41 */ 42 42 43 #include <errno.h>44 43 #include <libc.h> 45 44 #include <stdlib.h> … … 69 68 __malloc_init(); 70 69 71 /* Save the PCB pointer */72 __pcb = (pcb_t *) pcb_ptr;73 74 #ifdef CONFIG_RTLD75 if (__pcb != NULL && __pcb->rtld_runtime != NULL) {76 runtime_env = (rtld_t *) __pcb->rtld_runtime;77 } else {78 if (rtld_init_static() != EOK)79 abort();80 }81 #endif82 83 70 fibril_t *fibril = fibril_setup(); 84 71 if (fibril == NULL) … … 87 74 __tcb_set(fibril->tcb); 88 75 76 /* Save the PCB pointer */ 77 __pcb = (pcb_t *) pcb_ptr; 89 78 90 79 #ifdef FUTEX_UPGRADABLE … … 100 89 char **argv; 101 90 91 #ifdef CONFIG_RTLD 92 if (__pcb != NULL && __pcb->rtld_runtime != NULL) { 93 runtime_env = (rtld_t *) __pcb->rtld_runtime; 94 } 95 #endif 102 96 /* 103 97 * Get command line arguments and initialize
Note:
See TracChangeset
for help on using the changeset viewer.