Systemd/klibc/klibc/arch/s390/crt0.S
greg@kroah.com a41a0e28c2 [PATCH] added klibc version 0.82 (cvs tree) to the udev tree.
Not hooked up to the build yet.
2005-04-26 21:05:23 -07:00

26 lines
389 B
ArmAsm

#
# arch/s390/crt0.S
#
# Does arch-specific initialization and invokes __libc_init
# with the appropriate arguments.
#
# See __static_init.c or __shared_init.c for the expected
# arguments.
#
.text
.align 4
.type _start,@function
.globl _start
_start:
lr %r2,%r15
lhi %r3,0
ahi %r15,-96
bras %r1,.L0
.L0:
l %r1,.L1-.L0(%r1)
br %r1
.L1:
.long __libc_init
.size _start,.-_start