summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBin Meng <[email protected]>2023-04-04 12:46:00 +0800
committerAnup Patel <[email protected]>2023-04-17 08:55:49 +0530
commitf692289ed42882567491c35700a1feb64ba540b5 (patch)
tree4c60927e2a31c10042437f274984bacec02347c6
parenteeab500a65d8a576874b36653a02c864e515b5e2 (diff)
firmware: Optimize loading relocation type
't5' already contains relocation type so don't bother reloading it. Signed-off-by: Bin Meng <[email protected]> Reviewed-by: Anup Patel <[email protected]> Reviewed-by: Xiang W <[email protected]>
-rw-r--r--firmware/fw_base.S1
1 files changed, 0 insertions, 1 deletions
diff --git a/firmware/fw_base.S b/firmware/fw_base.S
index 5a3e8948..2d6be70e 100644
--- a/firmware/fw_base.S
+++ b/firmware/fw_base.S
@@ -95,7 +95,6 @@ _try_lottery:
lla t4, __dyn_sym_start
4:
- REG_L t5, -(REGBYTES*2)(t0) /* t5 <-- relocation info:type */
srli t6, t5, SYM_INDEX /* t6 <--- sym table index */
andi t5, t5, 0xFF /* t5 <--- relocation type */
li t3, RELOC_TYPE