From ac5506822324b3734549fb5633166af3d5eb9365 Mon Sep 17 00:00:00 2001 From: Joakim Tjernlund Date: Wed, 25 Aug 2004 15:19:00 +0000 Subject: Patch from Stefan Allius: Remove unused function parameter in ldso. Remove echo option '-e' since it is not supported on Solaris. --- ldso/ldso/cris/elfinterp.c | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) (limited to 'ldso/ldso/cris') diff --git a/ldso/ldso/cris/elfinterp.c b/ldso/ldso/cris/elfinterp.c index 6030a6575..0a8835c85 100644 --- a/ldso/ldso/cris/elfinterp.c +++ b/ldso/ldso/cris/elfinterp.c @@ -370,26 +370,20 @@ _dl_do_copy_reloc(struct elf_resolve *tpnt, struct dyn_elf *scope, ELF_RELOC *rp /* External interface to the generic part of the dynamic linker. */ void _dl_parse_lazy_relocation_information(struct dyn_elf *rpnt, - unsigned long rel_addr, unsigned long rel_size, int type) + unsigned long rel_addr, unsigned long rel_size) { - /* Keep the compiler happy. */ - (void) type; (void)_dl_parse(rpnt->dyn, NULL, rel_addr, rel_size, _dl_do_lazy_reloc); } int _dl_parse_relocation_information(struct dyn_elf *rpnt, - unsigned long rel_addr, unsigned long rel_size, int type) + unsigned long rel_addr, unsigned long rel_size) { - /* Keep the compiler happy. */ - (void) type; return _dl_parse(rpnt->dyn, rpnt->dyn->symbol_scope, rel_addr, rel_size, _dl_do_reloc); } int _dl_parse_copy_information(struct dyn_elf *rpnt, - unsigned long rel_addr, unsigned long rel_size, int type) + unsigned long rel_addr, unsigned long rel_size) { - /* Keep the compiler happy. */ - (void) type; return _dl_parse(rpnt->dyn, rpnt->next, rel_addr, rel_size, _dl_do_copy_reloc); } -- cgit v1.2.3