summaryrefslogtreecommitdiff
path: root/bfd
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 /bfd
parentb98e6871247e1ef764360f6d042254ce4af62ca4 (diff)
downloadbinutils-gdb-e6c7cdec063514bb9ffe2a62fb280e5ec676cac0.tar.gz
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 'bfd')
-rw-r--r--bfd/ChangeLog7
-rw-r--r--bfd/cache.c2
-rw-r--r--bfd/elf32-m68k.c9
-rw-r--r--bfd/elf64-mmix.c9
-rw-r--r--bfd/stab-syms.c3
5 files changed, 15 insertions, 15 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index fe09bac1210..f4bebd9d28d 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,5 +1,12 @@
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.
+
+2016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
+
* elf32-arm.c (put_thumb2_insn): Change argument type to bfd_byte *.
2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
diff --git a/bfd/cache.c b/bfd/cache.c
index 17bf7ea9d59..995cf1f9eba 100644
--- a/bfd/cache.c
+++ b/bfd/cache.c
@@ -566,7 +566,7 @@ RETURNS
*/
bfd_boolean
-bfd_cache_close_all ()
+bfd_cache_close_all (void)
{
bfd_boolean ret = TRUE;
diff --git a/bfd/elf32-m68k.c b/bfd/elf32-m68k.c
index 0176cc9a438..7e2d9f59a32 100644
--- a/bfd/elf32-m68k.c
+++ b/bfd/elf32-m68k.c
@@ -4579,12 +4579,9 @@ elf_m68k_finish_dynamic_sections (bfd *output_bfd, struct bfd_link_info *info)
objects, and before the final_link entry point is called. */
bfd_boolean
-bfd_m68k_elf32_create_embedded_relocs (abfd, info, datasec, relsec, errmsg)
- bfd *abfd;
- struct bfd_link_info *info;
- asection *datasec;
- asection *relsec;
- char **errmsg;
+bfd_m68k_elf32_create_embedded_relocs (bfd *abfd, struct bfd_link_info *info,
+ asection *datasec, asection *relsec,
+ char **errmsg)
{
Elf_Internal_Shdr *symtab_hdr;
Elf_Internal_Sym *isymbuf = NULL;
diff --git a/bfd/elf64-mmix.c b/bfd/elf64-mmix.c
index 62ce9a565b4..b15ef9f9bb3 100644
--- a/bfd/elf64-mmix.c
+++ b/bfd/elf64-mmix.c
@@ -2114,9 +2114,7 @@ static asymbol *mmix_elf_reg_section_symbol_ptr;
/* Handle the special section numbers that a symbol may use. */
void
-mmix_elf_symbol_processing (abfd, asym)
- bfd *abfd ATTRIBUTE_UNUSED;
- asymbol *asym;
+mmix_elf_symbol_processing (bfd *abfd ATTRIBUTE_UNUSED, asymbol *asym)
{
elf_symbol_type *elfsym;
@@ -2491,9 +2489,8 @@ bpo_reloc_request_sort_fn (const void * p1, const void * p2)
from base-plus-offset relocs. */
void
-mmix_dump_bpo_gregs (link_info, pf)
- struct bfd_link_info *link_info;
- bfd_error_handler_type pf;
+mmix_dump_bpo_gregs (struct bfd_link_info *link_info,
+ bfd_error_handler_type pf)
{
bfd *bpo_greg_owner;
asection *bpo_gregs_section;
diff --git a/bfd/stab-syms.c b/bfd/stab-syms.c
index bcbf5f20634..8d23818f37f 100644
--- a/bfd/stab-syms.c
+++ b/bfd/stab-syms.c
@@ -45,8 +45,7 @@
__define_name (N_WARNING, "WARNING")
const char *
-bfd_get_stab_name (code)
- int code;
+bfd_get_stab_name (int code)
{
switch (code)
{