Re: [PATCH 1/3] recordmcount: fix endianness handling bug for nop_mcount

2015-11-02 Thread Steven Rostedt
On Sat, 31 Oct 2015 10:07:38 +0800 libin wrote: > > > on 2015/10/30 22:35, Sergei Shtylyov wrote: > > Hello. > > > > On 10/30/2015 11:31 AM, Li Bin wrote: > > > >> In nop_mcount, shdr->sh_offset and welp->r_offset should handle > >> endianness properly, otherwise it will trigger Segmentation

Re: [PATCH 1/3] recordmcount: fix endianness handling bug for nop_mcount

2015-11-02 Thread Steven Rostedt
On Sat, 31 Oct 2015 10:07:38 +0800 libin wrote: > > > on 2015/10/30 22:35, Sergei Shtylyov wrote: > > Hello. > > > > On 10/30/2015 11:31 AM, Li Bin wrote: > > > >> In nop_mcount, shdr->sh_offset and welp->r_offset should handle > >> endianness properly, otherwise it

Re: [PATCH 1/3] recordmcount: fix endianness handling bug for nop_mcount

2015-10-30 Thread libin
on 2015/10/30 22:35, Sergei Shtylyov wrote: > Hello. > > On 10/30/2015 11:31 AM, Li Bin wrote: > >> In nop_mcount, shdr->sh_offset and welp->r_offset should handle >> endianness properly, otherwise it will trigger Segmentation fault >> if the recordmcount main and file.o have different

Re: [PATCH 1/3] recordmcount: fix endianness handling bug for nop_mcount

2015-10-30 Thread Sergei Shtylyov
Hello. On 10/30/2015 11:31 AM, Li Bin wrote: In nop_mcount, shdr->sh_offset and welp->r_offset should handle endianness properly, otherwise it will trigger Segmentation fault if the recordmcount main and file.o have different endianness. Cc: # 3.0+ Signed-off-by: Li Bin ---

Re: [PATCH 1/3] recordmcount: fix endianness handling bug for nop_mcount

2015-10-30 Thread libin
on 2015/10/30 16:31, Li Bin wrote: > In nop_mcount, shdr->sh_offset and welp->r_offset should handle > endianness properly, otherwise it will trigger Segmentation fault > if the recordmcount main and file.o have different endianness. > For more information, please refer to

[PATCH 1/3] recordmcount: fix endianness handling bug for nop_mcount

2015-10-30 Thread Li Bin
In nop_mcount, shdr->sh_offset and welp->r_offset should handle endianness properly, otherwise it will trigger Segmentation fault if the recordmcount main and file.o have different endianness. Cc: # 3.0+ Signed-off-by: Li Bin --- scripts/recordmcount.h | 5 +++-- 1 file changed, 3

Re: [PATCH 1/3] recordmcount: fix endianness handling bug for nop_mcount

2015-10-30 Thread libin
on 2015/10/30 16:31, Li Bin wrote: > In nop_mcount, shdr->sh_offset and welp->r_offset should handle > endianness properly, otherwise it will trigger Segmentation fault > if the recordmcount main and file.o have different endianness. > For more information, please refer to

[PATCH 1/3] recordmcount: fix endianness handling bug for nop_mcount

2015-10-30 Thread Li Bin
In nop_mcount, shdr->sh_offset and welp->r_offset should handle endianness properly, otherwise it will trigger Segmentation fault if the recordmcount main and file.o have different endianness. Cc: # 3.0+ Signed-off-by: Li Bin ---

Re: [PATCH 1/3] recordmcount: fix endianness handling bug for nop_mcount

2015-10-30 Thread libin
on 2015/10/30 22:35, Sergei Shtylyov wrote: > Hello. > > On 10/30/2015 11:31 AM, Li Bin wrote: > >> In nop_mcount, shdr->sh_offset and welp->r_offset should handle >> endianness properly, otherwise it will trigger Segmentation fault >> if the recordmcount main and file.o have different

Re: [PATCH 1/3] recordmcount: fix endianness handling bug for nop_mcount

2015-10-30 Thread Sergei Shtylyov
Hello. On 10/30/2015 11:31 AM, Li Bin wrote: In nop_mcount, shdr->sh_offset and welp->r_offset should handle endianness properly, otherwise it will trigger Segmentation fault if the recordmcount main and file.o have different endianness. Cc: # 3.0+ Signed-off-by: Li