1. 27 Nov, 2020 1 commit
    • Jinyang He's avatar
      MIPS: KASLR: Correct valid bits in apply_r_mips_26_rel() · 74a2810b
      Jinyang He authored
      Apply_r_mips_26_rel() relocates instructions like j, jal and etc. These
      instructions consist of 6bits function field and 26bits address field.
      The value of target_addr as follows,
      =================================================================
      |     high 4bits           |            low 28bits              |
      =================================================================
      |the high 4bits of this PC | the low 26bits of instructions << 2|
      =================================================================
      Thus, loc_orig and log_new both need high 4bits rather than high 6bits.
      Signed-off-by: default avatarJinyang He <hejinyang@loongson.cn>
      Signed-off-by: default avatarThomas Bogendoerfer <tsbogend@alpha.franken.de>
      74a2810b
  2. 19 Nov, 2020 6 commits
  3. 17 Nov, 2020 14 commits
  4. 12 Nov, 2020 16 commits
  5. 11 Nov, 2020 3 commits