tinycc/tests
Michael Matz d79caa9ff6 x86-64: Fix calls via absolute function pointers
linkers don't treat relocations using symindex 0 (undefined)
very well, it can't be misused as indicator for an absolute number.
Just don't bother with special casing this, rather emit an indirect
call/jump right away. ARM64 needs the same (and didn't handle
calls via constant absolute func pointers before).

The testcase as is doesn't fail without the patch, it actually
needs separate compilation (to -fPIC .o file, then to shared lib)
to fail.
2018-07-02 01:57:29 +02:00
..
pp Add make testspp.all/testspp.20 2018-01-05 02:19:26 +01:00
tests2 x86-64: Fix calls via absolute function pointers 2018-07-02 01:57:29 +02:00
42test.h tccpp: Allow computed include like 42.h 2016-12-15 17:47:10 +01:00
Makefile Remove asm-c-connect-sep in tests clean target 2018-03-09 20:10:36 +00:00
abitest.c Spelling fixes 2017-09-24 18:03:26 -07:00
asm-c-connect-1.c final update for 0.9.27 2017-12-12 17:57:20 +01:00
asm-c-connect-2.c final update for 0.9.27 2017-12-12 17:57:20 +01:00
asmtest.S tccasm: Accept suffixed cmovCC 2017-12-03 04:53:50 +01:00
boundtest.c a bounds checking code for the ARCH=x86_64 2015-04-10 15:17:22 +03:00
gcctestsuite.sh Fix bashims in configure and gcctestsuite.sh. 2010-05-26 14:08:29 +02:00
libtcc_test.c tests: OOT build fixes etc. 2016-12-20 18:05:33 +01:00
tcctest.c Implement function alignment via attributes 2018-04-06 23:02:42 +02:00
tcctest.h tccpp: Implement __BASE_FILE__ macro 2016-12-15 17:47:08 +01:00
testfp.c Remove misc. files 2016-10-01 20:27:41 +02:00
vla_test.c Improved variable length array support. 2013-04-27 22:58:52 +01:00