aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/compiler-gcc.h
diff options
context:
space:
mode:
authorLi Hong <lihong.hi@gmail.com>2009-10-28 13:07:43 +0800
committerSteven Rostedt <rostedt@goodmis.org>2009-10-29 15:11:57 -0400
commitc4b8ac2c1aee1398b9378b8730bac56294b3410b (patch)
tree10a8cb1fa3510da16aa5be4a895b300cf778ed12 /include/linux/compiler-gcc.h
parenttracing: Move conditional into update_funcs() in recordmcount.pl (diff)
downloadlinux-dev-c4b8ac2c1aee1398b9378b8730bac56294b3410b.tar.xz
linux-dev-c4b8ac2c1aee1398b9378b8730bac56294b3410b.zip
tracing: Exit with error if a weak function is used in recordmcount.pl
If a weak function is used as a relocation reference for mcount callers and that function is overridden, it will cause ftrace to fail at run time. The current code should prevent a weak function from being used, but if one is, the code should exit with an error to fail at compile time. Signed-off-by: Li Hong <lihong.hi@gmail.com> LKML-Reference: <20091028050743.GH30758@uhli> Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'include/linux/compiler-gcc.h')
0 files changed, 0 insertions, 0 deletions