1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
.text .section .text.startup,"ax",@progbits .p2align 4 .globl main .type main, @function main: .cfi_startproc #ifdef __x86_64__ movl foo(%rip), %eax #else movl foo, %eax #endif ret .cfi_endproc .size main, .-main .section .note.GNU-stack,"",@progbits