diff options
author | Ulrich Drepper <drepper@redhat.com> | 2005-01-29 00:07:16 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2005-01-29 00:07:16 +0000 |
commit | bb38d32c233ff7b2323ac273c09556c0d5884391 (patch) | |
tree | 12798fde95e1aef6251c67093ef825cb58265d33 /elf/tst-auditmod1.c | |
parent | d0d4c71e3409365201c03db05510d99d734b83c0 (diff) | |
download | glibc-bb38d32c233ff7b2323ac273c09556c0d5884391.tar.gz glibc-bb38d32c233ff7b2323ac273c09556c0d5884391.tar.xz glibc-bb38d32c233ff7b2323ac273c09556c0d5884391.zip |
Update.
* sysdeps/s390/bits/link.h: New file. * sysdeps/s390/s390-32/dl-trampoline.S: New file. * sysdeps/s390/s390-64/dl-trampoline.S: New file. * sysdeps/s390/s390-32/dl-machine.h: Move PLT trampolines to dl-trampoline.S. Use RESOLVE_MAP instead of RESOLVE to protect relocation code. (elf_machine_runtime_setup): Test for dl_profile non-null. (elf_machine_rela): Remove code using RESOLVE. (ARCH_LA_PLTENTER, ARCH_LA_PLTEXIT): New. * sysdeps/s390/s390-64/dl-machine.h: Likewise. * sysdeps/generic/ldsodefs.h (La_s390_32_regs, La_s390_32_retval, La_s390_64_regs, La_s390_64_retval): New. * elf/tst-auditmod1.c: Add s390 entries.
Diffstat (limited to 'elf/tst-auditmod1.c')
-rw-r--r-- | elf/tst-auditmod1.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/elf/tst-auditmod1.c b/elf/tst-auditmod1.c index b605e5f1c2..5f4a6d4734 100644 --- a/elf/tst-auditmod1.c +++ b/elf/tst-auditmod1.c @@ -144,6 +144,18 @@ la_symbind64 (Elf64_Sym *sym, unsigned int ndx, uintptr_t *refcook, # define La_regs La_alpha_regs # define La_retval La_alpha_retval # define int_retval lrv_r0 +#elif defined __s390__ && __WORDSIZE == 32 +# define pltenter la_s390_32_gnu_pltenter +# define pltexit la_s390_32_gnu_pltexit +# define La_regs La_s390_32_regs +# define La_retval La_s390_32_retval +# define int_retval lrv_r2 +#elif defined __s390__ && __WORDSIZE == 64 +# define pltenter la_s390_64_gnu_pltenter +# define pltexit la_s390_64_gnu_pltexit +# define La_regs La_s390_64_regs +# define La_retval La_s390_64_retval +# define int_retval lrv_r2 #else # error "architecture specific code needed" #endif |