linker: Make linker_error set LinkStatus to false
Remove the other places that set LinkStatus to false since they all immediately follow a call to linker_error. The function linker_error was previously known as linker_error_printf. The name was changed because it may seem surprising that a printf function will set an error flag. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
This commit is contained in:
parent
81b036b4d7
commit
586e741ac1
4 changed files with 90 additions and 100 deletions
|
|
@ -311,9 +311,7 @@ emit_errors_linked(const void *key, void *data, void *closure)
|
|||
f->sig->function_name(),
|
||||
&f->sig->parameters);
|
||||
|
||||
linker_error_printf(prog,
|
||||
"function `%s' has static recursion.\n",
|
||||
proto);
|
||||
linker_error(prog, "function `%s' has static recursion.\n", proto);
|
||||
ralloc_free(proto);
|
||||
prog->LinkStatus = false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue