|
From: | Thomas Stalder |
Subject: | Re: [Tinycc-devel] RUNTIME_PLTGOT question |
Date: | Thu, 27 Apr 2017 14:27:35 +0200 |
Thomas Stalder wrote:
Hello,
I have made somes tests and the commit :
http://repo.or.cz/tinycc.git/commitdiff/ca92bfc3c64128872793 c167de3a58a78b9a1299
reintroduces the problem.
Try this and commit if it works and the tests pass. Thanks,
-- grischka
----------------------------------- tccelf.c ------------------------------ -----
@@ -988,9 +988,13 @@ ST_FUNC void build_got_entries(TCCState *s1)
|| (ELFW(ST_TYPE)(esym->st_info) == STT_NOTYPE
&& 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;
}
_______________________________________________
Tinycc-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/tinycc-devel
[Prev in Thread] | Current Thread | [Next in Thread] |