1 /* Copyright (C) 2005-2024 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 <https://www.gnu.org/licenses/>. */
19 # error "Never include <bits/link.h> directly; use <link.h> instead."
22 #if defined HAVE_S390_VX_ASM_SUPPORT
23 typedef char La_s390_vr
[16];
26 #if __ELF_NATIVE_CLASS == 32
28 /* Registers for entry into PLT on s390-32. */
29 typedef struct La_s390_32_regs
38 # if defined HAVE_S390_VX_ASM_SUPPORT
50 /* Return values for calls from PLT on s390-32. */
51 typedef struct La_s390_32_retval
56 # if defined HAVE_S390_VX_ASM_SUPPORT
64 extern Elf32_Addr
la_s390_32_gnu_pltenter (Elf32_Sym
*__sym
,
68 La_s390_32_regs
*__regs
,
69 unsigned int *__flags
,
70 const char *__symname
,
71 long int *__framesizep
);
72 extern unsigned int la_s390_32_gnu_pltexit (Elf32_Sym
*__sym
,
76 const La_s390_32_regs
*__inregs
,
77 La_s390_32_retval
*__outregs
,
84 /* Registers for entry into PLT on s390-64. */
85 typedef struct La_s390_64_regs
96 # if defined HAVE_S390_VX_ASM_SUPPORT
108 /* Return values for calls from PLT on s390-64. */
109 typedef struct La_s390_64_retval
113 # if defined HAVE_S390_VX_ASM_SUPPORT
121 extern Elf64_Addr
la_s390_64_gnu_pltenter (Elf64_Sym
*__sym
,
123 uintptr_t *__refcook
,
124 uintptr_t *__defcook
,
125 La_s390_64_regs
*__regs
,
126 unsigned int *__flags
,
127 const char *__symname
,
128 long int *__framesizep
);
129 extern unsigned int la_s390_64_gnu_pltexit (Elf64_Sym
*__sym
,
131 uintptr_t *__refcook
,
132 uintptr_t *__defcook
,
133 const La_s390_64_regs
*__inregs
,
134 La_s390_64_retval
*__outregs
,
135 const char *__symname
);