[qfcc] Create .stack for Ruamoko progs

It's rather necessary :)
This commit is contained in:
Bill Currie 2022-01-21 20:47:35 +09:00
parent 2a89a678ec
commit e6fbe9fdbc

View file

@ -447,6 +447,10 @@ finish_link (void)
&param_alignment);
linker_add_def (".xdefs", &type_xdefs, flags, 0);
}
if (options.code.progsversion == PROG_VERSION) {
int stk = (QFOD_GLOBAL | QFOD_INITIALIZED | QFOD_NOSAVE);
linker_add_def (".stack", &type_uint, stk, 0);
}
if (options.code.debug) {
pr_int_t str;