diff options
| author | Thomas Stalder <thomas@netsolux.ch> | 2017-04-27 14:16:49 +0200 |
|---|---|---|
| committer | Thomas Stalder <thomas@netsolux.ch> | 2017-04-27 14:16:49 +0200 |
| commit | 76e16465bfce78a2a7bbe54470723fe4d640e1e4 (patch) | |
| tree | 11247e73dd4f1aa786db50dbfa8725b5c38e58bd | |
| parent | f12851e388e4df1b609a849581371d116f52a2ae (diff) | |
| download | tinycc-76e16465bfce78a2a7bbe54470723fe4d640e1e4.tar.gz tinycc-76e16465bfce78a2a7bbe54470723fe4d640e1e4.tar.bz2 | |
arm: Fix build_got_entries
| -rw-r--r-- | tccelf.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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; } |
