Fix grp.h endgrent, getgrent namespace (bug 18528).
[glibc.git] / sysdeps / ia64 / bits / link.h
blobe5ea90a453e8c1a6c216848435cd024beeaf980d
1 /* Copyright (C) 2005-2015 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, see
16 <http://www.gnu.org/licenses/>. */
18 #ifndef _LINK_H
19 # error "Never include <bits/link.h> directly; use <link.h> instead."
20 #endif
22 /* Registers for entry into PLT on ia64. */
23 typedef struct La_ia64_regs
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;
35 /* Return values for calls from PLT on ia64. */
36 typedef struct La_ia64_retval
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;
46 __BEGIN_DECLS
48 extern Elf64_Addr la_ia64_gnu_pltenter (Elf64_Sym *__sym, unsigned int __ndx,
49 uintptr_t *__refcook,
50 uintptr_t *__defcook,
51 La_ia64_regs *__regs,
52 unsigned int *__flags,
53 const char *__symname,
54 long int *__framesizep);
55 extern 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);
62 __END_DECLS