On Sun, 2018-01-07 at 15:09 +0000, Lu, Hongjiu wrote: > Sure, I can use __x86_indirect_thunk_rax. Great, thanks. I've made that change on top of your 20171219 patch set which is the latest I've seen, and pushed it to my tree at http://git.infradead.org/users/dwmw2/gcc-retpoline.git/shortlog/refs/heads/retpoline-20180107 I assume you'll want to redo those patches so that it's __x86_indirect_thunk_rax from the start, rather than starting with dots and then changing it, but I'll let you deal with that and push it upstream. Building compiler now, and then I'll update and simplify the kernel patches accordingly.