arm: Fix build_got_entries

master
Thomas Stalder 2017-04-27 14:16:49 +02:00
parent f12851e388
commit 76e16465bf
1 changed files with 5 additions and 1 deletions

View File

@ -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;
}