diff dyncall/dyncall_call_arm32_thumb_gas.s @ 27:523c45dfa8fb

- refactored arm calling conventions' callvm code, so that the code that keeps the caller from overwriting the return value on some platforms also works on OpenBSD (before we casted the function pointer to have long long as return type, to hint the caller that there is one, but that triggers an intentional SIGABRT on OpenBSD for security reasons; now the decl reflects this, directly)
author cslag
date Tue, 15 Sep 2015 12:48:52 +0200
parents 3e629dc19168
children 00dd15cc5c87
line wrap: on
line diff
--- a/dyncall/dyncall_call_arm32_thumb_gas.s	Sun Sep 13 16:52:53 2015 +0200
+++ b/dyncall/dyncall_call_arm32_thumb_gas.s	Tue Sep 15 12:48:52 2015 +0200
@@ -83,19 +83,3 @@
 	mov		%r13, %r7	/* Reset stack ptr. */
 	pop		{%r4-%r7, %r15}	/* Restore permanent registers and program counter. (Force a stay in THUMB in ARMv4, whether ARMv5 can return in ARM or THUMB depending on the bit 0. */
 
-
-
-/* Internally used to avoid compiler overwriting r0 and r1 in call stub */
-.globl dcCall_arm32_thumb_word
-
-.thumb_func
-dcCall_arm32_thumb_word:
-	b	dcCall_arm32_thumb
-
-
-.globl dcCall_arm32_thumb_dword
-
-.thumb_func
-dcCall_arm32_thumb_dword:
-	b	dcCall_arm32_thumb
-