We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6e2b8c3 commit b29eb41Copy full SHA for b29eb41
src/imp/linux_raw/arch/inline/x86.rs
@@ -159,15 +159,13 @@ pub(in crate::imp) unsafe fn indirect_syscall5(
159
// registers free. Use eax as a temporary pointer to a slice, since it
160
// gets clobbered as the return value anyway.
161
asm!(
162
- "push ebp",
163
"push esi",
164
"push DWORD PTR [eax + 0]",
165
"mov esi, DWORD PTR [eax + 4]",
166
"mov eax, DWORD PTR [eax + 8]",
167
"call DWORD PTR [esp]",
168
"pop esi",
169
170
- "pop ebp",
171
inout("eax") &[callee as usize, a3.to_asm(), nr.to_asm()] => r0,
172
in("ebx") a0.to_asm(),
173
in("ecx") a1.to_asm(),
0 commit comments