diff options
author | midipix <writeonce@midipix.org> | 2017-10-18 23:28:20 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2017-10-19 18:18:48 -0400 |
commit | 6c37e4684ea8a93f4d8e20b856c1fae13581b49b (patch) | |
tree | 6f8c9e6f3a72c563707d8afa47c3d3f6541734fd /src | |
parent | f8d0c8713c40c35c1059b3f6f87ee3cd701e3a2f (diff) | |
download | pemagine-6c37e4684ea8a93f4d8e20b856c1fae13581b49b.tar.bz2 pemagine-6c37e4684ea8a93f4d8e20b856c1fae13581b49b.tar.xz |
internals: pe_entry_point(): added ldso integration.
Diffstat (limited to 'src')
-rw-r--r-- | src/internal/pe_entry_point.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/internal/pe_entry_point.c b/src/internal/pe_entry_point.c index 2ebd928..0c3154d 100644 --- a/src/internal/pe_entry_point.c +++ b/src/internal/pe_entry_point.c @@ -6,6 +6,10 @@ static const void * const pe_affiliation __attr_section__(".freestd") = 0; +#ifdef PE_LDSO +#define pe_entry_point __ldso_entry_point +#endif + int __stdcall pe_entry_point(void * hinstance, uint32_t reason, void * reserved) { (void)pe_affiliation; |