Thomas Stalder wrote:
Hello,

I have made somes tests and the commit :

http://repo.or.cz/tinycc.git/commitdiff/ca92bfc3c64128872793c167de3a58a78b9a1299
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
[email protected]
https://lists.nongnu.org/mailman/listinfo/tinycc-devel

Reply via email to