Comment out link_section on procedures
This commit is contained in:
1 parent
95620aaf2a
commit
cd6898439e
1 file changed
+2
-2
@@ -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