mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-04 22:58:46 +00:00
Comment out link_section on procedures
This commit is contained in:
@@ -5,13 +5,13 @@ package runtime
|
|||||||
import "core:intrinsics"
|
import "core:intrinsics"
|
||||||
|
|
||||||
when ODIN_BUILD_MODE == .Dynamic {
|
when ODIN_BUILD_MODE == .Dynamic {
|
||||||
@(link_name="_odin_entry_point", linkage="strong", require, link_section=".init")
|
@(link_name="_odin_entry_point", linkage="strong", require/*, link_section=".init"*/)
|
||||||
_odin_entry_point :: proc "c" () {
|
_odin_entry_point :: proc "c" () {
|
||||||
context = default_context()
|
context = default_context()
|
||||||
#force_no_inline _startup_runtime()
|
#force_no_inline _startup_runtime()
|
||||||
intrinsics.__entry_point()
|
intrinsics.__entry_point()
|
||||||
}
|
}
|
||||||
@(link_name="_odin_exit_point", linkage="strong", require, link_section=".fini")
|
@(link_name="_odin_exit_point", linkage="strong", require/*, link_section=".fini"*/)
|
||||||
_odin_exit_point :: proc "c" () {
|
_odin_exit_point :: proc "c" () {
|
||||||
context = default_context()
|
context = default_context()
|
||||||
#force_no_inline _cleanup_runtime()
|
#force_no_inline _cleanup_runtime()
|
||||||
|
|||||||
Reference in New Issue
Block a user