ld: implement support for exposing ld functions to loaded executables
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user