tinycc-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Tinycc-devel] RUNTIME_PLTGOT question


From: Thomas Stalder
Subject: Re: [Tinycc-devel] RUNTIME_PLTGOT question
Date: Thu, 27 Apr 2017 14:27:35 +0200

Works. Thanks.

The patch was pushed ( http://repo.or.cz/tinycc.git/commit/76e16465bfce78a2a7bbe54470723fe4d640e1e4)

2017-04-27 13:22 GMT+02:00 grischka <address@hidden>:
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
address@hidden
https://lists.nongnu.org/mailman/listinfo/tinycc-devel


reply via email to

[Prev in Thread] Current Thread [Next in Thread]