Adjust testcase for PIE compilers
commit330c01bfc6fa6721fd455911a966bce041df31d8
authorMichael Matz <matz@suse.de>
Sun, 19 Nov 2017 14:36:47 +0000 (19 15:36 +0100)
committerMichael Matz <matz@suse.de>
Sun, 19 Nov 2017 14:36:47 +0000 (19 15:36 +0100)
treeea394ccbbac5a3c8ad543d1eaf995b3b36ac5dae
parentd0db21757afc625a6299aec51cbc282f36abb85f
Adjust testcase for PIE compilers

one some systems GCC defaults to PIC/PIE code which is incompatible
with a unannotated asm call to a function (getenv here).  TCC doesn't
support these PIC annotations (yet), so play some pre-processor games.
tests/tcctest.c