Thread (10 messages) flat view 10 messages, 5 authors, 2015-11-02

[PATCH] recordmcount: arm64: replace the ignored mcount call into nop

From: Will Deacon <hidden>
Date: 2015-11-02 18:28:42
Also in: lkml

On Mon, Nov 02, 2015 at 01:26:08PM -0500, Steven Rostedt wrote:
On Fri, 30 Oct 2015 14:00:28 +0800
libin [off-list ref] wrote:
quoted
It is a bug in nop_mcount:
...
if (mcountsym == Elf_r_sym(relp) && !is_fake_mcount(relp)) {
        if (make_nop) {
                ret = make_nop((void *)ehdr, shdr->sh_offset + relp->r_offset);
        }
...

shdr->sh_offset and welp->r_offset should handle endianness properly as _w(shdr->sh_offset)/
_w(relp->r_offset). I will post a patchset including this patch soon.
Has this been fixed yet?
  http://lkml.kernel.org/r/1446193864-24593-1-git-send-email-huawei.libin at huawei.com

I see you're playing "chase the patches" at the moment ;)

Will
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help