Blame sysdeps/alpha/bits/link.h

Packit Service 82fcde
/* Copyright (C) 2005-2018 Free Software Foundation, Inc.
Packit Service 82fcde
   This file is part of the GNU C Library.
Packit Service 82fcde
Packit Service 82fcde
   The GNU C Library is free software; you can redistribute it and/or
Packit Service 82fcde
   modify it under the terms of the GNU Lesser General Public
Packit Service 82fcde
   License as published by the Free Software Foundation; either
Packit Service 82fcde
   version 2.1 of the License, or (at your option) any later version.
Packit Service 82fcde
Packit Service 82fcde
   The GNU C Library is distributed in the hope that it will be useful,
Packit Service 82fcde
   but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit Service 82fcde
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Packit Service 82fcde
   Lesser General Public License for more details.
Packit Service 82fcde
Packit Service 82fcde
   You should have received a copy of the GNU Lesser General Public
Packit Service 82fcde
   License along with the GNU C Library.  If not, see
Packit Service 82fcde
   <http://www.gnu.org/licenses/>.  */
Packit Service 82fcde
Packit Service 82fcde
#ifndef	_LINK_H
Packit Service 82fcde
# error "Never include <bits/link.h> directly; use <link.h> instead."
Packit Service 82fcde
#endif
Packit Service 82fcde
Packit Service 82fcde
Packit Service 82fcde
/* Registers for entry into PLT on Alpha.  */
Packit Service 82fcde
typedef struct La_alpha_regs
Packit Service 82fcde
{
Packit Service 82fcde
  uint64_t lr_r26;
Packit Service 82fcde
  uint64_t lr_sp;
Packit Service 82fcde
  uint64_t lr_r16;
Packit Service 82fcde
  uint64_t lr_r17;
Packit Service 82fcde
  uint64_t lr_r18;
Packit Service 82fcde
  uint64_t lr_r19;
Packit Service 82fcde
  uint64_t lr_r20;
Packit Service 82fcde
  uint64_t lr_r21;
Packit Service 82fcde
  double lr_f16;
Packit Service 82fcde
  double lr_f17;
Packit Service 82fcde
  double lr_f18;
Packit Service 82fcde
  double lr_f19;
Packit Service 82fcde
  double lr_f20;
Packit Service 82fcde
  double lr_f21;
Packit Service 82fcde
} La_alpha_regs;
Packit Service 82fcde
Packit Service 82fcde
/* Return values for calls from PLT on Alpha.  */
Packit Service 82fcde
typedef struct La_alpha_retval
Packit Service 82fcde
{
Packit Service 82fcde
  uint64_t lrv_r0;
Packit Service 82fcde
  uint64_t lrv_r1;
Packit Service 82fcde
  double lrv_f0;
Packit Service 82fcde
  double lrv_f1;
Packit Service 82fcde
} La_alpha_retval;
Packit Service 82fcde
Packit Service 82fcde
Packit Service 82fcde
__BEGIN_DECLS
Packit Service 82fcde
Packit Service 82fcde
extern Elf64_Addr la_alpha_gnu_pltenter (Elf64_Sym *__sym, unsigned int __ndx,
Packit Service 82fcde
				         uintptr_t *__refcook,
Packit Service 82fcde
				         uintptr_t *__defcook,
Packit Service 82fcde
				         La_alpha_regs *__regs,
Packit Service 82fcde
				         unsigned int *__flags,
Packit Service 82fcde
				         const char *__symname,
Packit Service 82fcde
				         long int *__framesizep);
Packit Service 82fcde
extern unsigned int la_alpha_gnu_pltexit (Elf64_Sym *__sym, unsigned int __ndx,
Packit Service 82fcde
					  uintptr_t *__refcook,
Packit Service 82fcde
					  uintptr_t *__defcook,
Packit Service 82fcde
					  const La_alpha_regs *__inregs,
Packit Service 82fcde
					  La_alpha_retval *__outregs,
Packit Service 82fcde
					  const char *symname);
Packit Service 82fcde
Packit Service 82fcde
__END_DECLS