diff options
author | Alan Modra <amodra@gmail.com> | 2001-08-09 14:38:04 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2001-08-09 14:38:04 +0000 |
commit | a7b97311da9b9cef66a6aec0e7a17eb2770144b3 (patch) | |
tree | dbe6feaab7147b23028191fff9c2dba8583dde36 /bfd/merge.c | |
parent | 5253f23b62d3cc15e2c9110ce711f0ee9b19feb3 (diff) | |
download | gdb-a7b97311da9b9cef66a6aec0e7a17eb2770144b3.zip gdb-a7b97311da9b9cef66a6aec0e7a17eb2770144b3.tar.gz gdb-a7b97311da9b9cef66a6aec0e7a17eb2770144b3.tar.bz2 |
* coff-rs6000.c: Add missing prototypes.
(xcoff_ppc_relocate_section, xcoff_is_lineno_count_overflow,
xcoff_is_reloc_count_overflow, xcoff_loader_symbol_offset,
xcoff_loader_reloc_offset): Make static.
* dwarf1.c: Add missing prototypes.
* dwarf2.c: Add missing prototypes.
(struct abbrev_info): Move definition.
(struct attr_abbrev, ABBREV_HASH_SIZE, ATTR_ALLOC_CHUNK): Likewise.
* elf.c: Add missing prototypes.
* elf32-gen.c: Likewise.
* elf32-i386.c: Likewise.
* elf32-ppc.c: Likewise.
(ppc_elf_sort_rela): Use PTR instead of "void *".
* elflink.h: Add missing prototypes. Formatting fixes.
* merge.c: Add missing prototypes.
(last4_eq): Use PTR instead of "void *".
(last_eq): Likewise.
* syms.c: Add missing prototypes.
Diffstat (limited to 'bfd/merge.c')
-rw-r--r-- | bfd/merge.c | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/bfd/merge.c b/bfd/merge.c index 3d09041..49074ec 100644 --- a/bfd/merge.c +++ b/bfd/merge.c @@ -108,6 +108,12 @@ static struct sec_merge_hash_entry *sec_merge_add struct sec_merge_sec_info *)); static boolean sec_merge_emit PARAMS ((bfd *, struct sec_merge_hash_entry *)); +static int cmplengthentry PARAMS ((const PTR, const PTR)); +static int last4_eq PARAMS ((const PTR, const PTR)); +static int last_eq PARAMS ((const PTR, const PTR)); +static boolean record_section + PARAMS ((struct sec_merge_info *, struct sec_merge_sec_info *)); +static void merge_strings PARAMS ((struct sec_merge_info *)); /* Routine to create an entry in a section merge hashtab. */ @@ -475,7 +481,8 @@ cmplengthentry (a, b) static int last4_eq (a, b) - const void *a, *b; + const PTR a; + const PTR b; { struct sec_merge_hash_entry * A = (struct sec_merge_hash_entry *) a; struct sec_merge_hash_entry * B = (struct sec_merge_hash_entry *) b; @@ -502,7 +509,8 @@ last4_eq (a, b) static int last_eq (a, b) - const void *a, *b; + const PTR a; + const PTR b; { struct sec_merge_hash_entry * A = (struct sec_merge_hash_entry *) a; struct sec_merge_hash_entry * B = (struct sec_merge_hash_entry *) b; |