Changeset f215c6ef in mainline for uspace/lib/c/generic/libc.c


Ignore:
Timestamp:
2025-01-26T21:33:13Z (12 days ago)
Author:
Matěj Volf <git@…>
Children:
ea77c2d
Parents:
31ea2a7
git-author:
Matěj Volf <git@…> (2025-01-26 21:04:16)
git-committer:
Matěj Volf <git@…> (2025-01-26 21:33:13)
Message:

properly initialize RTLD runtime for static binaries

this is a better approach than what I did of previous commit

see https://github.com/HelenOS/helenos/pull/242 for a lot more context

File:
1 edited

Legend:

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

    r31ea2a7 rf215c6ef  
    9999                /*
    100100                 * A binary loaded by kernel, not the loader.
    101                  * Init some rudimentary rtld runtime environment.
     101                 * Noop - code loaded by kernel doesn't need RTLD.
    102102                 */
    103                 errno_t rtld_init_result = rtld_init_static();
    104                 assert(rtld_init_result == EOK);
     103                // errno_t rtld_init_result = rtld_init_static();
     104                // assert(rtld_init_result == EOK);
    105105        } else {
    106106                assert(__pcb->rtld_runtime != NULL);
Note: See TracChangeset for help on using the changeset viewer.