|
Packit Service |
82fcde |
/* PLT trampolines. SH version.
|
|
Packit Service |
82fcde |
Copyright (C) 2005-2018 Free Software Foundation, Inc.
|
|
Packit Service |
82fcde |
This file is part of the GNU C Library.
|
|
Packit Service |
82fcde |
|
|
Packit Service |
82fcde |
The GNU C Library is free software; you can redistribute it and/or
|
|
Packit Service |
82fcde |
modify it under the terms of the GNU Lesser General Public
|
|
Packit Service |
82fcde |
License as published by the Free Software Foundation; either
|
|
Packit Service |
82fcde |
version 2.1 of the License, or (at your option) any later version.
|
|
Packit Service |
82fcde |
|
|
Packit Service |
82fcde |
The GNU C Library is distributed in the hope that it will be useful,
|
|
Packit Service |
82fcde |
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
Packit Service |
82fcde |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
Packit Service |
82fcde |
Lesser General Public License for more details.
|
|
Packit Service |
82fcde |
|
|
Packit Service |
82fcde |
You should have received a copy of the GNU Lesser General Public
|
|
Packit Service |
82fcde |
License along with the GNU C Library; if not, see
|
|
Packit Service |
82fcde |
<http://www.gnu.org/licenses/>. */
|
|
Packit Service |
82fcde |
|
|
Packit Service |
82fcde |
#include <sysdep.h>
|
|
Packit Service |
82fcde |
|
|
Packit Service |
82fcde |
.text
|
|
Packit Service |
82fcde |
.globl _dl_runtime_resolve
|
|
Packit Service |
82fcde |
.type _dl_runtime_resolve, @function
|
|
Packit Service |
82fcde |
cfi_startproc
|
|
Packit Service |
82fcde |
.align 5
|
|
Packit Service |
82fcde |
_dl_runtime_resolve:
|
|
Packit Service |
82fcde |
mov.l r2,@-r15
|
|
Packit Service |
82fcde |
cfi_adjust_cfa_offset (4)
|
|
Packit Service |
82fcde |
mov.l r3,@-r15
|
|
Packit Service |
82fcde |
cfi_adjust_cfa_offset (4)
|
|
Packit Service |
82fcde |
mov.l r4,@-r15
|
|
Packit Service |
82fcde |
cfi_adjust_cfa_offset (4)
|
|
Packit Service |
82fcde |
mov.l r5,@-r15
|
|
Packit Service |
82fcde |
cfi_adjust_cfa_offset (4)
|
|
Packit Service |
82fcde |
mov.l r6,@-r15
|
|
Packit Service |
82fcde |
cfi_adjust_cfa_offset (4)
|
|
Packit Service |
82fcde |
mov.l r7,@-r15
|
|
Packit Service |
82fcde |
cfi_adjust_cfa_offset (4)
|
|
Packit Service |
82fcde |
mov.l r12,@-r15
|
|
Packit Service |
82fcde |
cfi_adjust_cfa_offset (4)
|
|
Packit Service |
82fcde |
sts.l macl,@-r15
|
|
Packit Service |
82fcde |
cfi_adjust_cfa_offset (4)
|
|
Packit Service |
82fcde |
sts.l mach,@-r15
|
|
Packit Service |
82fcde |
cfi_adjust_cfa_offset (4)
|
|
Packit Service |
82fcde |
movt r3 ! Save T flag.
|
|
Packit Service |
82fcde |
mov.l r3,@-r15
|
|
Packit Service |
82fcde |
cfi_adjust_cfa_offset (4)
|
|
Packit Service |
82fcde |
#ifdef HAVE_FPU
|
|
Packit Service |
82fcde |
sts.l fpscr,@-r15
|
|
Packit Service |
82fcde |
cfi_adjust_cfa_offset (4)
|
|
Packit Service |
82fcde |
mov #8,r3
|
|
Packit Service |
82fcde |
swap.w r3,r3
|
|
Packit Service |
82fcde |
lds r3,fpscr
|
|
Packit Service |
82fcde |
fmov.s fr11,@-r15
|
|
Packit Service |
82fcde |
cfi_adjust_cfa_offset (4)
|
|
Packit Service |
82fcde |
fmov.s fr10,@-r15
|
|
Packit Service |
82fcde |
cfi_adjust_cfa_offset (4)
|
|
Packit Service |
82fcde |
fmov.s fr9,@-r15
|
|
Packit Service |
82fcde |
cfi_adjust_cfa_offset (4)
|
|
Packit Service |
82fcde |
fmov.s fr8,@-r15
|
|
Packit Service |
82fcde |
cfi_adjust_cfa_offset (4)
|
|
Packit Service |
82fcde |
fmov.s fr7,@-r15
|
|
Packit Service |
82fcde |
cfi_adjust_cfa_offset (4)
|
|
Packit Service |
82fcde |
fmov.s fr6,@-r15
|
|
Packit Service |
82fcde |
cfi_adjust_cfa_offset (4)
|
|
Packit Service |
82fcde |
fmov.s fr5,@-r15
|
|
Packit Service |
82fcde |
cfi_adjust_cfa_offset (4)
|
|
Packit Service |
82fcde |
fmov.s fr4,@-r15
|
|
Packit Service |
82fcde |
cfi_adjust_cfa_offset (4)
|
|
Packit Service |
82fcde |
#endif
|
|
Packit Service |
82fcde |
sts.l pr,@-r15
|
|
Packit Service |
82fcde |
cfi_adjust_cfa_offset (4)
|
|
Packit Service |
82fcde |
tst r0,r0
|
|
Packit Service |
82fcde |
bt 1f
|
|
Packit Service |
82fcde |
mov r0,r2
|
|
Packit Service |
82fcde |
1:
|
|
Packit Service |
82fcde |
mov r0,r4 ! PLT type
|
|
Packit Service |
82fcde |
mov r2,r5 ! link map address
|
|
Packit Service |
82fcde |
#ifdef SHARED
|
|
Packit Service |
82fcde |
mov.l 2f,r2
|
|
Packit Service |
82fcde |
mova 2f,r0
|
|
Packit Service |
82fcde |
add r0,r2 ! Get GOT address in r2
|
|
Packit Service |
82fcde |
mov.l 3f,r0
|
|
Packit Service |
82fcde |
add r2,r0
|
|
Packit Service |
82fcde |
#else
|
|
Packit Service |
82fcde |
mov.l 3f,r0
|
|
Packit Service |
82fcde |
#endif
|
|
Packit Service |
82fcde |
jsr @r0 ! Call resolver.
|
|
Packit Service |
82fcde |
mov r1,r6 ! reloc offset
|
|
Packit Service |
82fcde |
lds.l @r15+,pr ! Get register content back.
|
|
Packit Service |
82fcde |
cfi_adjust_cfa_offset (-4)
|
|
Packit Service |
82fcde |
#ifdef HAVE_FPU
|
|
Packit Service |
82fcde |
fmov.s @r15+,fr4
|
|
Packit Service |
82fcde |
cfi_adjust_cfa_offset (-4)
|
|
Packit Service |
82fcde |
fmov.s @r15+,fr5
|
|
Packit Service |
82fcde |
cfi_adjust_cfa_offset (-4)
|
|
Packit Service |
82fcde |
fmov.s @r15+,fr6
|
|
Packit Service |
82fcde |
cfi_adjust_cfa_offset (-4)
|
|
Packit Service |
82fcde |
fmov.s @r15+,fr7
|
|
Packit Service |
82fcde |
cfi_adjust_cfa_offset (-4)
|
|
Packit Service |
82fcde |
fmov.s @r15+,fr8
|
|
Packit Service |
82fcde |
cfi_adjust_cfa_offset (-4)
|
|
Packit Service |
82fcde |
fmov.s @r15+,fr9
|
|
Packit Service |
82fcde |
cfi_adjust_cfa_offset (-4)
|
|
Packit Service |
82fcde |
fmov.s @r15+,fr10
|
|
Packit Service |
82fcde |
cfi_adjust_cfa_offset (-4)
|
|
Packit Service |
82fcde |
fmov.s @r15+,fr11
|
|
Packit Service |
82fcde |
cfi_adjust_cfa_offset (-4)
|
|
Packit Service |
82fcde |
lds.l @r15+,fpscr
|
|
Packit Service |
82fcde |
cfi_adjust_cfa_offset (-4)
|
|
Packit Service |
82fcde |
#endif
|
|
Packit Service |
82fcde |
mov.l @r15+,r3
|
|
Packit Service |
82fcde |
cfi_adjust_cfa_offset (-4)
|
|
Packit Service |
82fcde |
shal r3 ! Lode T flag.
|
|
Packit Service |
82fcde |
lds.l @r15+,mach
|
|
Packit Service |
82fcde |
cfi_adjust_cfa_offset (-4)
|
|
Packit Service |
82fcde |
lds.l @r15+,macl
|
|
Packit Service |
82fcde |
cfi_adjust_cfa_offset (-4)
|
|
Packit Service |
82fcde |
mov.l @r15+,r12
|
|
Packit Service |
82fcde |
cfi_adjust_cfa_offset (-4)
|
|
Packit Service |
82fcde |
mov.l @r15+,r7
|
|
Packit Service |
82fcde |
cfi_adjust_cfa_offset (-4)
|
|
Packit Service |
82fcde |
mov.l @r15+,r6
|
|
Packit Service |
82fcde |
cfi_adjust_cfa_offset (-4)
|
|
Packit Service |
82fcde |
mov.l @r15+,r5
|
|
Packit Service |
82fcde |
cfi_adjust_cfa_offset (-4)
|
|
Packit Service |
82fcde |
mov.l @r15+,r4
|
|
Packit Service |
82fcde |
cfi_adjust_cfa_offset (-4)
|
|
Packit Service |
82fcde |
mov.l @r15+,r3
|
|
Packit Service |
82fcde |
cfi_adjust_cfa_offset (-4)
|
|
Packit Service |
82fcde |
jmp @r0 ! Jump to function address.
|
|
Packit Service |
82fcde |
mov.l @r15+,r2
|
|
Packit Service |
82fcde |
cfi_adjust_cfa_offset (-4)
|
|
Packit Service |
82fcde |
.align 2
|
|
Packit Service |
82fcde |
#ifdef SHARED
|
|
Packit Service |
82fcde |
2: .long _GLOBAL_OFFSET_TABLE_
|
|
Packit Service |
82fcde |
3: .long _dl_fixup@GOTOFF
|
|
Packit Service |
82fcde |
#else
|
|
Packit Service |
82fcde |
3: .long _dl_fixup
|
|
Packit Service |
82fcde |
#endif
|
|
Packit Service |
82fcde |
cfi_endproc
|
|
Packit Service |
82fcde |
.size _dl_runtime_resolve, .-_dl_runtime_resolve
|
|
Packit Service |
82fcde |
|
|
Packit Service |
82fcde |
|
|
Packit Service |
82fcde |
.globl _dl_runtime_profile
|
|
Packit Service |
82fcde |
.type _dl_runtime_profile,@function
|
|
Packit Service |
82fcde |
cfi_startproc
|
|
Packit Service |
82fcde |
.align 5
|
|
Packit Service |
82fcde |
_dl_runtime_profile:
|
|
Packit Service |
82fcde |
mov.l r12,@-r15
|
|
Packit Service |
82fcde |
cfi_adjust_cfa_offset (4)
|
|
Packit Service |
82fcde |
#ifdef HAVE_FPU
|
|
Packit Service |
82fcde |
sts.l fpscr,@-r15
|
|
Packit Service |
82fcde |
cfi_adjust_cfa_offset (4)
|
|
Packit Service |
82fcde |
mov #8,r12
|
|
Packit Service |
82fcde |
swap.w r12,r12
|
|
Packit Service |
82fcde |
lds r12,fpscr
|
|
Packit Service |
82fcde |
fmov.s fr11,@-r15
|
|
Packit Service |
82fcde |
cfi_adjust_cfa_offset (4)
|
|
Packit Service |
82fcde |
fmov.s fr10,@-r15
|
|
Packit Service |
82fcde |
cfi_adjust_cfa_offset (4)
|
|
Packit Service |
82fcde |
fmov.s fr9,@-r15
|
|
Packit Service |
82fcde |
cfi_adjust_cfa_offset (4)
|
|
Packit Service |
82fcde |
fmov.s fr8,@-r15
|
|
Packit Service |
82fcde |
cfi_adjust_cfa_offset (4)
|
|
Packit Service |
82fcde |
fmov.s fr7,@-r15
|
|
Packit Service |
82fcde |
cfi_adjust_cfa_offset (4)
|
|
Packit Service |
82fcde |
fmov.s fr6,@-r15
|
|
Packit Service |
82fcde |
cfi_adjust_cfa_offset (4)
|
|
Packit Service |
82fcde |
fmov.s fr5,@-r15
|
|
Packit Service |
82fcde |
cfi_adjust_cfa_offset (4)
|
|
Packit Service |
82fcde |
fmov.s fr4,@-r15
|
|
Packit Service |
82fcde |
cfi_adjust_cfa_offset (4)
|
|
Packit Service |
82fcde |
#else
|
|
Packit Service |
82fcde |
add #-36,r15
|
|
Packit Service |
82fcde |
cfi_adjust_cfa_offset (36)
|
|
Packit Service |
82fcde |
#endif
|
|
Packit Service |
82fcde |
mov.l r7,@-r15
|
|
Packit Service |
82fcde |
cfi_adjust_cfa_offset (4)
|
|
Packit Service |
82fcde |
mov.l r6,@-r15
|
|
Packit Service |
82fcde |
cfi_adjust_cfa_offset (4)
|
|
Packit Service |
82fcde |
mov.l r5,@-r15
|
|
Packit Service |
82fcde |
cfi_adjust_cfa_offset (4)
|
|
Packit Service |
82fcde |
mov.l r4,@-r15
|
|
Packit Service |
82fcde |
cfi_adjust_cfa_offset (4)
|
|
Packit Service |
82fcde |
mov.l r3,@-r15
|
|
Packit Service |
82fcde |
cfi_adjust_cfa_offset (4)
|
|
Packit Service |
82fcde |
mov.l r2,@-r15
|
|
Packit Service |
82fcde |
cfi_adjust_cfa_offset (4)
|
|
Packit Service |
82fcde |
sts.l macl,@-r15
|
|
Packit Service |
82fcde |
cfi_adjust_cfa_offset (4)
|
|
Packit Service |
82fcde |
sts.l mach,@-r15
|
|
Packit Service |
82fcde |
cfi_adjust_cfa_offset (4)
|
|
Packit Service |
82fcde |
movt r3 ! Save T flag.
|
|
Packit Service |
82fcde |
mov.l r3,@-r15
|
|
Packit Service |
82fcde |
cfi_adjust_cfa_offset (4)
|
|
Packit Service |
82fcde |
sts.l pr,@-r15
|
|
Packit Service |
82fcde |
cfi_adjust_cfa_offset (4)
|
|
Packit Service |
82fcde |
tst r0,r0
|
|
Packit Service |
82fcde |
bt 1f
|
|
Packit Service |
82fcde |
mov r0,r2
|
|
Packit Service |
82fcde |
1:
|
|
Packit Service |
82fcde |
mov r0,r4 ! PLT type
|
|
Packit Service |
82fcde |
mov r2,r5 ! link map address
|
|
Packit Service |
82fcde |
sts pr,r7 ! return address
|
|
Packit Service |
82fcde |
add #-24,r15
|
|
Packit Service |
82fcde |
cfi_adjust_cfa_offset (24)
|
|
Packit Service |
82fcde |
mov #40,r0
|
|
Packit Service |
82fcde |
add r15,r0
|
|
Packit Service |
82fcde |
mov.l r0,@r15 ! Address of the register structure
|
|
Packit Service |
82fcde |
mov #-1,r0
|
|
Packit Service |
82fcde |
mov.l r0,@(8,r15)
|
|
Packit Service |
82fcde |
mov #8,r0
|
|
Packit Service |
82fcde |
add r15,r0
|
|
Packit Service |
82fcde |
mov.l r0,@(4,r15)
|
|
Packit Service |
82fcde |
mov.l r5,@(12,r15)
|
|
Packit Service |
82fcde |
mov.l r1,@(16,r15)
|
|
Packit Service |
82fcde |
#ifdef SHARED
|
|
Packit Service |
82fcde |
mov.l 2f,r12
|
|
Packit Service |
82fcde |
mova 2f,r0
|
|
Packit Service |
82fcde |
add r0,r12 ! Get GOT address in r12
|
|
Packit Service |
82fcde |
mov.l 3f,r0
|
|
Packit Service |
82fcde |
add r12,r0
|
|
Packit Service |
82fcde |
#else
|
|
Packit Service |
82fcde |
mov.l 3f,r0
|
|
Packit Service |
82fcde |
#endif
|
|
Packit Service |
82fcde |
jsr @r0 ! Call resolver.
|
|
Packit Service |
82fcde |
mov r1,r6 ! reloc offset
|
|
Packit Service |
82fcde |
mov.l @(8,r15),r1
|
|
Packit Service |
82fcde |
cmp/pz r1
|
|
Packit Service |
82fcde |
bt 4f
|
|
Packit Service |
82fcde |
add #24,r15
|
|
Packit Service |
82fcde |
cfi_adjust_cfa_offset (-24)
|
|
Packit Service |
82fcde |
lds.l @r15+,pr ! Get register content back.
|
|
Packit Service |
82fcde |
cfi_adjust_cfa_offset (-4)
|
|
Packit Service |
82fcde |
mov.l @r15+,r3
|
|
Packit Service |
82fcde |
cfi_adjust_cfa_offset (-4)
|
|
Packit Service |
82fcde |
shal r3 ! Lode T flag.
|
|
Packit Service |
82fcde |
lds.l @r15+,mach
|
|
Packit Service |
82fcde |
cfi_adjust_cfa_offset (-4)
|
|
Packit Service |
82fcde |
lds.l @r15+,macl
|
|
Packit Service |
82fcde |
cfi_adjust_cfa_offset (-4)
|
|
Packit Service |
82fcde |
mov.l @r15+,r2
|
|
Packit Service |
82fcde |
cfi_adjust_cfa_offset (-4)
|
|
Packit Service |
82fcde |
mov.l @r15+,r3
|
|
Packit Service |
82fcde |
cfi_adjust_cfa_offset (-4)
|
|
Packit Service |
82fcde |
mov.l @r15+,r4
|
|
Packit Service |
82fcde |
cfi_adjust_cfa_offset (-4)
|
|
Packit Service |
82fcde |
mov.l @r15+,r5
|
|
Packit Service |
82fcde |
cfi_adjust_cfa_offset (-4)
|
|
Packit Service |
82fcde |
mov.l @r15+,r6
|
|
Packit Service |
82fcde |
cfi_adjust_cfa_offset (-4)
|
|
Packit Service |
82fcde |
mov.l @r15+,r7
|
|
Packit Service |
82fcde |
cfi_adjust_cfa_offset (-4)
|
|
Packit Service |
82fcde |
#ifdef HAVE_FPU
|
|
Packit Service |
82fcde |
fmov.s @r15+,fr4
|
|
Packit Service |
82fcde |
cfi_adjust_cfa_offset (-4)
|
|
Packit Service |
82fcde |
fmov.s @r15+,fr5
|
|
Packit Service |
82fcde |
cfi_adjust_cfa_offset (-4)
|
|
Packit Service |
82fcde |
fmov.s @r15+,fr6
|
|
Packit Service |
82fcde |
cfi_adjust_cfa_offset (-4)
|
|
Packit Service |
82fcde |
fmov.s @r15+,fr7
|
|
Packit Service |
82fcde |
cfi_adjust_cfa_offset (-4)
|
|
Packit Service |
82fcde |
fmov.s @r15+,fr8
|
|
Packit Service |
82fcde |
cfi_adjust_cfa_offset (-4)
|
|
Packit Service |
82fcde |
fmov.s @r15+,fr9
|
|
Packit Service |
82fcde |
cfi_adjust_cfa_offset (-4)
|
|
Packit Service |
82fcde |
fmov.s @r15+,fr10
|
|
Packit Service |
82fcde |
cfi_adjust_cfa_offset (-4)
|
|
Packit Service |
82fcde |
fmov.s @r15+,fr11
|
|
Packit Service |
82fcde |
cfi_adjust_cfa_offset (-4)
|
|
Packit Service |
82fcde |
lds.l @r15+,fpscr
|
|
Packit Service |
82fcde |
cfi_adjust_cfa_offset (-4)
|
|
Packit Service |
82fcde |
#else
|
|
Packit Service |
82fcde |
add #36,r15
|
|
Packit Service |
82fcde |
cfi_adjust_cfa_offset (-36)
|
|
Packit Service |
82fcde |
#endif
|
|
Packit Service |
82fcde |
jmp @r0 ! Jump to function address.
|
|
Packit Service |
82fcde |
mov.l @r15+,r12
|
|
Packit Service |
82fcde |
cfi_adjust_cfa_offset (-4)
|
|
Packit Service |
82fcde |
.align 2
|
|
Packit Service |
82fcde |
#ifdef SHARED
|
|
Packit Service |
82fcde |
2: .long _GLOBAL_OFFSET_TABLE_
|
|
Packit Service |
82fcde |
3: .long _dl_profile_fixup@GOTOFF
|
|
Packit Service |
82fcde |
#else
|
|
Packit Service |
82fcde |
3: .long _dl_profile_fixup
|
|
Packit Service |
82fcde |
#endif
|
|
Packit Service |
82fcde |
|
|
Packit Service |
82fcde |
cfi_adjust_cfa_offset (104)
|
|
Packit Service |
82fcde |
4:
|
|
Packit Service |
82fcde |
mov #104,r3
|
|
Packit Service |
82fcde |
add r15,r3 ! Original stack
|
|
Packit Service |
82fcde |
mov.l r8,@(20,r15)
|
|
Packit Service |
82fcde |
cfi_rel_offset (r8, 20)
|
|
Packit Service |
82fcde |
mov r15,r8
|
|
Packit Service |
82fcde |
sub r1,r15
|
|
Packit Service |
82fcde |
shlr2 r15
|
|
Packit Service |
82fcde |
shll2 r15
|
|
Packit Service |
82fcde |
mov r15,r4
|
|
Packit Service |
82fcde |
shlr2 r1
|
|
Packit Service |
82fcde |
tst r1,r1
|
|
Packit Service |
82fcde |
5:
|
|
Packit Service |
82fcde |
bt/s 6f
|
|
Packit Service |
82fcde |
dt r1
|
|
Packit Service |
82fcde |
mov.l @r3+,r2
|
|
Packit Service |
82fcde |
mov.l r2,@r4
|
|
Packit Service |
82fcde |
bra 5b
|
|
Packit Service |
82fcde |
add #4,r4
|
|
Packit Service |
82fcde |
6:
|
|
Packit Service |
82fcde |
mov.l @r8,r12
|
|
Packit Service |
82fcde |
mov.l @r12+,r2
|
|
Packit Service |
82fcde |
mov.l @r12+,r3
|
|
Packit Service |
82fcde |
mov.l @r12+,r4
|
|
Packit Service |
82fcde |
mov.l @r12+,r5
|
|
Packit Service |
82fcde |
mov.l @r12+,r6
|
|
Packit Service |
82fcde |
mov.l @r12+,r7
|
|
Packit Service |
82fcde |
#ifdef HAVE_FPU
|
|
Packit Service |
82fcde |
fmov.s @r12+,fr4
|
|
Packit Service |
82fcde |
fmov.s @r12+,fr5
|
|
Packit Service |
82fcde |
fmov.s @r12+,fr6
|
|
Packit Service |
82fcde |
fmov.s @r12+,fr7
|
|
Packit Service |
82fcde |
fmov.s @r12+,fr8
|
|
Packit Service |
82fcde |
fmov.s @r12+,fr9
|
|
Packit Service |
82fcde |
fmov.s @r12+,fr10
|
|
Packit Service |
82fcde |
fmov.s @r12+,fr11
|
|
Packit Service |
82fcde |
lds.l @r12+,fpscr
|
|
Packit Service |
82fcde |
#else
|
|
Packit Service |
82fcde |
add #36,r2
|
|
Packit Service |
82fcde |
#endif
|
|
Packit Service |
82fcde |
jsr @r0 ! Call function.
|
|
Packit Service |
82fcde |
nop
|
|
Packit Service |
82fcde |
mov r8,r15
|
|
Packit Service |
82fcde |
mov.l @(12,r15),r4 ! link map address
|
|
Packit Service |
82fcde |
mov.l @(16,r15),r5 ! reloc offset
|
|
Packit Service |
82fcde |
mov.l @r15,r6 ! input registers
|
|
Packit Service |
82fcde |
#ifdef HAVE_FPU
|
|
Packit Service |
82fcde |
mov #16,r8
|
|
Packit Service |
82fcde |
add r15,r8
|
|
Packit Service |
82fcde |
fmov.s fr1,@-r8
|
|
Packit Service |
82fcde |
fmov.s fr0,@-r8
|
|
Packit Service |
82fcde |
#else
|
|
Packit Service |
82fcde |
mov #8,r8
|
|
Packit Service |
82fcde |
add r15,r8
|
|
Packit Service |
82fcde |
#endif
|
|
Packit Service |
82fcde |
mov.l r1,@-r8
|
|
Packit Service |
82fcde |
mov.l r0,@-r8
|
|
Packit Service |
82fcde |
mov.l @(20,r15),r8
|
|
Packit Service |
82fcde |
cfi_restore (r8)
|
|
Packit Service |
82fcde |
#ifdef SHARED
|
|
Packit Service |
82fcde |
mov.l 7f,r12
|
|
Packit Service |
82fcde |
mova 7f,r0
|
|
Packit Service |
82fcde |
add r0,r12 ! Get GOT address in r12
|
|
Packit Service |
82fcde |
mov.l 8f,r0
|
|
Packit Service |
82fcde |
add r12,r0
|
|
Packit Service |
82fcde |
#else
|
|
Packit Service |
82fcde |
mov.l 8f,r0
|
|
Packit Service |
82fcde |
#endif
|
|
Packit Service |
82fcde |
jsr @r0
|
|
Packit Service |
82fcde |
mov r15,r7 ! output registers
|
|
Packit Service |
82fcde |
mov.l @r15+,r0
|
|
Packit Service |
82fcde |
cfi_adjust_cfa_offset (-4)
|
|
Packit Service |
82fcde |
mov.l @r15+,r1
|
|
Packit Service |
82fcde |
cfi_adjust_cfa_offset (-4)
|
|
Packit Service |
82fcde |
#ifdef HAVE_FPU
|
|
Packit Service |
82fcde |
fmov.s @r15+,fr0
|
|
Packit Service |
82fcde |
cfi_adjust_cfa_offset (-4)
|
|
Packit Service |
82fcde |
fmov.s @r15+,fr1
|
|
Packit Service |
82fcde |
cfi_adjust_cfa_offset (-4)
|
|
Packit Service |
82fcde |
add #8,r15
|
|
Packit Service |
82fcde |
cfi_adjust_cfa_offset (-8)
|
|
Packit Service |
82fcde |
#else
|
|
Packit Service |
82fcde |
add #16,r15
|
|
Packit Service |
82fcde |
cfi_adjust_cfa_offset (-16)
|
|
Packit Service |
82fcde |
#endif
|
|
Packit Service |
82fcde |
lds.l @r15+,pr ! Get register content back.
|
|
Packit Service |
82fcde |
cfi_adjust_cfa_offset (-4)
|
|
Packit Service |
82fcde |
mov.l @r15+,r3
|
|
Packit Service |
82fcde |
cfi_adjust_cfa_offset (-4)
|
|
Packit Service |
82fcde |
shal r3 ! Lode T flag.
|
|
Packit Service |
82fcde |
lds.l @r15+,mach
|
|
Packit Service |
82fcde |
cfi_adjust_cfa_offset (-4)
|
|
Packit Service |
82fcde |
lds.l @r15+,macl
|
|
Packit Service |
82fcde |
cfi_adjust_cfa_offset (-4)
|
|
Packit Service |
82fcde |
mov.l @r15+,r2
|
|
Packit Service |
82fcde |
cfi_adjust_cfa_offset (-4)
|
|
Packit Service |
82fcde |
mov.l @r15+,r3
|
|
Packit Service |
82fcde |
cfi_adjust_cfa_offset (-4)
|
|
Packit Service |
82fcde |
mov.l @r15+,r4
|
|
Packit Service |
82fcde |
cfi_adjust_cfa_offset (-4)
|
|
Packit Service |
82fcde |
mov.l @r15+,r5
|
|
Packit Service |
82fcde |
cfi_adjust_cfa_offset (-4)
|
|
Packit Service |
82fcde |
mov.l @r15+,r6
|
|
Packit Service |
82fcde |
cfi_adjust_cfa_offset (-4)
|
|
Packit Service |
82fcde |
mov.l @r15+,r7
|
|
Packit Service |
82fcde |
cfi_adjust_cfa_offset (-4)
|
|
Packit Service |
82fcde |
#ifdef HAVE_FPU
|
|
Packit Service |
82fcde |
fmov.s @r15+,fr4
|
|
Packit Service |
82fcde |
cfi_adjust_cfa_offset (-4)
|
|
Packit Service |
82fcde |
fmov.s @r15+,fr5
|
|
Packit Service |
82fcde |
cfi_adjust_cfa_offset (-4)
|
|
Packit Service |
82fcde |
fmov.s @r15+,fr6
|
|
Packit Service |
82fcde |
cfi_adjust_cfa_offset (-4)
|
|
Packit Service |
82fcde |
fmov.s @r15+,fr7
|
|
Packit Service |
82fcde |
cfi_adjust_cfa_offset (-4)
|
|
Packit Service |
82fcde |
fmov.s @r15+,fr8
|
|
Packit Service |
82fcde |
cfi_adjust_cfa_offset (-4)
|
|
Packit Service |
82fcde |
fmov.s @r15+,fr9
|
|
Packit Service |
82fcde |
cfi_adjust_cfa_offset (-4)
|
|
Packit Service |
82fcde |
fmov.s @r15+,fr10
|
|
Packit Service |
82fcde |
cfi_adjust_cfa_offset (-4)
|
|
Packit Service |
82fcde |
fmov.s @r15+,fr11
|
|
Packit Service |
82fcde |
cfi_adjust_cfa_offset (-4)
|
|
Packit Service |
82fcde |
lds.l @r15+,fpscr
|
|
Packit Service |
82fcde |
cfi_adjust_cfa_offset (-4)
|
|
Packit Service |
82fcde |
#else
|
|
Packit Service |
82fcde |
add #36,r15
|
|
Packit Service |
82fcde |
cfi_adjust_cfa_offset (-36)
|
|
Packit Service |
82fcde |
#endif
|
|
Packit Service |
82fcde |
rts ! Jump to function address.
|
|
Packit Service |
82fcde |
mov.l @r15+,r12
|
|
Packit Service |
82fcde |
cfi_adjust_cfa_offset (-4)
|
|
Packit Service |
82fcde |
cfi_endproc
|
|
Packit Service |
82fcde |
.align 2
|
|
Packit Service |
82fcde |
#ifdef SHARED
|
|
Packit Service |
82fcde |
7: .long _GLOBAL_OFFSET_TABLE_
|
|
Packit Service |
82fcde |
8: .long _dl_call_pltexit@GOTOFF
|
|
Packit Service |
82fcde |
#else
|
|
Packit Service |
82fcde |
8: .long _dl_call_pltexit
|
|
Packit Service |
82fcde |
#endif
|
|
Packit Service |
82fcde |
.size _dl_runtime_profile, .-_dl_runtime_profile
|