#define __ASM__ #include .section .data .global environ environ: .long 0 .section .text .global _start _start: xorq %rbp, %rbp movq %rsp, %rax movq (%rax), %rdi leaq 8(%rax), %rsi fninit xorq %rax, %rax call main 1: movq %rax, %rbx movq $__SYSCALL__exit, %rax int $33 ud2 // should not reach