| 147 |
theseven |
1 |
@
|
|
|
2 |
@
|
|
|
3 |
@ Copyright 2010 TheSeven
|
|
|
4 |
@
|
|
|
5 |
@
|
|
|
6 |
@ This file is part of emBIOS.
|
|
|
7 |
@
|
|
|
8 |
@ emBIOS is free software: you can redistribute it and/or
|
|
|
9 |
@ modify it under the terms of the GNU General Public License as
|
|
|
10 |
@ published by the Free Software Foundation, either version 2 of the
|
|
|
11 |
@ License, or (at your option) any later version.
|
|
|
12 |
@
|
|
|
13 |
@ emBIOS is distributed in the hope that it will be useful,
|
|
|
14 |
@ but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
15 |
@ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
|
16 |
@ See the GNU General Public License for more details.
|
|
|
17 |
@
|
|
|
18 |
@ You should have received a copy of the GNU General Public License
|
|
|
19 |
@ along with emBIOS. If not, see <http://www.gnu.org/licenses/>.
|
|
|
20 |
@
|
|
|
21 |
@
|
|
|
22 |
|
|
|
23 |
|
|
|
24 |
.section .text.__embios_armhelpers
|
|
|
25 |
.global __clzsi2
|
|
|
26 |
.type __clzsi2, %function
|
|
|
27 |
.global __aeabi_uidivmod
|
|
|
28 |
.type __aeabi_uidivmod,%function
|
|
|
29 |
.global __aeabi_uidiv
|
|
|
30 |
.type __aeabi_uidiv,%function
|
|
|
31 |
.set __aeabi_uidiv,__aeabi_uidivmod
|
|
|
32 |
.global __aeabi_idivmod
|
|
|
33 |
.type __aeabi_idivmod,%function
|
|
|
34 |
.global __aeabi_idiv
|
|
|
35 |
.type __aeabi_idiv,%function
|
|
|
36 |
.set __aeabi_idiv,__aeabi_idivmod
|
|
|
37 |
|
|
|
38 |
__clzsi2:
|
|
|
39 |
str lr, [sp,#-4]!
|
|
|
40 |
swi 3
|
|
|
41 |
ldr lr, [sp], #4
|
|
|
42 |
bx lr
|
|
|
43 |
.size __clzsi2, .-__clzsi2
|
|
|
44 |
|
|
|
45 |
__aeabi_uidivmod:
|
|
|
46 |
str lr, [sp,#-4]!
|
|
|
47 |
swi 4
|
|
|
48 |
ldr lr, [sp], #4
|
|
|
49 |
bx lr
|
|
|
50 |
.size __aeabi_uidivmod, . - __aeabi_uidivmo
|
|
|
51 |
|
|
|
52 |
__aeabi_idivmod:
|
|
|
53 |
str lr, [sp,#-4]!
|
|
|
54 |
swi 5
|
|
|
55 |
ldr lr, [sp], #4
|
|
|
56 |
bx lr
|
|
|
57 |
.size __aeabi_idivmod, . - __aeabi_idivmod
|