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


Groups > linux.kernel > #1260855

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

From Steven Rostedt <rostedt@goodmis.org>
Newsgroups linux.kernel
Subject Re: [PATCH] recordmcount: arm64: replace the ignored mcount call into nop
Date 2015-11-02 19:30 +0100
Message-ID <qqs1H-e7-1@gated-at.bofh.it> (permalink)
References <qotXZ-8vm-43@gated-at.bofh.it> <qoVAS-KM-33@gated-at.bofh.it> <qoWZX-1Pg-7@gated-at.bofh.it> <qpb2V-2b7-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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/

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

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

csiph-web