Print this page
11787 Kernel needs to be built with retpolines
11788 Kernel needs to generally use RSB stuffing
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: John Levon <john.levon@joyent.com>

@@ -38,10 +38,26 @@
 SYMBOL_SCOPE {
     global:
         __divdi3                        { FLAGS = EXTERN };
         __stack_chk_fail                { FLAGS = EXTERN };
         __stack_chk_guard               { FLAGS = EXTERN };
+        __x86_indirect_thunk            { FLAGS = EXTERN };
+        __x86_indirect_thunk_r10        { FLAGS = EXTERN };
+        __x86_indirect_thunk_r11        { FLAGS = EXTERN };
+        __x86_indirect_thunk_r12        { FLAGS = EXTERN };
+        __x86_indirect_thunk_r13        { FLAGS = EXTERN };
+        __x86_indirect_thunk_r14        { FLAGS = EXTERN };
+        __x86_indirect_thunk_r15        { FLAGS = EXTERN };
+        __x86_indirect_thunk_r8         { FLAGS = EXTERN };
+        __x86_indirect_thunk_r9         { FLAGS = EXTERN };
+        __x86_indirect_thunk_rax        { FLAGS = EXTERN };
+        __x86_indirect_thunk_rbp        { FLAGS = EXTERN };
+        __x86_indirect_thunk_rbx        { FLAGS = EXTERN };
+        __x86_indirect_thunk_rcx        { FLAGS = EXTERN };
+        __x86_indirect_thunk_rdi        { FLAGS = EXTERN };
+        __x86_indirect_thunk_rdx        { FLAGS = EXTERN };
+        __x86_indirect_thunk_rsi        { FLAGS = EXTERN };
         allocb                          { FLAGS = EXTERN };
         assfail                         { FLAGS = EXTERN };
         assfail3                        { FLAGS = EXTERN };
         atomic_dec_32_nv                { FLAGS = EXTERN };
         bcmp                            { FLAGS = EXTERN };