Changeset 31ea2a7 in mainline for uspace/lib/c/generic/libc.c
- Timestamp:
- 2025-01-26T17:53:49Z (5 months ago)
- Children:
- f215c6ef
- Parents:
- eff458d
- git-author:
- Matěj Volf <git@…> (2025-01-25 21:36:13)
- git-committer:
- Matěj Volf <git@…> (2025-01-26 17:53:49)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/libc.c
reff458d r31ea2a7 96 96 97 97 #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 * Init some rudimentary rtld runtime environment. 102 */ 103 errno_t rtld_init_result = rtld_init_static(); 104 assert(rtld_init_result == EOK); 105 } else { 106 assert(__pcb->rtld_runtime != NULL); 99 107 runtime_env = (rtld_t *) __pcb->rtld_runtime; 100 } else {101 if (rtld_init_static() != EOK)102 abort();103 108 } 104 109 #endif
Note:
See TracChangeset
for help on using the changeset viewer.