summaryrefslogtreecommitdiff
path: root/ldso
diff options
context:
space:
mode:
authorVineet Gupta <Vineet.Gupta1@synopsys.com>2017-04-05 14:00:19 -0700
committerWaldemar Brodkorb <wbx@openadk.org>2017-04-08 21:44:35 +0200
commit7d8557c277f32737b139cfddf6c5395633893086 (patch)
treeca4ac6318c575c776277ede3996afdef11b33caf /ldso
parent96fcf8e7a18822279cce021d610adda6dbe2c6bc (diff)
ldso/arc: fix debug prints
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'ldso')
-rw-r--r--ldso/ldso/arc/elfinterp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ldso/ldso/arc/elfinterp.c b/ldso/ldso/arc/elfinterp.c
index 1b5b65115..5a02bc234 100644
--- a/ldso/ldso/arc/elfinterp.c
+++ b/ldso/ldso/arc/elfinterp.c
@@ -179,8 +179,8 @@ _dl_do_reloc(struct elf_resolve *tpnt, struct r_scope_elem *scope,
log_entry:
#if defined __SUPPORT_LD_DEBUG__
if (_dl_debug_detail)
- _dl_dprintf(_dl_debug_file,"\tpatched: %lx ==> %lx @ %pl: addend %x ",
- old_val, *reloc_addr, reloc_addr, rpnt->r_addend);
+ _dl_dprintf(_dl_debug_file,"\tpatched: %x ==> %x @ %x",
+ old_val, *reloc_addr, reloc_addr);
#endif
return 0;
@@ -215,7 +215,7 @@ _dl_do_lazy_reloc(struct elf_resolve *tpnt, struct r_scope_elem *scope,
#if defined __SUPPORT_LD_DEBUG__
if (_dl_debug_reloc && _dl_debug_detail)
- _dl_dprintf(_dl_debug_file, "\tpatched: %lx ==> %lx @ %pl\n",
+ _dl_dprintf(_dl_debug_file, "\tpatched: %x ==> %x @ %x\n",
old_val, *reloc_addr, reloc_addr);
#endif