tinycc-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Tinycc-devel] forward asm symbols vs static


From: avih
Subject: Re: [Tinycc-devel] forward asm symbols vs static
Date: Thu, 23 Nov 2017 21:43:55 +0000 (UTC)

I can confirm that with this version of the file the asm test (and all other tests) pass both with tcc32 and tcc64, regardless if it was built with gcc or tcc, and regardless of build/test procedure.


On Thursday, November 23, 2017 10:17 PM, grischka <address@hidden> wrote:


avih wrote:
> - tcc 64 fails the asm tests (again, all versions regardless of how it was built).

Different calling convention on win64.  I'd suggest the attached
version which is more platform neutral.

-- gr


>    On Thursday, November 23, 2017 8:17 PM, grischka <address@hidden> wrote:

>
>  I've seen a segfault under some other circumstances on linux 64.
>
> Using "lea str(%rip),%rdi" instead of "mov $str,%rdi" in asm-c-connect-1.c
> did fix it.  (I can't tell right now whether that is expected behavior or
> points to a bug though.)
>
> Also I noticed that apparently 'U' is a string prefix in newer gcc versions.
> (Don't know, maybe for unicode?).
>
> Btw, what about the "vide" hack on tccasm.c:1020 from commit 6afe668ec
> Can we delete it?
>
> Ciao,
>
> --- grischka
>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]