This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Adding soft-registers
On 8-Jan-04, at 4:56 PM, Stephane Carrez wrote:
This can be done by the linker script. You should specify a region
that
you map wherever you want on 256b boundary. Your registers/direct
addressing
global variables should be put in a section that is mapped to that
region.
Actually, it appears that the assembler/linker pair support that
already. Wunderbar! :) So it'll be pretty straightforward to take the
68hc1x code and bring it over.
James