find the other place def_func relocs get emitted. I keep forgetting about the .y file when grepping source :P

This commit is contained in:
Bill Currie 2007-04-10 07:40:03 +00:00 committed by Jeff Teunissen
parent 3b7c83a96f
commit 30744a555e

View file

@ -700,7 +700,8 @@ begin_function
error (0, "%s redefined", $<def>0->name);
$$ = current_func = new_function ($<def>0->name);
$$->def = $<def>0;
$$->refs = new_reloc ($$->def->ofs, rel_def_func);
if (!$$->def->external)
reloc_def_func ($$, $$->def->ofs);
$$->code = pr.code->size;
if (options.code.debug) {
pr_lineno_t *lineno = new_lineno ();