Subversion Repositories HelenOS

Compare Revisions

Ignore whitespace Rev 3150 → Rev 3167

/branches/dynload/uspace/lib/libc/arch/ia64/src/entry.s
31,7 → 31,6
.org 0
 
.globl __entry
.globl __entry_driver
 
## User-space task entry point
#
41,17 → 40,6
mov r1 = _gp
br.call.sptk.many b0 = __main
0:
br.call.sptk.many b0 = __io_init
1:
br.call.sptk.many b0 = main
2:
br.call.sptk.many b0 = __exit
 
__entry_driver:
alloc loc0 = ar.pfs, 0, 1, 2, 0
mov r1 = _gp
br.call.sptk.many b0 = __main
0:
br.call.sptk.many b0 = main
1:
br.call.sptk.many b0 = __exit
/branches/dynload/uspace/lib/libc/arch/arm32/src/entry.s
31,7 → 31,6
.org 0
 
.global __entry
.global __entry_driver
 
## User-space task entry point
#
38,12 → 37,5
#
__entry:
bl __main
bl __io_init
bl main
bl __exit
 
__entry_driver:
bl __main
bl main
bl __exit
 
/branches/dynload/uspace/lib/libc/arch/mips32/src/entry.s
52,9 → 52,6
jal __main
nop
jal __io_init
nop
jal main
nop
62,28 → 59,6
nop
.end
 
.ent __entry_driver
__entry_driver:
.frame $sp, 32, $31
.cpload $25
# Mips o32 may store its arguments on stack, make space (16 bytes),
# so that it could work with -O0
# Make space additional 16 bytes for the stack frame
 
addiu $sp, -32
.cprestore 16 # Allow PIC code
jal __main
nop
jal main
nop
jal __exit
nop
.end
# Alignment of output section data to 0x4000
.section .data
.align 14