[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Tinycc-devel] Commit 'x86-64: Fix calls via absolute function point
From: |
Christian Jullien |
Subject: |
Re: [Tinycc-devel] Commit 'x86-64: Fix calls via absolute function pointers' makes 07 test fail on ARM |
Date: |
Thu, 20 Dec 2018 08:48:17 +0100 |
Until someone sees what happens, I removed zfunc test on 07_function.c for
ARM platform. Hope its Ok
#if !defined(__ARMEL__)
/*
* At least on ARM (like RPi), zfunc below fails with something like:
* +tcc: error: can't relocate value at 1ef93bc,1
* Test is temporary removed for this architecture until ARM maintainers
* see what happens with this test.
*/
void zfunc()
{
((void (*)(void))0) ();
}
#endif
From: Tinycc-devel [mailto:address@hidden
On Behalf Of Christian Jullien
Sent: mardi 11 décembre 2018 08:53
To: address@hidden
Subject: [Tinycc-devel] Commit 'x86-64: Fix calls via absolute function
pointers' makes 07 test fail on ARM
Michael made this patch x86-64: Fix calls via absolute function pointers
for x86-64 and ARM64.
On ARM 32bits (as RPi), test 07 fails:
Test: 07_function...
--- 07_function.expect 2018-07-02 01:57:29.000000000 +0200
+++ 07_function.output 2018-12-11 08:42:22.439364314 +0100
@@ -1,4 +1 @@
-9
-16
-a=1234
-qfunc()
+tcc: error: can't relocate value at 1593bc,1
Michael, can you please have a look?
Tia.