recordmcount: x86: Assign a meaningful value to rel_type_nop
authorLi Bin <huawei.libin@huawei.com>
Wed, 28 Oct 2015 08:23:26 +0000 (16:23 +0800)
committerSteven Rostedt <rostedt@goodmis.org>
Mon, 2 Nov 2015 18:34:32 +0000 (13:34 -0500)
commit46a2b61ecb286dddb4efa73b119fec54e1576efe
tree936187fd9d1d94a8f67a2b41f00f9de02f83ecc7
parent799fd44cf5bbcc51c46b674035bfc49cbf6907ba
recordmcount: x86: Assign a meaningful value to rel_type_nop

Although, the default value of rel_type_nop is zero, and the value
of R_386_NONE/R_X86_64_NONE is zero too, but it should be assigned
a meaningful value explicitly, otherwise it looks confused.

Assign R_386_NONE to rel_type_nop for 386, assign R_X86_64_NONE
to rel_type_nop for x86_64.

Link: http://lkml.kernel.org/r/1446020606-16352-1-git-send-email-huawei.libin@huawei.com
Signed-off-by: Li Bin <huawei.libin@huawei.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
scripts/recordmcount.c