this repo has no description
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Fix stack setup in 32-bit threads

Fixes https://github.com/darlinghq/darling/issues/471

+1 -1
+1 -1
src/libelfloader/native/threads.c
··· 142 142 #elif defined(__i386__) // args in eax, ebx, ecx, edx, edi, esi 143 143 __asm__ __volatile__ ( 144 144 "movl (%0), %%eax\n" 145 - "movl (%1), %%esp\n" 145 + "movl %1, %%esp\n" 146 146 "pushl %%eax\n" // address to be jumped to 147 147 "movl %1, 28(%0)\n" 148 148 "movl %1, %%eax\n" // 1st arg