[gcc-ia16] Put literal strings and constant structures in ROM memory by default #7
Labels
enhancement
New feature or request
help wanted
Extra attention is needed
target: wswan
Affects the wswan/wwitch targets
Right now, constant structures have to be explicitly annotated with
__far
to be placed in ROM memory. This is less than ideal:__far
annotation, requiring adaptation;There are many options to improve this:
.fartext
and as__far
-annotated variables;.farrodata
and as__far
-annotated unless__near
is present;__far
annotations for literal strings.large
memory model togcc-ia16
, as the times when we want a near pointer are notably less numerious than times when we want a far pointer.This is a rather difficult task, unfortunately.
The text was updated successfully, but these errors were encountered: