Re: [PATCH] objtool: Fix seg fault with Clang non-section symbols

2020-12-16 Thread Miroslav Benes
On Mon, 14 Dec 2020, Josh Poimboeuf wrote: > 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

[PATCH] objtool: Fix seg fault with Clang non-section symbols

2020-12-14 Thread Josh Poimboeuf
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