summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-11-12 17:28:43 -0500
committermidipix <writeonce@midipix.org>2016-11-12 17:28:43 -0500
commit6641a526a313ccec80042db6ee5340ebbccf2e21 (patch)
treee9217d16a6c6432ecc1aa666cdc6cf99afe86d49 /src
parent8cfe4687b5f98e8e4ce981d4357ae8b1ac858e6f (diff)
downloaddalist-6641a526a313ccec80042db6ee5340ebbccf2e21.tar.bz2
dalist-6641a526a313ccec80042db6ee5340ebbccf2e21.tar.xz
PE targets: free-standing environment: library image: mark affiliation.
Diffstat (limited to 'src')
-rw-r--r--src/dalist_entry_point.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/dalist_entry_point.c b/src/dalist_entry_point.c
index ebfa985..c8d37aa 100644
--- a/src/dalist_entry_point.c
+++ b/src/dalist_entry_point.c
@@ -2,11 +2,16 @@
#include <dalist/dalist.h>
+static const void * const dalist_affiliation
+ __attr_section__(".freestd")
+ = 0;
+
int __stdcall dalist_entry_point(
void * hinstance,
uint32_t reason,
void * reserved)
{
+ (void)dalist_affiliation;
(void)hinstance;
(void)reason;
(void)reserved;