Re: [Tinycc-devel] Small bug: Uncalled null function pointer literal makes code unlinkable

2018-07-01 Thread Michael Matz
Hi, On Tue, 26 Jun 2018, Petr Skočík wrote: Hi. I came across this little bug. It's not a showstopper for me but I thought I'd report it in case somebody knows a quick fix. example:c.c: void y(void); #define x ((void(*)(void))0) void call_x() { x?x():y(); } compiling and attempted

Re: [Tinycc-devel] Overflows in the dynamic linker on x86_64 when using a tcc-built shared library along with others

2018-07-01 Thread Michael Matz
Hi, On Thu, 28 Jun 2018, Petr Skocik wrote: Symbol `__dso_handle' causes overflow in R_X86_64_PC32 relocation Symbol `fstatat' causes overflow in R_X86_64_PC32 relocation Symbol `fstat' causes overflow in R_X86_64_PC32 relocation Symbol `mknod' causes overflow in R_X86_64_PC32 relocation