diff --git a/mach/m68020/ncg/mach.c b/mach/m68020/ncg/mach.c index f5fe267f9..8d9c29ae8 100644 --- a/mach/m68020/ncg/mach.c +++ b/mach/m68020/ncg/mach.c @@ -181,7 +181,7 @@ regreturn() prolog(nlocals) full nlocals; { #ifdef TBL68020 - fprintf(codefile,"tst.b (-%ld,sp)\nlink\ta6,#-%ld\n",nlocals+40,nlocals); + fprintf(codefile,"link\ta6,#-%ld\n",nlocals); #else fprintf(codefile,"tst.b -%ld(sp)\nlink\ta6,#-%ld\n",nlocals+40,nlocals); #endif diff --git a/mach/m68k2/ncg/mach.c b/mach/m68k2/ncg/mach.c index f5fe267f9..8d9c29ae8 100644 --- a/mach/m68k2/ncg/mach.c +++ b/mach/m68k2/ncg/mach.c @@ -181,7 +181,7 @@ regreturn() prolog(nlocals) full nlocals; { #ifdef TBL68020 - fprintf(codefile,"tst.b (-%ld,sp)\nlink\ta6,#-%ld\n",nlocals+40,nlocals); + fprintf(codefile,"link\ta6,#-%ld\n",nlocals); #else fprintf(codefile,"tst.b -%ld(sp)\nlink\ta6,#-%ld\n",nlocals+40,nlocals); #endif diff --git a/mach/m68k4/ncg/mach.c b/mach/m68k4/ncg/mach.c index f5fe267f9..8d9c29ae8 100644 --- a/mach/m68k4/ncg/mach.c +++ b/mach/m68k4/ncg/mach.c @@ -181,7 +181,7 @@ regreturn() prolog(nlocals) full nlocals; { #ifdef TBL68020 - fprintf(codefile,"tst.b (-%ld,sp)\nlink\ta6,#-%ld\n",nlocals+40,nlocals); + fprintf(codefile,"link\ta6,#-%ld\n",nlocals); #else fprintf(codefile,"tst.b -%ld(sp)\nlink\ta6,#-%ld\n",nlocals+40,nlocals); #endif diff --git a/mach/moon3/ncg/mach.c b/mach/moon3/ncg/mach.c index f5fe267f9..8d9c29ae8 100644 --- a/mach/moon3/ncg/mach.c +++ b/mach/moon3/ncg/mach.c @@ -181,7 +181,7 @@ regreturn() prolog(nlocals) full nlocals; { #ifdef TBL68020 - fprintf(codefile,"tst.b (-%ld,sp)\nlink\ta6,#-%ld\n",nlocals+40,nlocals); + fprintf(codefile,"link\ta6,#-%ld\n",nlocals); #else fprintf(codefile,"tst.b -%ld(sp)\nlink\ta6,#-%ld\n",nlocals+40,nlocals); #endif