[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Tinycc-devel] RUNTIME_PLTGOT question
From: |
grischka |
Subject: |
Re: [Tinycc-devel] RUNTIME_PLTGOT question |
Date: |
Thu, 27 Apr 2017 13:22:45 +0200 |
User-agent: |
Thunderbird 2.0.0.23 (Windows/20090812) |
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;
}