summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2015-06-02 12:15:37 -0400
committermidipix <writeonce@midipix.org>2015-06-02 12:15:37 -0400
commited42e65fd406f9b8ed6ee6ca887431c13c556d0b (patch)
tree6255ba15170115552feeb73bb7d57cb995ed35b1 /src
parentb8a8bb3200f360ed2d7a445e8d737cb5bd510cff (diff)
downloadmmglue-ed42e65fd406f9b8ed6ee6ca887431c13c556d0b.tar.bz2
mmglue-ed42e65fd406f9b8ed6ee6ca887431c13c556d0b.tar.xz
arch-specific code: fix assembly function declarations.
signed-off by Z. Gilboa; see copying.midipix (9cd0746c) for additional information.
Diffstat (limited to 'src')
-rw-r--r--src/internal/nt32/syscall.s1
-rw-r--r--src/internal/nt64/syscall.s1
-rw-r--r--src/setjmp/nt32/longjmp.s4
-rw-r--r--src/setjmp/nt32/setjmp.s4
-rw-r--r--src/setjmp/nt64/longjmp.s4
-rw-r--r--src/setjmp/nt64/setjmp.s4
6 files changed, 18 insertions, 0 deletions
diff --git a/src/internal/nt32/syscall.s b/src/internal/nt32/syscall.s
index 3fcd5bb..bf90d04 100644
--- a/src/internal/nt32/syscall.s
+++ b/src/internal/nt32/syscall.s
@@ -1,5 +1,6 @@
.text
.global ___syscall
+.def ___syscall; .scl 2; .type 32; .endef
___syscall:
jmp ___syscall_disp
diff --git a/src/internal/nt64/syscall.s b/src/internal/nt64/syscall.s
index ce3827b..66fd96d 100644
--- a/src/internal/nt64/syscall.s
+++ b/src/internal/nt64/syscall.s
@@ -1,5 +1,6 @@
.text
.global __syscall
+.def __syscall; .scl 2; .type 32; .endef
__syscall:
jmp __syscall_disp
diff --git a/src/setjmp/nt32/longjmp.s b/src/setjmp/nt32/longjmp.s
index 095a47f..46713f2 100644
--- a/src/setjmp/nt32/longjmp.s
+++ b/src/setjmp/nt32/longjmp.s
@@ -3,6 +3,10 @@
.globl __longjmp
.globl _longjmp
+.def ___longjmp; .scl 2; .type 32; .endef
+.def __longjmp; .scl 2; .type 32; .endef
+.def _longjmp; .scl 2; .type 32; .endef
+
___longjmp:
__longjmp:
_longjmp:
diff --git a/src/setjmp/nt32/setjmp.s b/src/setjmp/nt32/setjmp.s
index 1865f0c..d4e8db3 100644
--- a/src/setjmp/nt32/setjmp.s
+++ b/src/setjmp/nt32/setjmp.s
@@ -3,6 +3,10 @@
.globl __setjmp
.globl _setjmp
+.def ___setjmp; .scl 2; .type 32; .endef
+.def __setjmp; .scl 2; .type 32; .endef
+.def _setjmp; .scl 2; .type 32; .endef
+
___setjmp:
__setjmp:
_setjmp:
diff --git a/src/setjmp/nt64/longjmp.s b/src/setjmp/nt64/longjmp.s
index 0fcf52e..f0b8253 100644
--- a/src/setjmp/nt64/longjmp.s
+++ b/src/setjmp/nt64/longjmp.s
@@ -3,6 +3,10 @@
.globl _longjmp
.globl longjmp
+.def __longjmp; .scl 2; .type 32; .endef
+.def _longjmp; .scl 2; .type 32; .endef
+.def longjmp; .scl 2; .type 32; .endef
+
__longjmp:
_longjmp:
longjmp:
diff --git a/src/setjmp/nt64/setjmp.s b/src/setjmp/nt64/setjmp.s
index 3e8a1ea..3369331 100644
--- a/src/setjmp/nt64/setjmp.s
+++ b/src/setjmp/nt64/setjmp.s
@@ -3,6 +3,10 @@
.globl _setjmp
.globl setjmp
+.def __setjmp; .scl 2; .type 32; .endef
+.def _setjmp; .scl 2; .type 32; .endef
+.def setjmp; .scl 2; .type 32; .endef
+
__setjmp:
_setjmp:
setjmp: