mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-01 22:50:18 +02:00
* added objects to provide main or DllMain for Programs or Libraries
This commit is contained in:
parent
014395198b
commit
f1d757212f
6
rtl/netwlibc/nwl_dlle.as
Normal file
6
rtl/netwlibc/nwl_dlle.as
Normal file
@ -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
|
6
rtl/netwlibc/nwl_main.as
Normal file
6
rtl/netwlibc/nwl_main.as
Normal file
@ -0,0 +1,6 @@
|
||||
//for a library we should not have main
|
||||
//link this only for non libraries
|
||||
.text
|
||||
.globl main
|
||||
main:
|
||||
jmp _FPC_NLM_Entry
|
Loading…
Reference in New Issue
Block a user