[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Tinycc-devel] [PATCH] arm: Handle __builtin_frame_address(1) correc
From: |
Thomas Preud'homme |
Subject: |
Re: [Tinycc-devel] [PATCH] arm: Handle __builtin_frame_address(1) correctly |
Date: |
Sat, 26 Jan 2013 20:43:20 +0100 |
User-agent: |
KMail/1.13.7 (Linux/3.2.0-4-amd64; KDE/4.8.4; x86_64; ; ) |
Le samedi 5 janvier 2013 16:50:32, Thomas Preud'homme a écrit :
> What would you think of this simpler patch instead? It works on you fp.c
> code at least and it should work for any level.
>
> It's a simple proof of concept as of now because I'm not sure how the
> addresses of local variables are stored in tcc. Thus, I'm not sure that
> this doesn't break access to local variables as it is now. But if it does,
> it shouldn't be hard to fix the patch.
>
> Best regards,
>
> Thomas
I went ahead and commited it in mob. I found one bug in the returning of
structs which I fixed but except that everything seems to work well. Go ahead
and test now and if you notice anything I'll revert it. I plan to do the
release as soon as I manage to fix the bug about aligning the stack on a 8
bytes boundary on ARM. I'm hopeful it'll be done by tomorrow so try to test
that before tomorrow.
Best regards,
Thomas Preud'homme
signature.asc
Description: This is a digitally signed message part.