]>
git.ipfire.org Git - thirdparty/glibc.git/blob - sysdeps/csky/bits/link.h
1 /* Machine-specific declarations for dynamic linker interface. C-SKY version.
2 Copyright (C) 2018-2019 Free Software Foundation, Inc.
3 This file is part of the GNU C Library.
5 The GNU C Library is free software; you can redistribute it and/or
6 modify it under the terms of the GNU Lesser General Public
7 License as published by the Free Software Foundation; either
8 version 2.1 of the License, or (at your option) any later version.
10 The GNU C Library is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 Lesser General Public License for more details.
15 You should have received a copy of the GNU Lesser General Public
16 License along with the GNU C Library. If not, see
17 <http://www.gnu.org/licenses/>. */
20 # error "Never include <bits/link.h> directly; use <link.h> instead."
23 /* Registers for entry into PLT on C-SKY. */
24 typedef struct La_csky_regs
31 /* Return values for calls from PLT on C-SKY. */
32 typedef struct La_csky_retval
34 /* Up to four integer registers can be used for a return value. */
41 extern Elf32_Addr
la_csky_gnu_pltenter (Elf32_Sym
*__sym
, unsigned int __ndx
,
45 unsigned int *__flags
,
46 const char *__symname
,
47 long int *__framesizep
);
48 extern unsigned int la_csky_gnu_pltexit (Elf32_Sym
*__sym
, unsigned int __ndx
,
51 const La_csky_regs
*__inregs
,
52 La_csky_retval
*__outregs
,
53 const char *__symname
);