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>

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/intel/Makefile.files
          +++ new/usr/src/uts/intel/Makefile.files
↓ open down ↓ 45 lines elided ↑ open up ↑
  46   46          desctbls.o      \
  47   47          desctbls_asm.o  \
  48   48          exception.o     \
  49   49          float.o         \
  50   50          fmsmb.o         \
  51   51          fpu.o           \
  52   52          i86_subr.o      \
  53   53          lock_prim.o     \
  54   54          ovbcopy.o       \
  55   55          polled_io.o     \
       56 +        retpoline.o     \
  56   57          sseblk.o        \
  57   58          sundep.o        \
  58   59          swtch.o         \
  59   60          sysi86.o
  60   61  
       62 +DBOOT_OBJS +=           \
       63 +        retpoline.o
       64 +
  61   65  #
  62   66  # 64-bit multiply/divide compiler helper routines
  63   67  # used only for ia32
  64   68  #
  65   69  
  66   70  SPECIAL_OBJS_32 +=      \
  67   71          muldiv.o
  68   72  
  69   73  #
  70   74  #       Generic-unix Module
↓ open down ↓ 274 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX