Please checkout patches for GCC 7: https://github.com/hjl-tools/gcc/commits/hjl/indirect/gcc-7-branch/master
For GCC trunk: https://github.com/hjl-tools/gcc/commits/hjl/indirect/master H.J. > -----Original Message----- > From: David Woodhouse [mailto:[email protected]] > Sent: Sunday, January 07, 2018 9:33 AM > To: Lu, Hongjiu <[email protected]>; Andi Kleen <[email protected]>; > Van De Ven, Arjan <[email protected]>; Tsimbalist, Igor V > <[email protected]> > Cc: Paul Turner <[email protected]>; LKML <[email protected]>; > Linus Torvalds <[email protected]>; Greg Kroah-Hartman > <[email protected]>; Tim Chen <[email protected]>; > Hansen, Dave <[email protected]>; [email protected]; Kees Cook > <[email protected]>; Rik van Riel <[email protected]>; Peter Zijlstra > <[email protected]>; Andy Lutomirski <[email protected]>; Jiri > Kosina <[email protected]>; [email protected] > Subject: Re: [RFC PATCH 13/12] Retpoline vs. > CONFIG_TRIM_UNUSED_SYMBOLS > > 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.

