forked from Imagelibrary/binutils-gdb
* core.c (core_create_function_syms): Move filename and func_name
inside ifdef where they are used. * core.c (core_sym_class): Parenthesize && within ||. * symtab.c (symtab_finalize): Correct parenthesization. * cg_print.h (cg_print_file_ordering): Declare. (cg_print_function_ordering): Declare. * __bb_exit_func.c (__bb_exit_func): Replace bcopy with memcpy. * cg_arcs.c (arc_add): Likewise. * cg_print.c (cg_print_function_ordering): Likewise.
This commit is contained in:
@@ -844,7 +844,7 @@ DEFUN_VOID (cg_print_function_ordering)
|
||||
|
||||
/* Now sort a temporary symbol table based on the number of
|
||||
times each function was used in the highest used arcs. */
|
||||
bcopy (used_syms, scratch_syms, used * sizeof (Sym *));
|
||||
memcpy (scratch_syms, used_syms, used * sizeof (Sym *));
|
||||
qsort (scratch_syms, used, sizeof (Sym *), cmp_fun_nuses);
|
||||
|
||||
/* Now pick out those symbols we're going to emit as
|
||||
|
||||
Reference in New Issue
Block a user