summaryrefslogtreecommitdiffhomepage
path: root/crt
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2015-04-19 15:25:14 -0400
committermidipix <writeonce@midipix.org>2015-04-19 15:25:14 -0400
commit0f5685a2ffe65b6c6154f5500a26983852eaf1f3 (patch)
tree3bdc6de6d5ab34a4f8d02c9faa53a6657989210a /crt
parente9696c4a176fb086c17cc7d2449b69c91ae6cb05 (diff)
downloadmmglue-0f5685a2ffe65b6c6154f5500a26983852eaf1f3.tar.bz2
mmglue-0f5685a2ffe65b6c6154f5500a26983852eaf1f3.tar.xz
crte.s: add function .def to the weak symbol dso_main_routine.
signed-off by Z. Gilboa; see copying.midipix (9cd0746c) for additional information.
Diffstat (limited to 'crt')
-rw-r--r--crt/nt32/crte.s1
-rw-r--r--crt/nt64/crte.s1
2 files changed, 2 insertions, 0 deletions
diff --git a/crt/nt32/crte.s b/crt/nt32/crte.s
index 56fa138..8f2573d 100644
--- a/crt/nt32/crte.s
+++ b/crt/nt32/crte.s
@@ -10,6 +10,7 @@ ___dso_main_routine:
ret
.weak _dso_main_routine
+ .def _dso_main_routine; .scl 2; .type 32; .endef
.set _dso_main_routine,___dso_main_routine
.section .midipix
diff --git a/crt/nt64/crte.s b/crt/nt64/crte.s
index 9753213..69daee4 100644
--- a/crt/nt64/crte.s
+++ b/crt/nt64/crte.s
@@ -10,6 +10,7 @@ __dso_main_routine:
ret
.weak dso_main_routine
+ .def dso_main_routine; .scl 2; .type 32; .endef
.set dso_main_routine,__dso_main_routine
.section .midipix