Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
recordmcount: Fix endianness handling bug for nop_mcount
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. Link: http://lkml.kernel.org/r/[email protected] Cc: <[email protected]> # 3.0+ Signed-off-by: Li Bin <[email protected]> Signed-off-by: Steven Rostedt <[email protected]>
- Loading branch information