summaryrefslogtreecommitdiff
path: root/ldso/ldso/avr32/elfinterp.c
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2011-08-26 11:29:48 +0200
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2011-10-14 13:09:16 +0200
commitbbf31ba768412222dec87afb8c76f9e10311f8e0 (patch)
tree57362d5394ee8335f13974986d082c8fbe94ea45 /ldso/ldso/avr32/elfinterp.c
parent47f3da1cf49377c25772bb54d07db55225bbb142 (diff)
ldso: silence harmless warning for !LDSO_PRELINK_SUPPORT
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'ldso/ldso/avr32/elfinterp.c')
-rw-r--r--ldso/ldso/avr32/elfinterp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ldso/ldso/avr32/elfinterp.c b/ldso/ldso/avr32/elfinterp.c
index c3c5b4907..dd17fdc87 100644
--- a/ldso/ldso/avr32/elfinterp.c
+++ b/ldso/ldso/avr32/elfinterp.c
@@ -149,9 +149,10 @@ static int _dl_do_reloc(struct elf_resolve *tpnt, struct r_scope_elem *scope,
_dl_progname, symname);
return 0;
}
- if (_dl_trace_prelink)
+ if (_dl_trace_prelink) {
_dl_debug_lookup (symname, tpnt, &symtab[symtab_index],
&sym_ref, elf_machine_type_class(reloc_type));
+ }
}
#if defined(__SUPPORT_LD_DEBUG__)