Commit | Line | Data |
---|---|---|
451875b4 L |
1 | .text |
2 | .globl main | |
3 | .type main,@function | |
4 | main: | |
5 | pushq %rax | |
6 | movslq bar(%rip), %rax | |
7 | leaq bar(%rip), %rdi | |
8 | addq %rax, %rdi | |
9 | ||
10 | callq foo | |
11 | xorl %eax, %eax | |
12 | popq %rcx | |
13 | retq | |
14 | ||
15 | .data | |
16 | .p2align 2 | |
17 | bar: | |
18 | .long test - . | |
19 | ||
20 | .section .note.GNU-stack,"",@progbits |