RISC-V: Remove identity_translate from load_elf
When load_elf is called with NULL as an argument to the address translate callback, it does an identity translation. This commit removes the redundant identity_translate callback. Cc: Sagar Karandikar <sagark@eecs.berkeley.edu> Cc: Bastian Koppelmann <kbastian@mail.uni-paderborn.de> Signed-off-by: NMichael Clark <mjc@sifive.com> Signed-off-by: NPalmer Dabbelt <palmer@sifive.com> Reviewed-by: NPhilippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: NAlistair Francis <alistair.francis@wdc.com>
Showing
想要评论请 注册 或 登录