diff options
author | Andreas Schwab <schwab@suse.de> | 2005-01-16 02:07:30 +0000 |
---|---|---|
committer | Andreas Schwab <schwab@suse.de> | 2005-01-16 02:07:30 +0000 |
commit | b92f2d04237b7e7165f2c476d8f61e86dbb2779c (patch) | |
tree | d702da0241c8c485fc7f8baa854a6f06071459e3 /elf | |
parent | ea161661142ab98568ea811ce791da538da981d1 (diff) | |
download | glibc-b92f2d04237b7e7165f2c476d8f61e86dbb2779c.tar.gz glibc-b92f2d04237b7e7165f2c476d8f61e86dbb2779c.tar.xz glibc-b92f2d04237b7e7165f2c476d8f61e86dbb2779c.zip |
* sysdeps/m68k/dl-machine.h: Remove trampoline code. Define
ARCH_LA_PLTENTER and ARCH_LA_PLTEXIT. (elf_machine_runtime_setup): If profile != 0 does not anymore mean GLRO(dl_profile) != NULL. * sysdeps/m68k/dl-trampoline.S: New file. * sysdeps/m68k/bits/link.h: New file. * sysdeps/generic/ldsodefs.h (struct audit_ifaces): Add m68k variants. * elf/tst-auditmod1.c: Add m68k support. 2005-01-16 Andreas Schwab <schwab@suse.de> * sysdeps/m68k/dl-machine.h: Remove trampoline code. Define ARCH_LA_PLTENTER and ARCH_LA_PLTEXIT. (elf_machine_runtime_setup): If profile != 0 does not anymore mean GLRO(dl_profile) != NULL. * sysdeps/m68k/dl-trampoline.S: New file. * sysdeps/m68k/bits/link.h: New file. * sysdeps/generic/ldsodefs.h (struct audit_ifaces): Add m68k variants. * elf/tst-auditmod1.c: Add m68k support.
Diffstat (limited to 'elf')
-rw-r--r-- | elf/tst-auditmod1.c | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/elf/tst-auditmod1.c b/elf/tst-auditmod1.c index ae7677647f..235444703e 100644 --- a/elf/tst-auditmod1.c +++ b/elf/tst-auditmod1.c @@ -217,6 +217,29 @@ la_sh_gnu_pltexit (Elf32_Sym *sym, unsigned int ndx, uintptr_t *refcook, return 0; } +#elif defined __mc68000__ +Elf32_Addr +la_m68k_gnu_pltenter (Elf32_Sym *sym, unsigned int ndx, uintptr_t *refcook, + uintptr_t *defcook, La_m68k_regs *regs, + unsigned int *flags, const char *symname, + long int *framesizep) +{ + printf ("m68k_pltenter: symname=%s, st_value=%#lx, ndx=%u, flags=%u\n", + symname, (long int) sym->st_value, ndx, *flags); + + return sym->st_value; +} + +unsigned int +la_m68k_gnu_pltexit (Elf32_Sym *sym, unsigned int ndx, uintptr_t *refcook, + uintptr_t *defcook, const La_m68k_regs *inregs, + La_m68k_retval *outregs, const char *symname) +{ + printf ("m68k_pltexit: symname=%s, st_value=%#lx, ndx=%u, retval=%tu\n", + symname, (long int) sym->st_value, ndx, outregs->lrv_d0); + + return 0; +} #else # error "architecture specific code needed" #endif |