ld: implement support for exposing ld functions to loaded executables

This commit is contained in:
2026-05-30 10:17:43 +01:00
parent ce52afe5b4
commit 08abe467ea
12 changed files with 425 additions and 59 deletions
+10
View File
@@ -0,0 +1,10 @@
#ifndef SELF_H_
#define SELF_H_
#define LD_API __attribute__((visibility("default")))
struct elf_image;
extern struct elf_image *get_self(void);
#endif