.global __start .bss .global environ environ: .long 0 .text __start: nop nop /* %d5 hack for uClinux, see linux/include/asm-m68knommu/processor.h */ movea.l %d5, %a5 move.l 8(%sp), %d5 move.l %d5, environ jsr main move.l %d0,%sp@- jsr exit /* Invoke exit() routine */ /* If that didn't kill us, ... */ __exit: move.l %sp@+,%d1 moveq #1,%d0 /* SYS_exit */ trap #0 .section .ctors,"aw" .align 4 .global __CTOR_LIST__ __CTOR_LIST__: .long -1 .section .dtors,"aw" .align 4 .global __DTOR_LIST__ __DTOR_LIST__: .long -1