aboutsummaryrefslogtreecommitdiff
path: root/gas
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
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')
-rw-r--r--gas/ChangeLog10
-rw-r--r--gas/cgen.c6
-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
8 files changed, 20 insertions, 12 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 295e814..69cfbe1 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,13 @@
+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.
+
2016-04-20 Andrew Burgess <andrew.burgess@embecosm.com>
* doc/c-arc.texi (ARC Options): Add nps400 to list of valus for
diff --git a/gas/cgen.c b/gas/cgen.c
index c04a921..232a41f 100644
--- a/gas/cgen.c
+++ b/gas/cgen.c
@@ -92,7 +92,7 @@ static int num_fixups;
??? May wish to make this static and delete calls in md_assemble. */
void
-gas_cgen_init_parse ()
+gas_cgen_init_parse (void)
{
num_fixups = 0;
}
@@ -154,7 +154,7 @@ struct saved_fixups
static struct saved_fixups stored_fixups[MAX_SAVED_FIXUP_CHAINS];
void
-gas_cgen_initialize_saved_fixups_array ()
+gas_cgen_initialize_saved_fixups_array (void)
{
int i = 0;
@@ -1047,7 +1047,7 @@ gas_cgen_tc_gen_reloc (asection *section ATTRIBUTE_UNUSED, fixS *fixP)
Called after gas_cgen_cpu_desc has been created. */
void
-gas_cgen_begin ()
+gas_cgen_begin (void)
{
if (flag_signed_overflow_ok)
cgen_set_signed_overflow_ok (gas_cgen_cpu_desc);
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;
}