[PATCH 0/5] x86: CVE-2017-5715, aka Spectre
H.J. Lu
hjl.tools@gmail.com
Sun Jan 14 22:39:00 GMT 2018
On Sun, Jan 14, 2018 at 2:09 PM, David Woodhouse <dwmw2@infradead.org> wrote:
> On Sun, 2018-01-14 at 14:03 -0800, H.J. Lu wrote:
>>
>> > And *that* was the point at which I asked HJ to just use the proper
>> > bloody register names :)
>>
>> Please let me know if I should make the change to ax,..., r8,..r15.
>
> This is what I'm building my compiler with now, to make that change:
> http://git.infradead.org/users/dwmw2/gcc-retpoline.git/shortlog/refs/heads/retpoline-regnames
>
> At this point I'm inclined to suggest we don't make the change. I'll
> finish and test it anyway. I *can* change my GENERATE_THUNK macro to
> take two arguments — the suffix of the thunk name, and the register
> name to use. That lets me ditch the clever but ugly loop trick.
>
> I *did* want to get this file back to using .irp in the end, by fixing
> up other kernel infrastructure to do things properly. But I can live
> without that too if I must.
Please use this GCC patch instead.
--
H.J.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-x86-Change-register-names-in-__x86_indirect_thunk_re.patch
Type: text/x-patch
Size: 27208 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20180114/43b5cfae/attachment.bin>
More information about the Gcc-patches
mailing list