mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 23:32:09 +00:00
don't create a reloc for an external function
This commit is contained in:
parent
e53e9944b6
commit
642bb0f810
1 changed files with 2 additions and 1 deletions
|
@ -445,6 +445,7 @@ build_builtin_function (def_t *def, expr_t *bi_val)
|
|||
f->builtin = bi_val->type == ex_integer ? bi_val->e.integer_val
|
||||
: (int)bi_val->e.float_val;
|
||||
f->def = def;
|
||||
if (!def->external)
|
||||
reloc_def_func (f, def->ofs);
|
||||
build_function (f);
|
||||
finish_function (f);
|
||||
|
|
Loading…
Reference in a new issue