1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
.section .init,"ax",@progbits .globl _init .ent _init .type _init, @function _init: ld $2,%call16(bar) .end _init .section .fini,"ax",@progbits .globl _fini .ent _fini .type _fini, @function _fini: .end _fini .data foo: .dword bar