aboutsummaryrefslogtreecommitdiff
path: root/gas/config
diff options
context:
space:
mode:
authorTrevor Saunders <tbsaunde+binutils@tbsaunde.org>2016-04-13 18:30:46 -0400
committerTrevor Saunders <tbsaunde+binutils@tbsaunde.org>2016-04-20 07:04:49 -0400
commite6c7cdec063514bb9ffe2a62fb280e5ec676cac0 (patch)
tree262de0fe97cffbd611a1e549fc10803fee3012b7 /gas/config
parentb98e6871247e1ef764360f6d042254ce4af62ca4 (diff)
downloadgdb-e6c7cdec063514bb9ffe2a62fb280e5ec676cac0.zip
gdb-e6c7cdec063514bb9ffe2a62fb280e5ec676cac0.tar.gz
gdb-e6c7cdec063514bb9ffe2a62fb280e5ec676cac0.tar.bz2
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.
Diffstat (limited to 'gas/config')
-rw-r--r--gas/config/tc-bfin.c2
-rw-r--r--gas/config/tc-ia64.c2
-rw-r--r--gas/config/tc-mep.c4
-rw-r--r--gas/config/tc-metag.c4
-rw-r--r--gas/config/tc-nios2.c2
-rw-r--r--gas/config/tc-rl78.c2
6 files changed, 7 insertions, 9 deletions
diff --git a/gas/config/tc-bfin.c b/gas/config/tc-bfin.c
index 4f9ad7e..8cf2d5b 100644
--- a/gas/config/tc-bfin.c
+++ b/gas/config/tc-bfin.c
@@ -446,7 +446,7 @@ md_show_usage (FILE * stream)
/* Perform machine-specific initializations. */
void
-md_begin ()
+md_begin (void)
{
/* Set the ELF flags if desired. */
if (bfin_flags)
diff --git a/gas/config/tc-ia64.c b/gas/config/tc-ia64.c
index 2d10e8a..c2194aa 100644
--- a/gas/config/tc-ia64.c
+++ b/gas/config/tc-ia64.c
@@ -4120,7 +4120,7 @@ save_prologue_count (unsigned long lbl, unsigned int count)
}
static void
-free_saved_prologue_counts ()
+free_saved_prologue_counts (void)
{
label_prologue_count *lpc = unwind.saved_prologue_counts;
label_prologue_count *next;
diff --git a/gas/config/tc-mep.c b/gas/config/tc-mep.c
index 6e62ad5..6128b6e 100644
--- a/gas/config/tc-mep.c
+++ b/gas/config/tc-mep.c
@@ -465,7 +465,7 @@ mep_parse_operand (CGEN_CPU_DESC cd, enum cgen_parse_operand_type want,
}
void
-md_begin ()
+md_begin (void)
{
/* Initialize the `cgen' interface. */
@@ -1934,7 +1934,7 @@ mep_cgen_record_fixup_exp (fragS *frag,
tc_gen_reloc. */
void
-mep_frob_file ()
+mep_frob_file (void)
{
struct mep_hi_fixup * l;
diff --git a/gas/config/tc-metag.c b/gas/config/tc-metag.c
index cc9140b..10ed046 100644
--- a/gas/config/tc-metag.c
+++ b/gas/config/tc-metag.c
@@ -7002,9 +7002,7 @@ metag_parse_name (char const * name, expressionS * exprP, enum expr_mode mode,
then it is done here. */
arelent *
-tc_gen_reloc (seg, fixp)
- asection *seg ATTRIBUTE_UNUSED;
- fixS *fixp;
+tc_gen_reloc (asection *seg ATTRIBUTE_UNUSED, fixS *fixp)
{
arelent *reloc;
diff --git a/gas/config/tc-nios2.c b/gas/config/tc-nios2.c
index d207758..a9d3a59 100644
--- a/gas/config/tc-nios2.c
+++ b/gas/config/tc-nios2.c
@@ -3910,7 +3910,7 @@ md_pcrel_from (fixS *fixP ATTRIBUTE_UNUSED)
/* Called just before the assembler exits. */
void
-md_end ()
+md_end (void)
{
/* FIXME - not yet implemented */
}
diff --git a/gas/config/tc-rl78.c b/gas/config/tc-rl78.c
index 0739d34..a695ad6 100644
--- a/gas/config/tc-rl78.c
+++ b/gas/config/tc-rl78.c
@@ -131,7 +131,7 @@ rl78_prefix (int p)
}
int
-rl78_has_prefix ()
+rl78_has_prefix (void)
{
return rl78_bytes.n_prefix;
}