/* Check the functions to see if they each have an objsection. If not, then the linker must have eliminated them.  */
static void check_functions(void)
/* Check the functions to see if they each have an objsection. If not, then the linker must have eliminated them.  */
static void check_functions(void)
{
	struct func_info *func, *end;
	unsigned long removed_code_size = 0;
	int not_found = 0;
	for (func = func_list, end = func + func_count; func < end; func++) {
		if (!func->objsection) {
			removed_code_size += func->code_size;
			not_found++;
		}
	}
	check_trace_config();
	warn("%d functions removed by linker, %ld code size\n",
	     not_found, removed_code_size);
}