diff dyncallback/dyncall_thunk_sparc32.c @ 189:b827c074b4da

- first impl of sparc64 thunks
author Tassilo Philipp
date Mon, 13 Mar 2017 14:13:26 +0100
parents bbefb8b8e74c
children f5577f6bf97a
line wrap: on
line diff
--- a/dyncallback/dyncall_thunk_sparc32.c	Mon Mar 13 13:23:10 2017 +0100
+++ b/dyncallback/dyncall_thunk_sparc32.c	Mon Mar 13 14:13:26 2017 +0100
@@ -38,7 +38,7 @@
                       ; jump - write link to %g0, effectively discarding it; also nop for delay slot
   16:   81 c0 80 00   jmpl   %g2, %g0
   20:   01 00 00 00   nop
-*/
+  */
 
   p->code[0] = 0x03000000 | ((unsigned int)p >> 10);       /* sethi %hi(p), %g1      -- hi 22 bits */
   p->code[1] = 0x82106000 | ((unsigned int)p & 0x3ff);     /* or %g1, <p&0x3ff>, %g1 -- lo 10 bits */