Commit e41dbb50 authored by Bin Meng's avatar Bin Meng Committed by Anup Patel
Browse files

firmware: Change to use positive offset to access relocation entries



The codes currently skip the very first relocation entry, but later
reference the elements in the relocation entry using minus offsets.

Change to use positive offsets so that there is no need to skip the
first relocation entry.

Signed-off-by: default avatarBin Meng <bmeng@tinylab.org>
Reviewed-by: default avatarAnup Patel <anup@brainfault.org>
Reviewed-by: default avatarXiang W <wxjstz@126.com>
parent f692289e
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment