mirror of
https://github.com/mirror/tinycc.git
synced 2025-03-04 08:20:12 +08:00
OpenBSD: arm support typo (WIP)
This commit is contained in:
parent
96e3923239
commit
13f6e8a866
@ -384,7 +384,7 @@ void relocate(TCCState *s1, ElfW_Rel *rel, int type, unsigned char *ptr, addr_t
|
|||||||
esym_index = get_sym_attr(s1, sym_index, 0)->dyn_index;
|
esym_index = get_sym_attr(s1, sym_index, 0)->dyn_index;
|
||||||
qrel->r_offset = rel->r_offset;
|
qrel->r_offset = rel->r_offset;
|
||||||
if (esym_index) {
|
if (esym_index) {
|
||||||
qrel->r_info = ELFW(R_INFO)(esym_index, R_ARM_TARGET1);
|
qrel->r_info = ELFW(R_INFO)(esym_index, R_ARM_ABS32);
|
||||||
qrel++;
|
qrel++;
|
||||||
return;
|
return;
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user