[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [Tinycc-devel] libtcc not working properly on x86-64 targets
From: |
Michael Kuklinski |
Subject: |
RE: [Tinycc-devel] libtcc not working properly on x86-64 targets |
Date: |
Mon, 21 Dec 2009 14:13:26 -0600 |
I'm saying that that's the effect I'm getting -- I'm using the latest Master,
and functions that I pass as symbols in 64-bit mode are having their addresses
truncated to 32 bits. I don't know where it is occurring in code.
-----Original Message-----
From: grischka <address@hidden>
Sent: Monday, December 21, 2009 1:10 PM
To: address@hidden
Subject: Re: [Tinycc-devel] libtcc not working properly on x86-64 targets
Michael Kuklinski wrote:
> I'm using the master version.
AFAIK there aren't any "cast to uint_32 from void*" in the master
branch.
--- grischka
>
> -----Original Message-----
> From: grischka <address@hidden>
> Sent: Monday, December 21, 2009 11:33 AM
> To: address@hidden
> Subject: Re: [Tinycc-devel] libtcc not working properly on x86-64 targets
>
> Michael Kuklinski wrote:
>> I did fix several bugs in the adding of the symbol that were equivalent
>> to a cast to uint_32 from void*, however the system is still treating it
>> as a 32-bit address -- for instance, if I pass it 0xAABBCCDD11223344, I
>> get an access exception on 0x0000000011223344. Is it possible that
>> TinyCC is simply compiling the function call with a 32-bit instructon?
>
> master version is here:
> http://repo.or.cz/w/tinycc.git
>
> --- grischka
_______________________________________________
Tinycc-devel mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/tinycc-devel