diff options
Diffstat (limited to 'elf/tst-auditmod1.c')
-rw-r--r-- | elf/tst-auditmod1.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/elf/tst-auditmod1.c b/elf/tst-auditmod1.c index 9b07588288..3876822429 100644 --- a/elf/tst-auditmod1.c +++ b/elf/tst-auditmod1.c @@ -162,6 +162,24 @@ la_symbind64 (Elf64_Sym *sym, unsigned int ndx, uintptr_t *refcook, # define La_regs La_ia64_regs # define La_retval La_ia64_retval # define int_retval lrv_r8 +#elif defined __mips__ && _MIPS_SIM == _ABIO32 +# define pltenter la_mips_o32_gnu_pltenter +# define pltexit la_mips_o32_gnu_pltexit +# define La_regs La_mips_32_regs +# define La_retval La_mips_32_retval +# define int_retval lrv_v0 +#elif defined __mips__ && _MIPS_SIM == _ABIN32 +# define pltenter la_mips_n32_gnu_pltenter +# define pltexit la_mips_n32_gnu_pltexit +# define La_regs La_mips_64_regs +# define La_retval La_mips_64_retval +# define int_retval lrv_v0 +#elif defined __mips__ && _MIPS_SIM == _ABI64 +# define pltenter la_mips_n64_gnu_pltenter +# define pltexit la_mips_n64_gnu_pltexit +# define La_regs La_mips_64_regs +# define La_retval La_mips_64_retval +# define int_retval lrv_v0 #else # error "architecture specific code needed" #endif |