]> git.ipfire.org Git - thirdparty/glibc.git/blame - sysdeps/ia64/bits/link.h
Update copyright dates with scripts/update-copyrights.
[thirdparty/glibc.git] / sysdeps / ia64 / bits / link.h
CommitLineData
b168057a 1/* Copyright (C) 2005-2015 Free Software Foundation, Inc.
d5efd131
MF
2 This file is part of the GNU C Library.
3
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.
8
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.
13
14 You should have received a copy of the GNU Lesser General Public
75efb018
MF
15 License along with the GNU C Library; if not, see
16 <http://www.gnu.org/licenses/>. */
d5efd131
MF
17
18#ifndef _LINK_H
19# error "Never include <bits/link.h> directly; use <link.h> instead."
20#endif
21
22/* Registers for entry into PLT on ia64. */
23typedef struct La_ia64_regs
24{
25 uint64_t lr_r8;
26 uint64_t lr_r9;
27 uint64_t lr_r10;
28 uint64_t lr_r11;
29 uint64_t lr_gr [8];
30 long double lr_fr [8];
31 uint64_t lr_unat;
32 uint64_t lr_sp;
33} La_ia64_regs;
34
35/* Return values for calls from PLT on ia64. */
36typedef struct La_ia64_retval
37{
38 uint64_t lrv_r8;
39 uint64_t lrv_r9;
40 uint64_t lrv_r10;
41 uint64_t lrv_r11;
42 long double lr_fr [8];
43} La_ia64_retval;
44
45
46__BEGIN_DECLS
47
48extern Elf64_Addr la_ia64_gnu_pltenter (Elf64_Sym *__sym, unsigned int __ndx,
d5efd131
MF
49 uintptr_t *__refcook,
50 uintptr_t *__defcook,
cd702fc4
MF
51 La_ia64_regs *__regs,
52 unsigned int *__flags,
53 const char *__symname,
54 long int *__framesizep);
55extern unsigned int la_ia64_gnu_pltexit (Elf64_Sym *__sym, unsigned int __ndx,
56 uintptr_t *__refcook,
57 uintptr_t *__defcook,
58 const La_ia64_regs *__inregs,
59 La_ia64_retval *__outregs,
60 const char *__symname);
d5efd131
MF
61
62__END_DECLS