* bfd-in.h: Comment typo fix. Formatting.

* bfd-in2.h: Regenerate.
	* coff64-rs6000.c (xcoff64_openr_next_archived_file): Warning fix.
	* elf32-m68hc12.c (m68hc12_elf_set_mach_from_flags): Prototype.
	* elf64-mmix.c (mmix_dump_bpo_gregs): Warning fix.
This commit is contained in:
Alan Modra
2002-12-08 03:34:38 +00:00
parent 8d17420c2d
commit cf3d882d19
6 changed files with 61 additions and 51 deletions

View File

@ -1,3 +1,11 @@
2002-12-08 Alan Modra <amodra@bigpond.net.au>
* bfd-in.h: Comment typo fix. Formatting.
* bfd-in2.h: Regenerate.
* coff64-rs6000.c (xcoff64_openr_next_archived_file): Warning fix.
* elf32-m68hc12.c (m68hc12_elf_set_mach_from_flags): Prototype.
* elf64-mmix.c (mmix_dump_bpo_gregs): Warning fix.
2002-12-05 Richard Henderson <rth@redhat.com> 2002-12-05 Richard Henderson <rth@redhat.com>
* elfxx-ia64.c (elfNN_ia64_relax_section): Handle PCREL21BI. * elfxx-ia64.c (elfNN_ia64_relax_section): Handle PCREL21BI.

View File

@ -72,11 +72,11 @@ typedef struct _bfd bfd;
/* Boolean type used in bfd. Too many systems define their own /* Boolean type used in bfd. Too many systems define their own
versions of "boolean" for us to safely typedef a "boolean" of versions of "boolean" for us to safely typedef a "boolean" of
our own. Using an enum for "bfd_boolean" has it's own set of our own. Using an enum for "bfd_boolean" has its own set of
problems, with strange looking casts required to avoid warnings problems, with strange looking casts required to avoid warnings
on some older compilers. Thus we just use an int. on some older compilers. Thus we just use an int.
General rule: functions which are bfd_boolean return TRUE on General rule: Functions which are bfd_boolean return TRUE on
success and FALSE on failure (unless they're a predicate). */ success and FALSE on failure (unless they're a predicate). */
typedef int bfd_boolean; typedef int bfd_boolean;

View File

@ -79,11 +79,11 @@ typedef struct _bfd bfd;
/* Boolean type used in bfd. Too many systems define their own /* Boolean type used in bfd. Too many systems define their own
versions of "boolean" for us to safely typedef a "boolean" of versions of "boolean" for us to safely typedef a "boolean" of
our own. Using an enum for "bfd_boolean" has it's own set of our own. Using an enum for "bfd_boolean" has its own set of
problems, with strange looking casts required to avoid warnings problems, with strange looking casts required to avoid warnings
on some older compilers. Thus we just use an int. on some older compilers. Thus we just use an int.
General rule: functions which are bfd_boolean return TRUE on General rule: Functions which are bfd_boolean return TRUE on
success and FALSE on failure (unless they're a predicate). */ success and FALSE on failure (unless they're a predicate). */
typedef int bfd_boolean; typedef int bfd_boolean;

View File

@ -2019,7 +2019,7 @@ xcoff64_openr_next_archived_file (archive, last_file)
bfd *archive; bfd *archive;
bfd *last_file; bfd *last_file;
{ {
file_ptr filestart; bfd_vma filestart;
if ((xcoff_ardata (archive) == NULL) if ((xcoff_ardata (archive) == NULL)
|| ! xcoff_big_format_p (archive)) || ! xcoff_big_format_p (archive))
@ -2048,7 +2048,7 @@ xcoff64_openr_next_archived_file (archive, last_file)
return NULL; return NULL;
} }
return _bfd_get_elt_at_filepos (archive, filestart); return _bfd_get_elt_at_filepos (archive, (file_ptr) filestart);
} }
/* We can't use the usual coff_sizeof_headers routine, because AIX /* We can't use the usual coff_sizeof_headers routine, because AIX

View File

@ -47,6 +47,8 @@ static bfd_boolean elf32_m68hc11_gc_sweep_hook
PARAMS ((bfd *, struct bfd_link_info *, asection *, PARAMS ((bfd *, struct bfd_link_info *, asection *,
const Elf_Internal_Rela *)); const Elf_Internal_Rela *));
static bfd_boolean m68hc12_elf_set_mach_from_flags PARAMS ((bfd *));
bfd_boolean _bfd_m68hc12_elf_merge_private_bfd_data PARAMS ((bfd *, bfd *)); bfd_boolean _bfd_m68hc12_elf_merge_private_bfd_data PARAMS ((bfd *, bfd *));
bfd_boolean _bfd_m68hc12_elf_set_private_flags PARAMS ((bfd *, flagword)); bfd_boolean _bfd_m68hc12_elf_set_private_flags PARAMS ((bfd *, flagword));
bfd_boolean _bfd_m68hc12_elf_print_private_bfd_data PARAMS ((bfd *, PTR)); bfd_boolean _bfd_m68hc12_elf_print_private_bfd_data PARAMS ((bfd *, PTR));

View File

@ -2281,8 +2281,8 @@ mmix_dump_bpo_gregs (link_info, pf)
for (i = 0; i < gregdata->n_max_bpo_relocs; i++) for (i = 0; i < gregdata->n_max_bpo_relocs; i++)
(*pf) ("%4u (%4u)/%4u#%u: 0x%08lx%08lx r: %3u o: %3u\n", (*pf) ("%4u (%4u)/%4u#%u: 0x%08lx%08lx r: %3u o: %3u\n",
i, i,
gregdata->bpo_reloc_indexes != NULL (gregdata->bpo_reloc_indexes != NULL
? gregdata->bpo_reloc_indexes[i] : -1, ? gregdata->bpo_reloc_indexes[i] : (size_t) -1),
gregdata->reloc_request[i].bpo_reloc_no, gregdata->reloc_request[i].bpo_reloc_no,
gregdata->reloc_request[i].valid, gregdata->reloc_request[i].valid,