[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Tinycc-devel] Dollar Sign in Identifiers Extension
From: |
Ramsay Jones |
Subject: |
Re: [Tinycc-devel] Dollar Sign in Identifiers Extension |
Date: |
Mon, 13 Apr 2015 21:34:04 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 |
On 13/04/15 17:51, Daniel Holden wrote:
> Hi Ramsey,
>
> Thanks for trying it. The patch I made is from stable download here
> http://bellard.org/tcc/ Sorry if that is wrong. Where can I get the mob
> branch?
>
Ah, OK.
The current master branch is tagged as 'release_0_9_26'.
The git repository for tinycc can be obtained from repo.or.zc:
$ git clone git://repo.or.cz/tinycc.git
Cloning into 'tinycc'...
remote: Counting objects: 7112, done.
remote: Compressing objects: 100% (2158/2158), done.
Receiving objects: 100% (7112/7112), 3.00 MiB | 964.00 KiB/s, done.
remote: Total 7112 (delta 4962), reused 7002 (delta 4890)
Resolving deltas: 100% (4962/4962), done.
Checking connectivity... done.
$ cd tinycc
$ git branch -v
* mob a13f183 ability to compile multiple *.c files with -c switch
$ git branch -rv
origin/HEAD -> origin/mob
origin/master d5e2210 Release TinyCC 0.9.26
origin/mob a13f183 ability to compile multiple *.c files with -c
switch
origin/mob-stuff bfa394d Move bounds-checking code to a bcheck.a
origin/tcc-xref ab24b28 tcc xref experiment
$ git branch master origin/master
Branch master set up to track remote branch master from origin.
$ git branch -v
master d5e2210 Release TinyCC 0.9.26
* mob a13f183 ability to compile multiple *.c files with -c switch
$
BTW, I get identical results on a 32-bit system. Also, the asmtest
looks like this:
$ make -C tests asmtest
...
------------ asmtest ------------
../tcc -B.. -c asmtest.S
objdump -D asmtest.o > asmtest.out
--- asmtest.ref 2015-04-13 20:11:34.856115487 +0100
+++ asmtest.out 2015-04-13 20:26:28.668071775 +0100
@@ -57,7 +57,7 @@
5d: 90 nop
5e: 90 nop
5f: 90 nop
- 60: a1 5c 00 00 00 mov 0x5c,%eax
+ 60: a1 00 00 00 00 mov 0x0,%eax
65: 89 c3 mov %eax,%ebx
67: a1 00 00 01 00 mov 0x10000,%eax
6c: 66 a1 00 00 01 00 mov 0x10000,%ax
@@ -167,7 +167,7 @@
1fe: f6 05 00 10 00 00 01 testb $0x1,0x1000
205: 66 f7 05 00 10 00 00 testw $0x1,0x1000
20c: 01 00
- 20e: 85 c3 test %eax,%ebx
+ 20e: 85 d8 test %ebx,%eax
210: 85 05 00 10 00 00 test %eax,0x1000
216: 85 15 00 10 00 00 test %edx,0x1000
21c: f7 d2 not %edx
make: Leaving directory `/home/ramsay/tinycc/tests'
$
HTH
ATB,
Ramsay Jones
- Re: [Tinycc-devel] Dollar Sign in Identifiers Extension, (continued)
- Re: [Tinycc-devel] Dollar Sign in Identifiers Extension, Daniel Holden, 2015/04/10
- Re: [Tinycc-devel] Dollar Sign in Identifiers Extension, Sergey Korshunoff, 2015/04/10
- Re: [Tinycc-devel] Dollar Sign in Identifiers Extension, Sergey Korshunoff, 2015/04/10
- Re: [Tinycc-devel] Dollar Sign in Identifiers Extension, Thomas Preud'homme, 2015/04/11
- Re: [Tinycc-devel] Dollar Sign in Identifiers Extension, Daniel Holden, 2015/04/11
- Re: [Tinycc-devel] Dollar Sign in Identifiers Extension, Sergey Korshunoff, 2015/04/11
- Re: [Tinycc-devel] Dollar Sign in Identifiers Extension, Daniel Holden, 2015/04/13
- Re: [Tinycc-devel] Dollar Sign in Identifiers Extension, Ramsay Jones, 2015/04/13
- Re: [Tinycc-devel] Dollar Sign in Identifiers Extension, Ramsay Jones, 2015/04/13
- Re: [Tinycc-devel] Dollar Sign in Identifiers Extension, Daniel Holden, 2015/04/13
- Re: [Tinycc-devel] Dollar Sign in Identifiers Extension,
Ramsay Jones <=
- Re: [Tinycc-devel] Dollar Sign in Identifiers Extension, Sergey Korshunoff, 2015/04/13
- Re: [Tinycc-devel] Dollar Sign in Identifiers Extension, Ramsay Jones, 2015/04/14
- Re: [Tinycc-devel] Dollar Sign in Identifiers Extension, Daniel Holden, 2015/04/14
- Re: [Tinycc-devel] Dollar Sign in Identifiers Extension, Ramsay Jones, 2015/04/14
- Re: [Tinycc-devel] Dollar Sign in Identifiers Extension, Sergey Korshunoff, 2015/04/16
- Re: [Tinycc-devel] Dollar Sign in Identifiers Extension, Daniel Holden, 2015/04/16
- Re: [Tinycc-devel] Dollar Sign in Identifiers Extension, Thomas Preud'homme, 2015/04/11
- Re: [Tinycc-devel] Dollar Sign in Identifiers Extension, Sergey Korshunoff, 2015/04/11
- Re: [Tinycc-devel] Dollar Sign in Identifiers Extension, Daniel Holden, 2015/04/11
- Re: [Tinycc-devel] Nested functions (was: Dollar Sign in Identifiers Extension), u-tcc-uepj, 2015/04/11