Changeset f215c6ef in mainline for uspace/lib/c/include/rtld


Ignore:
Timestamp:
2025-01-26T21:33:13Z (11 months 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

Location:
uspace/lib/c/include/rtld
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/include/rtld/module.h

    r31ea2a7 rf215c6ef  
    4141#include <types/rtld/rtld.h>
    4242
    43 extern errno_t module_create_static_exec(rtld_t *, module_t **);
     43extern errno_t module_create_static_exec(const void *, rtld_t *);
    4444extern void module_process_relocs(module_t *);
    4545extern module_t *module_find(rtld_t *, const char *);
  • uspace/lib/c/include/rtld/rtld.h

    r31ea2a7 rf215c6ef  
    4545extern rtld_t *runtime_env;
    4646
    47 extern errno_t rtld_init_static(void);
     47extern errno_t rtld_init_static(elf_finfo_t *, rtld_t **);
    4848extern errno_t rtld_prog_process(elf_finfo_t *, rtld_t **);
    4949extern tcb_t *rtld_tls_make(rtld_t *);
Note: See TracChangeset for help on using the changeset viewer.