[Bug target/27556] Wrong code generation when cross compile for attiny2313
p dot mateja at sh dot cvut dot cz
gcc-bugzilla@gcc.gnu.org
Thu May 11 23:56:00 GMT 2006
------- Comment #8 from p dot mateja at sh dot cvut dot cz 2006-05-11 23:56 -------
(In reply to comment #7)
> (In reply to comment #3)
> > Pavel, the attiny2313 has 128 Bytes of SRAM.
>
> I know. But there has to be way how to address it's 2kB flash.
> I don't need the string in SRAM.
To be clear:
I have program with few calls to print(const char*) function. It's reporting
some messages to UART.
And the program is working just in case when all in the program strings in
total have less than 128 bytes.
I have tried to divide the printings to different subrutines too, but it's no
way.
In other words: Is there any way how to say to gcc that const arrays shoud stay
just in flash and they are not needed in SRAM?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27556
More information about the Gcc-bugs
mailing list