diff dyncall/dyncall_call_arm32_arm_armhf.S @ 146:0ab08c1541f0

- fixed armhf ellipsis calls, were ignoring spill area - minor cleanups for consistency - todo update
author cslag
date Thu, 08 Sep 2016 23:00:45 +0200
parents 9bd3c5219505
children 12729fd52ab7
line wrap: on
line diff
--- a/dyncall/dyncall_call_arm32_arm_armhf.S	Sat Aug 20 22:27:47 2016 +0200
+++ b/dyncall/dyncall_call_arm32_arm_armhf.S	Thu Sep 08 23:00:45 2016 +0200
@@ -6,7 +6,7 @@
  Description: Call Kernel for ARM 32-bit ARM Architecture - Hard Float
  License:
 
-   Copyright (c) 2007-2015 Daniel Adler <dadler@uni-goettingen.de>, 
+   Copyright (c) 2007-2016 Daniel Adler <dadler@uni-goettingen.de>,
                            Tassilo Philipp <tphilipp@potion-studios.com>
 
    Permission to use, copy, modify, and distribute this software for any
@@ -61,7 +61,7 @@
 	/* Load 16 single-precision registers (= 8 double-precision registers). */
 	fldmiad	r3, {d0-d7}
 
-	sub	r2 , r2 , #16	/* skip spill area */
+	/* nope, or varargs will not work: sub	r2 , r2 , #16	/* skip spill area */
 	cmp     r2, #0
 	ble	armhf_call