diff options
author | Jessica Yu <[email protected]> | 2017-04-07 16:04:48 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2017-04-08 00:47:48 -0700 |
commit | d79bf21e0e02f8ad24219f0587cc599a7e67f6c6 (patch) | |
tree | 93a6daf8b09dfafce842f008b885666ed41ac6ee /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 1f06b81aea5ecba2c1f8afd87e0ba1b9f8f90160 (diff) |
vmlinux.lds: add missing VMLINUX_SYMBOL macros
When __{start,end}_ro_after_init is referenced from C code, we run into
the following build errors on blackfin:
kernel/extable.c:169: undefined reference to `__start_ro_after_init'
kernel/extable.c:169: undefined reference to `__end_ro_after_init'
The build error is due to the fact that blackfin is one of the few
arches that prepends an underscore '_' to all symbols defined in C.
Fix this by wrapping __{start,end}_ro_after_init in vmlinux.lds.h with
VMLINUX_SYMBOL(), which adds the necessary prefix for arches that have
HAVE_UNDERSCORE_SYMBOL_PREFIX.
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Jessica Yu <[email protected]>
Acked-by: Kees Cook <[email protected]>
Cc: Arnd Bergmann <[email protected]>
Cc: Eddie Kovsky <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions