arm: Fix build_got_entries
This commit is contained in:
parent
f12851e388
commit
76e16465bf
1 changed files with 5 additions and 1 deletions
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)))
|
||||
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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue