Commit | Line | Data |
---|---|---|
ac423761 GN |
1 | nop |
2 | .section .text.foo,"axG",@progbits,foo,comdat | |
3 | foo: | |
4 | ret | |
5 | ||
6 | .section .text.bar,"axG",@progbits,bar,comdat | |
7 | .align 2 | |
8 | bar: | |
9 | ret | |
10 | ||
11 | .section .text._start,"ax",@progbits | |
12 | .globl _start | |
13 | _start: | |
14 | leaq bar(%rip), %rsi | |
15 | testb $1, %sil | |
16 | je .L9 | |
17 | mov $1, %eax | |
18 | mov $1, %ebx | |
19 | int $0x80 | |
20 | .L9: | |
21 | mov $1, %eax | |
22 | mov $0, %ebx | |
23 | int $0x80 |