@@ -0,0 +1,6 @@
+//for a non-library we should not have DllMain
+//link this only for libraries
+ .text
+ .globl DllMain
+DllMain:
+ jmp _FPC_DLL_Entry
+//for a library we should not have main
+//link this only for non libraries
+ .globl main
+main:
+ jmp _FPC_NLM_Entry