From ab2a362dbf30243826d4b9645088ae50c7f944fc Mon Sep 17 00:00:00 2001 From: midipix Date: Sat, 12 Nov 2016 17:32:46 -0500 Subject: PE targets: free-standing environment: library image: mark affiliation. --- src/internal/pe_entry_point.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src') diff --git a/src/internal/pe_entry_point.c b/src/internal/pe_entry_point.c index 4650824..9ea4c3f 100644 --- a/src/internal/pe_entry_point.c +++ b/src/internal/pe_entry_point.c @@ -1,7 +1,12 @@ #include +static const void * const pe_affiliation + __attr_section__(".freestd") + = 0; + int __stdcall pe_entry_point(void * hinstance, uint32_t reason, void * reserved) { + (void)pe_affiliation; (void)hinstance; (void)reason; (void)reserved; -- cgit v1.2.3