aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/dmesg.py
diff options
context:
space:
mode:
authorJosh Poimboeuf <[email protected]>2020-12-14 16:04:20 -0600
committerPeter Zijlstra <[email protected]>2020-12-16 14:35:46 +0100
commit44f6a7c0755d8dd453c70557e11687bb080a6f21 (patch)
treecd4c8503c23c827428d30337e9427cdb64d36b26 /scripts/gdb/linux/dmesg.py
parent2c85ebc57b3e1817b6ce1a6b703928e113a90442 (diff)
objtool: Fix seg fault with Clang non-section symbols
The Clang assembler likes to strip section symbols, which means objtool can't reference some text code by its section. This confuses objtool greatly, causing it to seg fault. The fix is similar to what was done before, for ORC reloc generation: e81e07244325 ("objtool: Support Clang non-section symbols in ORC generation") Factor out that code into a common helper and use it for static call reloc generation as well. Reported-by: Arnd Bergmann <[email protected]> Signed-off-by: Josh Poimboeuf <[email protected]> Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Reviewed-by: Nick Desaulniers <[email protected]> Reviewed-by: Miroslav Benes <[email protected]> Link: https://github.com/ClangBuiltLinux/linux/issues/1207 Link: https://lkml.kernel.org/r/ba6b6c0f0dd5acbba66e403955a967d9fdd1726a.1607983452.git.jpoimboe@redhat.com
Diffstat (limited to 'scripts/gdb/linux/dmesg.py')
0 files changed, 0 insertions, 0 deletions