crt_arch.h\or1k\arch - musl - musl - an implementation of the standard library for Linux-based systems

index : musl
musl - an implementation of the standard library for Linux-based systems
summary refs log tree commit diff
path: root/arch/or1k/crt_arch.h
blob: 9e310ca9725397411bbb903bbde410b714a2cb82 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
__asm__(
".text \n"
".global " START " \n"
".align 4 \n"
START ": \n"
"	l.jal 1f \n"
"	 l.ori r3, r1, 0 \n"
".weak _DYNAMIC \n"
".hidden _DYNAMIC \n"
"	.word _DYNAMIC-. \n"
"1:	l.lwz r4, 0(r9) \n"
"	l.add r4, r4, r9 \n"
"	l.addi r2, r0, -8 \n"
"	l.and r1, r1, r2 \n"
"	l.addi r1, r1, -16 \n"
"	l.jal " START "_c \n"
"	 l.ori r2, r0, 0 \n"
);
generated by cgit v1.2.1 (git 2.18.0) at 2025年09月07日 05:43:23 +0000

AltStyle によって変換されたページ (->オリジナル) /