gcc -Wall lint:
authorIan Lance Taylor <ian@airs.com>
Thu, 28 Oct 1993 20:36:48 +0000 (20:36 +0000)
committerIan Lance Taylor <ian@airs.com>
Thu, 28 Oct 1993 20:36:48 +0000 (20:36 +0000)
commit14aa9a78c39300d49cc6a816dbb833a897d9c6e0
treebd02850c1278360caf4934bf2ed75918efc4b1bc
parentd17eb3db0e135a449c94977aabae938e96584603
gcc -Wall lint:
* coff-h8300.c (h8300_reloc16_estimate): Declare return type.
Remove useless statement probably left by code copy.
* cpu-i960.c (compatible): Fully bracket matrix initializer.
* elf32-hppa.c (hppa_elf_build_arg_reloc_stub): Use bfd_xmalloc
rather than xmalloc.  Use realloc and check the return value
rather than xrealloc.
(hppa_elf_get_section_contents): Add some casts.
* elf32-i386.c (elf_i386_reloc_type_lookup): Remove unused
variable.  Add default case to switch.
* hp300hpux.c: Declare aout_32_write_syms.
* i386bsd.c, i386linux.c, netbsd386.c (N_SHARED_LIB): Define as 0
(definition from aout/aout64.h is always 0 anyhow).
* i386lynx.c (swap_std_reloc_in): Remove unused variable.
* ieee.c (ieee_write_id): length can never be negative.
(read_id): Likewise.
(ieee_archive_p): Remove unused variable.
* libcoff-in.h (bfd_perform_slip): Declare.
* libcoff.h: Rebuilt.
* oasys.c (oasys_write_sections): Remove zero initialization of
static structure.
* reloc16.c: Indentation change.
bfd/ChangeLog
bfd/coff-h8300.c
bfd/ieee.c
bfd/netbsd386.c
bfd/oasys.c