Remove FAR from arm/risc-v/xtensa/sim/x86

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao
2022-05-14 16:01:52 +08:00
committed by Petro Karashchenko
parent f905563cc9
commit 51cf7ba05a
36 changed files with 136 additions and 147 deletions
+3 -4
View File
@@ -202,7 +202,7 @@ static void _calc_imm(long offset, long *imm_hi, long *imm_lo)
*
****************************************************************************/
bool up_checkarch(FAR const Elf_Ehdr *ehdr)
bool up_checkarch(const Elf_Ehdr *ehdr)
{
/* Make sure it's an RISCV executable */
@@ -270,14 +270,13 @@ bool up_checkarch(FAR const Elf_Ehdr *ehdr)
*
****************************************************************************/
int up_relocate(FAR const Elf_Rel *rel, FAR const Elf_Sym *sym,
uintptr_t addr)
int up_relocate(const Elf_Rel *rel, const Elf_Sym *sym, uintptr_t addr)
{
berr("Not implemented\n");
return -ENOSYS;
}
int up_relocateadd(FAR const Elf_Rela *rel, FAR const Elf_Sym *sym,
int up_relocateadd(const Elf_Rela *rel, const Elf_Sym *sym,
uintptr_t addr)
{
long offset;