| 1 | .text |
| 2 | .p2align 4,,15 |
| 3 | .globl foo |
| 4 | .type foo, @function |
| 5 | foo: |
| 6 | .LFB0: |
| 7 | .cfi_startproc |
| 8 | pushl %ebx |
| 9 | .cfi_def_cfa_offset 8 |
| 10 | .cfi_offset 3, -8 |
| 11 | call __x86.get_pc_thunk.bx |
| 12 | addl $_GLOBAL_OFFSET_TABLE_, %ebx |
| 13 | subl $8, %esp |
| 14 | .cfi_def_cfa_offset 16 |
| 15 | call bar2@PLT |
| 16 | call bar1@PLT |
| 17 | addl $8, %esp |
| 18 | .cfi_def_cfa_offset 8 |
| 19 | popl %ebx |
| 20 | .cfi_restore 3 |
| 21 | .cfi_def_cfa_offset 4 |
| 22 | ret |
| 23 | .cfi_endproc |
| 24 | .LFE0: |
| 25 | .size foo, .-foo |
| 26 | .section .note.GNU-stack,"",@progbits |
| 27 | |
| 28 | .section .text.__x86.get_pc_thunk.bx,"axG",@progbits,__x86.get_pc_thunk.bx,comdat |
| 29 | .globl __x86.get_pc_thunk.bx |
| 30 | .hidden __x86.get_pc_thunk.bx |
| 31 | .type __x86.get_pc_thunk.bx, @function |
| 32 | __x86.get_pc_thunk.bx: |
| 33 | .LFB1: |
| 34 | .cfi_startproc |
| 35 | movl (%esp), %ebx |
| 36 | ret |
| 37 | .cfi_endproc |
| 38 | .LFE1: |