2 /* This code is used in dl-runtime.c to call the `fixup' function
3 and then redirect to the address it returns. */
4 /* We assume that R3 contain relocation offset and R4 contains
5 link_map (_DYNAMIC). This must be consistent with the JUMP_SLOT
6 layout generated by binutils. */
8 /* Based on glibc 2.3.6, dl-machine.h */
10 The GNU C Library is free software; you can redistribute it and/or
11 modify it under the terms of the GNU Lesser General Public
12 License as published by the Free Software Foundation; either
13 version 2.1 of the License, or (at your option) any later version.
15 The GNU C Library is distributed in the hope that it will be useful,
16 but WITHOUT ANY WARRANTY; without even the implied warranty of
17 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18 Lesser General Public License for more details.
20 You should have received a copy of the GNU Lesser General Public
21 License along with the GNU C Library; if not, see
22 <http://www.gnu.org/licenses/>. */
26 .globl _dl_linux_resolver
27 .globl _dl_linux_resolve
28 .type _dl_linux_resolve,@function
40 brlid r15, _dl_linux_resolver
41 addk r6,r0,r3; /* delay slot */
50 addik r1,r1,40; /* delay slot */
51 .size _dl_linux_resolve, . - _dl_linux_resolve