]> git.baikalelectronics.ru Git - uboot.git/commit
riscv: update fix_rela_dyn
authorMarcus Comstedt <marcus@mc.pp.se>
Sun, 11 Aug 2019 12:45:29 +0000 (14:45 +0200)
committerAndes <uboot@andestech.com>
Tue, 3 Sep 2019 01:30:41 +0000 (09:30 +0800)
commit155a2d0b3206210ad7623d54d492fe6225d70c47
tree09eb9cfd8d9c586a6b8143a1f7816676168413e5
parent55e868bd3c9325b699e3e83b1e4ab0e6cdea4df7
riscv: update fix_rela_dyn

The addend is now added for RELOC_TYPE relocs.  Also, changed the loop
structure so that all the R_RISCV_RELATIVE relocs are not required to
be at the beginning of the list.

Signed-off-by: Marcus Comstedt <marcus@mc.pp.se>
Cc: Rick Chen <rick@andestech.com>
arch/riscv/cpu/start.S