From 72fae608e52489272a726de5b3f2485f2f52a659 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Fri, 4 Mar 2011 18:45:43 +0900 Subject: [PATCH] Write the function start address to the progs file. Oops:P --- tools/qfcc/source/obj_file.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/qfcc/source/obj_file.c b/tools/qfcc/source/obj_file.c index fccd27b42..aca95bb8a 100644 --- a/tools/qfcc/source/obj_file.c +++ b/tools/qfcc/source/obj_file.c @@ -751,6 +751,7 @@ qfo_to_progs (qfo_t *qfo, int *size) for (i = 0; i < qfo->num_funcs; i++) { dfunction_t *df = functions + i; qfo_func_t *qf = qfo->funcs + i; + df->first_statement = qf->code; df->parm_start = locals_start; df->locals = qfo->spaces[qf->locals_space].data_size; if (!options.code.local_merging)