Thomas Preud'homme wrote:
I just started but the
good news is that it's limited to the -run function. There is no problem
when compiling the example.

Ok got it. Fix attached.

diff --git a/tccelf.c b/tccelf.c
index da81d03..76a8002 100644
--- a/tccelf.c
+++ b/tccelf.c
@@ -1633,7 +1633,7 @@ static int elf_output_file(TCCState *s1, const char 
*filename)

Without knowing any details, I just notice that the proposed fix doesn't
match the analysis of the problem:  A change within elf_output_file()
has no effect for tcc -run.

--- grischka


_______________________________________________
Tinycc-devel mailing list
Tinycc-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/tinycc-devel

Reply via email to