riscv: Fix feenvupdate with FE_DFL_ENV (BZ 31022)
[glibc.git] / sysdeps / s390 / ldsodefs.h
blob0f63d7cc0da1eddb0e3da248303707f397c8148f
1 /* Run-time dynamic linker data structures for loaded ELF shared objects.
2 Copyright (C) 1995-2023 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 <https://www.gnu.org/licenses/>. */
19 #ifndef _S390_LDSODEFS_H
20 #define _S390_LDSODEFS_H 1
22 #include <elf.h>
23 #include <cpu-features.h>
25 struct La_s390_32_regs;
26 struct La_s390_32_retval;
27 struct La_s390_64_regs;
28 struct La_s390_64_retval;
30 #define ARCH_PLTENTER_MEMBERS \
31 Elf32_Addr (*s390_32_gnu_pltenter) (Elf32_Sym *, unsigned int, \
32 uintptr_t *, \
33 uintptr_t *, \
34 struct La_s390_32_regs *, \
35 unsigned int *, const char *name, \
36 long int *framesizep); \
37 Elf64_Addr (*s390_64_gnu_pltenter) (Elf64_Sym *, unsigned int, \
38 uintptr_t *, \
39 uintptr_t *, \
40 struct La_s390_64_regs *, \
41 unsigned int *, const char *name, \
42 long int *framesizep)
44 #define ARCH_PLTEXIT_MEMBERS \
45 unsigned int (*s390_32_gnu_pltexit) (Elf32_Sym *, unsigned int, \
46 uintptr_t *, uintptr_t *, \
47 const struct La_s390_32_regs *, \
48 struct La_s390_32_retval *, \
49 const char *); \
50 unsigned int (*s390_64_gnu_pltexit) (Elf64_Sym *, unsigned int, \
51 uintptr_t *, uintptr_t *, \
52 const struct La_s390_64_regs *, \
53 struct La_s390_64_retval *, \
54 const char *)
56 #include_next <ldsodefs.h>
58 #endif