aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bfd/ChangeLog19
-rw-r--r--bfd/coff-rs6000.c1
-rw-r--r--bfd/coff64-rs6000.c1
-rw-r--r--bfd/coffcode.h1
-rw-r--r--bfd/elf32-vax.c2
-rw-r--r--bfd/hash.c1
-rw-r--r--bfd/hppabsd-core.c2
-rw-r--r--bfd/hpux-core.c2
-rw-r--r--bfd/ihex.c1
-rw-r--r--bfd/netbsd-core.c3
-rw-r--r--bfd/osf-core.c2
-rw-r--r--bfd/pdp11.c1
-rw-r--r--bfd/ptrace-core.c3
-rw-r--r--bfd/sco5-core.c3
-rw-r--r--bfd/section.c2
-rw-r--r--bfd/sunos.c3
-rw-r--r--bfd/trad-core.c3
17 files changed, 19 insertions, 31 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index a93e80f..7d33bd8 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,22 @@
+2003-12-01 Kazu Hirata <kazu@cs.umass.edu>
+
+ * coff-rs6000.c: Remove ARGSUSED and VARARGS.
+ * coff64-rs6000.c: Likewise.
+ * coffcode.h: Likewise.
+ * elf32-vax.c: Likewise.
+ * hash.c: Likewise.
+ * hppabsd-core.c: Likewise.
+ * hpux-core.c: Likewise.
+ * ihex.c: Likewise.
+ * netbsd-core.c: Likewise.
+ * osf-core.c: Likewise.
+ * pdp11.c: Likewise.
+ * ptrace-core.c: Likewise.
+ * sco5-core.c: Likewise.
+ * section.c: Likewise.
+ * sunos.c: Likewise.
+ * trad-core.c: Likewise.
+
2003-12-01 Alan Modra <amodra@bigpond.net.au>
* elf-bfd.h (is_elf_hash_table): Take hash tab rather than info arg.
diff --git a/bfd/coff-rs6000.c b/bfd/coff-rs6000.c
index a7cf1ab..56e34e2 100644
--- a/bfd/coff-rs6000.c
+++ b/bfd/coff-rs6000.c
@@ -1575,7 +1575,6 @@ normalize_filename (abfd)
/* Write out an XCOFF armap. */
-/*ARGSUSED*/
static bfd_boolean
xcoff_write_armap_old (abfd, elength, map, orl_count, stridx)
bfd *abfd;
diff --git a/bfd/coff64-rs6000.c b/bfd/coff64-rs6000.c
index 0d7ab4f..ec9c695 100644
--- a/bfd/coff64-rs6000.c
+++ b/bfd/coff64-rs6000.c
@@ -2054,7 +2054,6 @@ xcoff64_openr_next_archived_file (archive, last_file)
/* We can't use the usual coff_sizeof_headers routine, because AIX
always uses an a.out header. */
-/*ARGSUSED*/
static int
xcoff64_sizeof_headers (abfd, reloc)
bfd *abfd;
diff --git a/bfd/coffcode.h b/bfd/coffcode.h
index 6acdd39..e2c27f0 100644
--- a/bfd/coffcode.h
+++ b/bfd/coffcode.h
@@ -5122,7 +5122,6 @@ static reloc_howto_type *coff_rtype_to_howto
struct coff_link_hash_entry *, struct internal_syment *,
bfd_vma *));
-/*ARGSUSED*/
static reloc_howto_type *
coff_rtype_to_howto (abfd, sec, rel, h, sym, addendp)
bfd *abfd ATTRIBUTE_UNUSED;
diff --git a/bfd/elf32-vax.c b/bfd/elf32-vax.c
index 21fdd9d..c37ca00 100644
--- a/bfd/elf32-vax.c
+++ b/bfd/elf32-vax.c
@@ -1338,7 +1338,6 @@ elf_vax_size_dynamic_sections (output_bfd, info)
in regular objects. We allocated space for them in the check_relocs
routine, but we won't fill them in in the relocate_section routine. */
-/*ARGSUSED*/
static bfd_boolean
elf_vax_discard_copies (h, ignore)
struct elf_vax_link_hash_entry *h;
@@ -1366,7 +1365,6 @@ elf_vax_discard_copies (h, ignore)
creating a shared object or executable, space in the .got and .rela.got
will be reserved for the symbol. */
-/*ARGSUSED*/
static bfd_boolean
elf_vax_instantiate_got_entries (h, infoptr)
struct elf_link_hash_entry *h;
diff --git a/bfd/hash.c b/bfd/hash.c
index 3248558..58fa532 100644
--- a/bfd/hash.c
+++ b/bfd/hash.c
@@ -446,7 +446,6 @@ bfd_hash_replace (table, old, nw)
/* Base method for creating a new hash table entry. */
-/*ARGSUSED*/
struct bfd_hash_entry *
bfd_hash_newfunc (entry, table, string)
struct bfd_hash_entry *entry;
diff --git a/bfd/hppabsd-core.c b/bfd/hppabsd-core.c
index 31aa2f1..4d17ba5 100644
--- a/bfd/hppabsd-core.c
+++ b/bfd/hppabsd-core.c
@@ -213,7 +213,6 @@ hppabsd_core_core_file_failing_command (abfd)
return core_command (abfd);
}
-/* ARGSUSED */
static int
hppabsd_core_core_file_failing_signal (abfd)
bfd *abfd;
@@ -221,7 +220,6 @@ hppabsd_core_core_file_failing_signal (abfd)
return core_signal (abfd);
}
-/* ARGSUSED */
static bfd_boolean
hppabsd_core_core_file_matches_executable_p (core_bfd, exec_bfd)
bfd *core_bfd, *exec_bfd;
diff --git a/bfd/hpux-core.c b/bfd/hpux-core.c
index b4869fc..04d2911 100644
--- a/bfd/hpux-core.c
+++ b/bfd/hpux-core.c
@@ -327,7 +327,6 @@ hpux_core_core_file_failing_command (abfd)
return core_command (abfd);
}
-/* ARGSUSED */
static int
hpux_core_core_file_failing_signal (abfd)
bfd *abfd;
@@ -335,7 +334,6 @@ hpux_core_core_file_failing_signal (abfd)
return core_signal (abfd);
}
-/* ARGSUSED */
static bfd_boolean
hpux_core_core_file_matches_executable_p (core_bfd, exec_bfd)
bfd *core_bfd ATTRIBUTE_UNUSED;
diff --git a/bfd/ihex.c b/bfd/ihex.c
index b068bd9..5d2d47f 100644
--- a/bfd/ihex.c
+++ b/bfd/ihex.c
@@ -948,7 +948,6 @@ ihex_set_arch_mach (abfd, arch, mach)
/* Get the size of the headers, for the linker. */
-/*ARGSUSED*/
static int
ihex_sizeof_headers (abfd, exec)
bfd *abfd ATTRIBUTE_UNUSED;
diff --git a/bfd/netbsd-core.c b/bfd/netbsd-core.c
index a9f1260..7498990 100644
--- a/bfd/netbsd-core.c
+++ b/bfd/netbsd-core.c
@@ -53,7 +53,6 @@ static void swap_abort
/* Handle NetBSD-style core dump file. */
-/* ARGSUSED */
static const bfd_target *
netbsd_core_file_p (abfd)
bfd *abfd;
@@ -179,7 +178,6 @@ netbsd_core_file_failing_command (abfd)
return abfd->tdata.netbsd_core_data->core.c_name;
}
-/* ARGSUSED */
static int
netbsd_core_file_failing_signal (abfd)
bfd *abfd;
@@ -188,7 +186,6 @@ netbsd_core_file_failing_signal (abfd)
return abfd->tdata.netbsd_core_data->core.c_signo;
}
-/* ARGSUSED */
static bfd_boolean
netbsd_core_file_matches_executable_p (core_bfd, exec_bfd)
bfd *core_bfd ATTRIBUTE_UNUSED;
diff --git a/bfd/osf-core.c b/bfd/osf-core.c
index 95292a3..9ba0d18 100644
--- a/bfd/osf-core.c
+++ b/bfd/osf-core.c
@@ -164,7 +164,6 @@ osf_core_core_file_failing_command (abfd)
return core_command (abfd);
}
-/* ARGSUSED */
static int
osf_core_core_file_failing_signal (abfd)
bfd *abfd;
@@ -172,7 +171,6 @@ osf_core_core_file_failing_signal (abfd)
return core_signal (abfd);
}
-/* ARGSUSED */
static bfd_boolean
osf_core_core_file_matches_executable_p (core_bfd, exec_bfd)
bfd *core_bfd ATTRIBUTE_UNUSED;
diff --git a/bfd/pdp11.c b/bfd/pdp11.c
index 3d009ba..a4af824 100644
--- a/bfd/pdp11.c
+++ b/bfd/pdp11.c
@@ -2469,7 +2469,6 @@ NAME(aout,get_symbol_info) (abfd, symbol, ret)
}
}
-/*ARGSUSED*/
void
NAME(aout,print_symbol) (abfd, afile, symbol, how)
bfd * abfd;
diff --git a/bfd/ptrace-core.c b/bfd/ptrace-core.c
index 23bc8de..4f441ce 100644
--- a/bfd/ptrace-core.c
+++ b/bfd/ptrace-core.c
@@ -55,7 +55,6 @@ bfd_boolean ptrace_unix_core_file_matches_executable_p
PARAMS ((bfd *core_bfd, bfd *exec_bfd));
static void swap_abort PARAMS ((void));
-/* ARGSUSED */
const bfd_target *
ptrace_unix_core_file_p (abfd)
bfd *abfd;
@@ -146,7 +145,6 @@ ptrace_unix_core_file_failing_command (abfd)
return 0;
}
-/* ARGSUSED */
int
ptrace_unix_core_file_failing_signal (abfd)
bfd *abfd;
@@ -154,7 +152,6 @@ ptrace_unix_core_file_failing_signal (abfd)
return abfd->tdata.trad_core_data->u.pt_sigframe.sig_num;
}
-/* ARGSUSED */
bfd_boolean
ptrace_unix_core_file_matches_executable_p (core_bfd, exec_bfd)
bfd *core_bfd, *exec_bfd;
diff --git a/bfd/sco5-core.c b/bfd/sco5-core.c
index 4928622..311de70 100644
--- a/bfd/sco5-core.c
+++ b/bfd/sco5-core.c
@@ -110,7 +110,6 @@ read_uarea(abfd, filepos)
return &rawptr->u;
}
-/* ARGSUSED */
const bfd_target *
sco5_core_file_p (abfd)
bfd *abfd;
@@ -338,7 +337,6 @@ sco5_core_file_failing_command (abfd)
return NULL;
}
-/* ARGSUSED */
int
sco5_core_file_failing_signal (ignore_abfd)
bfd *ignore_abfd;
@@ -348,7 +346,6 @@ sco5_core_file_failing_signal (ignore_abfd)
: -1);
}
-/* ARGSUSED */
bfd_boolean
sco5_core_file_matches_executable_p (core_bfd, exec_bfd)
bfd *core_bfd ATTRIBUTE_UNUSED;
diff --git a/bfd/section.c b/bfd/section.c
index 752d033..fce8e1e 100644
--- a/bfd/section.c
+++ b/bfd/section.c
@@ -1025,7 +1025,6 @@ DESCRIPTION
*/
-/*ARGSUSED*/
bfd_boolean
bfd_set_section_flags (bfd *abfd ATTRIBUTE_UNUSED,
sec_ptr section,
@@ -1074,7 +1073,6 @@ DESCRIPTION
*/
-/*VARARGS2*/
void
bfd_map_over_sections (bfd *abfd,
void (*operation) (bfd *, asection *, void *),
diff --git a/bfd/sunos.c b/bfd/sunos.c
index fb8e17b..5b1b18b 100644
--- a/bfd/sunos.c
+++ b/bfd/sunos.c
@@ -1246,7 +1246,6 @@ sunos_add_one_symbol (info, abfd, name, flags, section, value, string,
/* Return the list of objects needed by BFD. */
-/*ARGSUSED*/
struct bfd_link_needed_list *
bfd_sunos_get_needed_list (abfd, info)
bfd *abfd ATTRIBUTE_UNUSED;
@@ -2165,7 +2164,6 @@ sunos_scan_dynamic_symbol (h, data)
this point. This entry point exists to prevent the regular linker
code from doing anything with the object. */
-/*ARGSUSED*/
static bfd_boolean
sunos_link_dynamic_object (info, abfd)
struct bfd_link_info *info ATTRIBUTE_UNUSED;
@@ -2410,7 +2408,6 @@ sunos_write_dynamic_symbol (output_bfd, info, harg)
copy it over, and tell the caller to not bother processing this
reloc. */
-/*ARGSUSED*/
static bfd_boolean
sunos_check_dynamic_reloc (info, input_bfd, input_section, harg, reloc,
contents, skip, relocationp)
diff --git a/bfd/trad-core.c b/bfd/trad-core.c
index 958ce11..0603150 100644
--- a/bfd/trad-core.c
+++ b/bfd/trad-core.c
@@ -71,7 +71,6 @@ static void swap_abort PARAMS ((void));
/* Handle 4.2-style (and perhaps also sysV-style) core dump file. */
-/* ARGSUSED */
const bfd_target *
trad_unix_core_file_p (abfd)
bfd *abfd;
@@ -248,7 +247,6 @@ trad_unix_core_file_failing_command (abfd)
return 0;
}
-/* ARGSUSED */
int
trad_unix_core_file_failing_signal (ignore_abfd)
bfd *ignore_abfd ATTRIBUTE_UNUSED;
@@ -260,7 +258,6 @@ trad_unix_core_file_failing_signal (ignore_abfd)
#endif
}
-/* ARGSUSED */
bfd_boolean
trad_unix_core_file_matches_executable_p (core_bfd, exec_bfd)
bfd *core_bfd ATTRIBUTE_UNUSED;