diff options
Diffstat (limited to 'dataimp/dllimp/a.s')
-rw-r--r-- | dataimp/dllimp/a.s | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/dataimp/dllimp/a.s b/dataimp/dllimp/a.s new file mode 100644 index 0000000..6415afc --- /dev/null +++ b/dataimp/dllimp/a.s @@ -0,0 +1,32 @@ + .file "a.c" + .section .text.startup,"x" + .p2align 4,,15 + .globl main + .def main; .scl 2; .type 32; .endef + .seh_proc main +main: +.LFB0: + .cfi_startproc + .seh_pushreg %rbx + pushq %rbx + .cfi_def_cfa_offset 16 + .cfi_offset 3, -16 + .seh_stackalloc 32 + subq $32, %rsp + .cfi_def_cfa_offset 48 + .seh_endprologue + movq __imp_stdout(%rip), %rax + movl %ecx, %ebx + movq (%rax), %rcx + call fflush + movl %ebx, %eax + addq $32, %rsp + .cfi_def_cfa_offset 16 + popq %rbx + .cfi_def_cfa_offset 8 + .cfi_restore 3 + ret + .cfi_endproc +.LFE0: + .seh_endproc + .def fflush; .scl 2; .type 32; .endef |