projects
/
fw
/
sdcc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
More AVR stuff
[fw/sdcc]
/
src
/
SDCCglue.c
diff --git
a/src/SDCCglue.c
b/src/SDCCglue.c
index e512b0ed1f61e9912e83ba25c750f9c3dcb9568b..43ab6992ef71c2d559500e4a2b40de2a357274be 100644
(file)
--- a/
src/SDCCglue.c
+++ b/
src/SDCCglue.c
@@
-214,7
+214,7
@@
value *initPointer (initList *ilist)
val->type = newLink();
if (SPEC_SCLS(expr->left->etype) == S_CODE) {
DCL_TYPE(val->type) = CPOINTER ;
- DCL_PTR_CONST(val->type) =
1
;
+ DCL_PTR_CONST(val->type) =
port->mem.code_ro
;
}
else
if (SPEC_SCLS(expr->left->etype) == S_XDATA)