
20 Apr
2023
20 Apr
'23
9:46 a.m.
On Thu, Apr 13, 2023 at 02:20:05PM +0800, Bin Meng wrote:
The codes currently skip the very first relocation entry, and have an inaccurate comment "skip first reserved entry" indicating that the first entry is reserved, but later it references the elements in the first relocation entry using a minus offset.
Change to use a positive offset so that there is no need to skip the first relocation entry.
Signed-off-by: Bin Meng bmeng@tinylab.org
(no changes since v1)
arch/riscv/cpu/start.S | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-)
Reviewed-by: Leo Yu-Chi Liang ycliang@andestech.com