|
From: | Georg-Johann Lay |
Subject: | Re: [avr-gcc-list] How to reserve registers |
Date: | Fri, 16 Dec 2011 23:23:45 +0100 |
User-agent: | Mozilla Thunderbird 1.0.7 (Windows/20050923) |
Omar Choudary schrieb:
Any ideas how to force GCC into not using r2-r5 at all?
Have a look at the -ffixed compiler option. You can write -ffixed-2 -ffixed-3 -ffixed-4 -ffixed-5Notice, however, that this only affects code generated by the compiler and not pre-compiled library code from your installation like libgcc, avr-libc or whatever.
[Prev in Thread] | Current Thread | [Next in Thread] |