From: Vineet.Gupta1@synopsys.com (Vineet Gupta)
To: linux-snps-arc@lists.infradead.org
Subject: [PATCH] ldso/arc: fix debug prints
Date: Wed, 5 Apr 2017 14:00:19 -0700 [thread overview]
Message-ID: <1491426019-17377-1-git-send-email-vgupta@synopsys.com> (raw)
Signed-off-by: Vineet Gupta <vgupta at synopsys.com>
---
ldso/ldso/arc/elfinterp.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/ldso/ldso/arc/elfinterp.c b/ldso/ldso/arc/elfinterp.c
index 2f0cf7f6635b..c164d5dae6bf 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
--
2.7.4
next reply other threads:[~2017-04-05 21:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-04-05 21:00 Vineet Gupta [this message]
2017-04-11 20:09 ` [uclibc-ng-devel] [PATCH] ldso/arc: fix debug prints Waldemar Brodkorb
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1491426019-17377-1-git-send-email-vgupta@synopsys.com \
--to=vineet.gupta1@synopsys.com \
--cc=linux-snps-arc@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.