mirror of
git://repo.or.cz/tinycc.git
synced 2026-07-01 09:08:40 +08:00
arm: Fix build_got_entries
This commit is contained in:
parent
f12851e388
commit
76e16465bf
6
tccelf.c
6
tccelf.c
@ -989,7 +989,11 @@ ST_FUNC void build_got_entries(TCCState *s1)
|
|||||||
&& ELFW(ST_TYPE)(sym->st_info) == STT_FUNC)))
|
&& ELFW(ST_TYPE)(sym->st_info) == STT_FUNC)))
|
||||||
goto jmp_slot;
|
goto jmp_slot;
|
||||||
}
|
}
|
||||||
} else if (!(sym->st_shndx == SHN_ABS && PTR_SIZE == 8))
|
} else if (!(sym->st_shndx == SHN_ABS
|
||||||
|
#ifndef TCC_TARGET_ARM
|
||||||
|
&& PTR_SIZE == 8
|
||||||
|
#endif
|
||||||
|
))
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user