update many old style function definitions

This includes regenerating a bunch of files in opcodes/ with trunk cgen.

gprof/ChangeLog:

2016-04-20  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>

	* basic_blocks.c: Update old style function definitions.
	* cg_arcs.c: Likewise.
	* cg_print.c: Likewise.
	* gen-c-prog.awk: Likewise.
	* gmon_io.c: Likewise.
	* hertz.c: Likewise.
	* hist.c: Likewise.
	* sym_ids.c: Likewise.

bfd/ChangeLog:

2016-04-20  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>

	* cache.c: Update old style function definitions.
	* elf32-m68k.c: Likewise.
	* elf64-mmix.c: Likewise.
	* stab-syms.c: Likewise.

opcodes/ChangeLog:

2016-04-20  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>

	* alpha-dis.c: Regenerate.
	* crx-dis.c: Likewise.
	* disassemble.c: Likewise.
	* epiphany-opc.c: Likewise.
	* fr30-opc.c: Likewise.
	* frv-opc.c: Likewise.
	* ip2k-opc.c: Likewise.
	* iq2000-opc.c: Likewise.
	* lm32-opc.c: Likewise.
	* lm32-opinst.c: Likewise.
	* m32c-opc.c: Likewise.
	* m32r-opc.c: Likewise.
	* m32r-opinst.c: Likewise.
	* mep-opc.c: Likewise.
	* mt-opc.c: Likewise.
	* or1k-opc.c: Likewise.
	* or1k-opinst.c: Likewise.
	* tic80-opc.c: Likewise.
	* xc16x-opc.c: Likewise.
	* xstormy16-opc.c: Likewise.

ld/ChangeLog:

2016-04-20  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>

	* emultempl/scoreelf.em: Likewise.

binutils/ChangeLog:

2016-04-20  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>

	* resres.c: Likewise.

gas/ChangeLog:

2016-04-20  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>

	* cgen.c: Likewise.
	* config/tc-bfin.c: Likewise.
	* config/tc-ia64.c: Likewise.
	* config/tc-mep.c: Likewise.
	* config/tc-metag.c: Likewise.
	* config/tc-nios2.c: Likewise.
	* config/tc-rl78.c: Likewise.
This commit is contained in:
Trevor Saunders
2016-04-13 18:30:46 -04:00
parent b98e687124
commit e6c7cdec06
47 changed files with 171 additions and 193 deletions

View File

@ -1,3 +1,14 @@
2016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
* basic_blocks.c: Update old style function definitions.
* cg_arcs.c: Likewise.
* cg_print.c: Likewise.
* gen-c-prog.awk: Likewise.
* gmon_io.c: Likewise.
* hertz.c: Likewise.
* hist.c: Likewise.
* sym_ids.c: Likewise.
2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
* Makefile.in: Regenerated with automake 1.11.6.

View File

@ -248,7 +248,7 @@ bb_write_blocks (FILE *ofp, const char *filename)
<filename>:<line-number>: (<function-name>:<bb-addr): <ncalls> */
void
print_exec_counts ()
print_exec_counts (void)
{
Sym **sorted_bbs, *sym;
unsigned int i, j, len;
@ -459,7 +459,7 @@ annotate_with_count (char *buf, unsigned int width, int line_num, PTR arg)
regarding that source file are printed. */
void
print_annotated_source ()
print_annotated_source (void)
{
Sym *sym, *line_stats, *new_line;
Source_File *sf;

View File

@ -245,7 +245,7 @@ propagate_time (Sym *parent)
* its members.
*/
static void
cycle_time ()
cycle_time (void)
{
Sym *member, *cyc;
@ -269,7 +269,7 @@ cycle_time ()
static void
cycle_link ()
cycle_link (void)
{
Sym *sym, *cyc, *member;
Arc *arc;

View File

@ -61,7 +61,7 @@ double print_time = 0.0;
static void
print_header ()
print_header (void)
{
if (first_output)
first_output = FALSE;
@ -561,7 +561,7 @@ cmp_name (const PTR left, const PTR right)
void
cg_print_index ()
cg_print_index (void)
{
unsigned int sym_index;
unsigned int nnames, todo, i, j;
@ -984,13 +984,9 @@ cg_print_function_ordering (void)
#define MOST 0.99
static void
order_and_dump_functions_by_arcs (the_arcs, arc_count, all,
unplaced_arcs, unplaced_arc_count)
Arc **the_arcs;
unsigned long arc_count;
int all;
Arc **unplaced_arcs;
unsigned long *unplaced_arc_count;
order_and_dump_functions_by_arcs (Arc **the_arcs, unsigned long arc_count,
int all, Arc **unplaced_arcs,
unsigned long *unplaced_arc_count)
{
#ifdef __GNUC__
unsigned long long tmp_arcs, total_arcs;

View File

@ -15,8 +15,7 @@ NR == 1 {
print ""
print "void ", FUNCTION, "(FILE *);"
print "void";
printf "%s (file)\n", FUNCTION
print " FILE *file;";
printf "%s (FILE *file)\n", FUNCTION
print "{";
}
printf " fputs (\"";

View File

@ -61,7 +61,7 @@ int gmon_input = 0;
int gmon_file_version = 0; /* 0 == old (non-versioned) file format. */
static enum gmon_ptr_size
gmon_get_ptr_size ()
gmon_get_ptr_size (void)
{
int size;
@ -87,7 +87,7 @@ gmon_get_ptr_size ()
}
static enum gmon_ptr_signedness
gmon_get_ptr_signedness ()
gmon_get_ptr_signedness (void)
{
int sext;

View File

@ -31,7 +31,7 @@
int
hertz ()
hertz (void)
{
#ifdef HERTZ
return HERTZ;

View File

@ -289,7 +289,7 @@ hist_write_hist (FILE * ofp, const char *filename)
next bin. */
static void
scale_and_align_entries ()
scale_and_align_entries (void)
{
Sym *sym;
bfd_vma bin_of_entry;
@ -445,7 +445,7 @@ hist_assign_samples_1 (histogram *r)
/* Calls 'hist_assign_sampes_1' for all histogram records read so far. */
void
hist_assign_samples ()
hist_assign_samples (void)
{
unsigned i;
@ -562,7 +562,7 @@ cmp_time (const PTR lp, const PTR rp)
/* Print the flat histogram profile. */
void
hist_print ()
hist_print (void)
{
Sym **time_sorted_syms, *top_dog, *sym;
unsigned int sym_index;

View File

@ -273,7 +273,7 @@ extend_match (struct match *m, Sym *sym, Sym_Table *tab, bfd_boolean second_pass
requests---you get what you ask for! */
void
sym_id_parse ()
sym_id_parse (void)
{
Sym *sym, *left, *right;
struct sym_id *id;