Commit fdf5ff29 authored by Josh Poimboeuf's avatar Josh Poimboeuf Committed by Peter Zijlstra
Browse files

objtool: Upgrade "Linked object detected" warning to error

parent acc8c6a7
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -198,8 +198,8 @@ int objtool_run(int argc, const char **argv)
		return 1;

	if (!opts.link && has_multiple_files(file->elf)) {
		ERROR("Linked object detected, forcing --link");
		opts.link = true;
		ERROR("Linked object requires --link");
		goto err;
	}

	ret = check(file);