[Tinycc-devel] Crashey code

2008-11-30 Thread David Lindsay
The following causes tcc itself to segfault. Yes, it's a bit of a mess, but I didn't want to touch it so the problem was reproducible. (It'll be a clock when it's finished, in case you wanted to know. :P) Compile with -lX11 -lXext -- #include string.h #include stdio.h #include stdlib.h

Re: [Tinycc-devel] Crashey code

2008-11-30 Thread shinichiro . h
The following causes tcc itself to segfault. Yes, it's a bit of a mess, but I didn't want to touch it so the problem was reproducible. I believe the following patch (for tcc-0.9.24) fixes the bug. *** tcc.c.orig Sun Nov 30 19:38:00 2008 --- tcc.c Sun Nov 30 19:37:48 2008 ***

Re: [Tinycc-devel] x86-64 port

2008-11-30 Thread grischka
shinichiro.h wrote: Please consider to contribute to our GIT repo directly. http://repo.or.cz/w/tinycc.git Thanks for the suggestion. I pushed two patches. The first one introduces ElfW macros to encapsulate the difference between Elf32 and Elf64, and REL and RELA. The second one was just