1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
.text .globl _so_entry_point _so_entry_point: cmp $0x1,%edx jne dso_main_routine mov %edx,%eax ret __dso_main_routine: ret .weak dso_main_routine .set dso_main_routine,__dso_main_routine .section .midipix .quad dso_main_routine .quad _so_entry_point .quad _init .quad _fini