Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1260855 > unrolled thread

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

Started bySteven Rostedt <rostedt@goodmis.org>
First post2015-11-02 19:30 +0100
Last post2015-11-02 20:40 +0100
Articles 3 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH] recordmcount: arm64: replace the ignored mcount call  into nop Steven Rostedt <rostedt@goodmis.org> - 2015-11-02 19:30 +0100
    Re: [PATCH] recordmcount: arm64: replace the ignored mcount call  into nop Will Deacon <will.deacon@arm.com> - 2015-11-02 19:30 +0100
      Re: [PATCH] recordmcount: arm64: replace the ignored mcount call  into nop Steven Rostedt <rostedt@goodmis.org> - 2015-11-02 20:40 +0100

#1260855 — Re: [PATCH] recordmcount: arm64: replace the ignored mcount call into nop

FromSteven Rostedt <rostedt@goodmis.org>
Date2015-11-02 19:30 +0100
SubjectRe: [PATCH] recordmcount: arm64: replace the ignored mcount call into nop
Message-ID<qqs1H-e7-1@gated-at.bofh.it>
On Fri, 30 Oct 2015 14:00:28 +0800
libin <huawei.libin@huawei.com> wrote:

> 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?

-- Steve
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [next] | [standalone]


#1260860

FromWill Deacon <will.deacon@arm.com>
Date2015-11-02 19:30 +0100
Message-ID<qqs1I-e7-29@gated-at.bofh.it>
In reply to#1260855
On Mon, Nov 02, 2015 at 01:26:08PM -0500, Steven Rostedt wrote:
> On Fri, 30 Oct 2015 14:00:28 +0800
> libin <huawei.libin@huawei.com> wrote:
> 
> > 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@huawei.com

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

Will
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [next] | [standalone]


#1260907

FromSteven Rostedt <rostedt@goodmis.org>
Date2015-11-02 20:40 +0100
Message-ID<qqt7s-R4-15@gated-at.bofh.it>
In reply to#1260860
On Mon, 2 Nov 2015 18:28:37 +0000
Will Deacon <will.deacon@arm.com> wrote:

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

Why yes I am!

Trying to grab last minute patches from my INBOX (or they could be old
patches that I just missed), before kicking off my 12 hour test suite.

-- Steve
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web