summaryrefslogtreecommitdiff
path: root/src/cmd/6c/sgen.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/6c/sgen.c')
-rw-r--r--src/cmd/6c/sgen.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/cmd/6c/sgen.c b/src/cmd/6c/sgen.c
index 42045f8fa..2402a020d 100644
--- a/src/cmd/6c/sgen.c
+++ b/src/cmd/6c/sgen.c
@@ -126,7 +126,10 @@ xcom(Node *n)
break;
case ONAME:
- n->addable = 10;
+ if(flag_largemodel)
+ n->addable = 9;
+ else
+ n->addable = 10;
if(n->class == CPARAM || n->class == CAUTO)
n->addable = 11;
break;