1 /* Copyright (C) 2005 Free Software Foundation, Inc.
2 This file is part of the GNU C Library.
4 The GNU C Library is free software; you can redistribute it and/or
5 modify it under the terms of the GNU Lesser General Public
6 License as published by the Free Software Foundation; either
7 version 2.1 of the License, or (at your option) any later version.
9 The GNU C Library is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 Lesser General Public License for more details.
14 You should have received a copy of the GNU Lesser General Public
15 License along with the GNU C Library; if not, write to the Free
16 Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
20 # error "Never include <bits/link.h> directly; use <link.h> instead."
24 /* Registers for entry into PLT on ARM. */
25 typedef struct La_arm_regs
30 /* Coprocessor registers used for argument passing. The data
31 stored here depends on the coprocessors available in the
32 system which are used for function calls in the current ABI.
33 VFP uses eight 64-bit registers, and iWMMXt uses ten. */
34 uint32_t lr_coproc
[42];
37 /* Return values for calls from PLT on ARM. */
38 typedef struct La_arm_retval
40 /* Up to four integer registers can be used for a return value in
41 some ABIs (APCS complex long double). */
44 /* Any coprocessor registers which might be used to return values
45 in the current ABI. */
46 uint32_t lrv_coproc
[12];
52 extern Elf32_Addr
la_arm_gnu_pltenter (Elf32_Sym
*__sym
, unsigned int __ndx
,
56 unsigned int *__flags
,
57 const char *__symname
,
58 long int *__framesizep
);
59 extern unsigned int la_arm_gnu_pltexit (Elf32_Sym
*__sym
, unsigned int __ndx
,
62 const La_arm_regs
*__inregs
,
63 La_arm_retval
*__outregs
,