* Many files: Changes to avoid gcc warnings: Add ATTRIBUTE_UNUSED
authorIan Lance Taylor <ian@airs.com>
Mon, 12 Jul 1999 10:30:21 +0000 (10:30 +0000)
committerIan Lance Taylor <ian@airs.com>
Mon, 12 Jul 1999 10:30:21 +0000 (10:30 +0000)
commit5f771d47c711c5292df87c35ac726c0ac18a3820
tree6aefc3a1720a5ec0775090470f29c4d33d3ba6b2
parent36823076169d65c84df46c8d03e30a3201fda0f9
* Many files: Changes to avoid gcc warnings: Add ATTRIBUTE_UNUSED
as appropriate.  Use EMPTY_HOWTO as appropriate.  Fill in
structure initializations.  Add casts.
* reloc.c (EMPTY_HOWTO): Define.
* bfd-in2.h: Rebuild.
* coff-h8300.c (h8300_reloc16_extra_cases): Remove useless
comparisons against 0.
* elf32-sparc.c (elf32_sparc_merge_private_bfd_data): Change
previous_ibfd_e_flags to unsigned long.
* vms.h (struct vms_private_data_struct): Change section_count to
unsigned.
* vms-gsd.c (_bfd_vms_slurp_gsd): Change psect_idx to unsigned.
(_bfd_vms_write_gsd): Change symnum to unsigned.
* vms-hdr.c (_bfd_vms_write_hdr): Change symnum to unsigned.
* vms-tir.c (etir_sta): Change psect to unsigned.
(alloc_section): Change idx to unsigned.
(tir_sta, tir_ctl): Change psect to unsigned.
(_bfd_vms_write_tir): Change len and before to bfd_size_type.
* vms.c (priv_section_count): Change to unsigned.
80 files changed:
bfd/ChangeLog
bfd/aout-adobe.c
bfd/aout-arm.c
bfd/aout-ns32k.c
bfd/aout-tic30.c
bfd/aoutx.h
bfd/bfd-in2.h
bfd/bout.c
bfd/coff-a29k.c
bfd/coff-arm.c
bfd/coff-h8300.c
bfd/coff-i386.c
bfd/coff-i860.c
bfd/coff-i960.c
bfd/coff-m68k.c
bfd/coff-m88k.c
bfd/coff-mcore.c
bfd/coff-mips.c
bfd/coff-ppc.c
bfd/coff-rs6000.c
bfd/coff-sh.c
bfd/coff-sparc.c
bfd/coff-stgo32.c
bfd/coff-tic30.c
bfd/coff-tic80.c
bfd/coff-we32k.c
bfd/coffcode.h
bfd/cofflink.c
bfd/coffswap.h
bfd/cpu-h8500.c
bfd/cpu-ns32k.c
bfd/cpu-w65.c
bfd/ecoff.c
bfd/ecofflink.c
bfd/elf-hppa.h
bfd/elf-m10200.c
bfd/elf-m10300.c
bfd/elf32-arc.c
bfd/elf32-arm.h
bfd/elf32-d10v.c
bfd/elf32-d30v.c
bfd/elf32-fr30.c
bfd/elf32-hppa.c
bfd/elf32-i386.c
bfd/elf32-i960.c
bfd/elf32-m32r.c
bfd/elf32-mcore.c
bfd/elf32-mips.c
bfd/elf32-ppc.c
bfd/elf32-sh.c
bfd/elf32-sparc.c
bfd/elf32-v850.c
bfd/elfarm-nabi.c
bfd/elfarm-oabi.c
bfd/hp300hpux.c
bfd/i386lynx.c
bfd/i386msdos.c
bfd/i386os9k.c
bfd/ieee.c
bfd/libhppa.h
bfd/m68klinux.c
bfd/mipsbsd.c
bfd/nlm32-ppc.c
bfd/nlm32-sparc.c
bfd/nlmcode.h
bfd/oasys.c
bfd/peicode.h
bfd/ppcboot.c
bfd/reloc.c
bfd/riscix.c
bfd/sparclinux.c
bfd/sunos.c
bfd/versados.c
bfd/vms-gsd.c
bfd/vms-hdr.c
bfd/vms-misc.c
bfd/vms-tir.c
bfd/vms.c
bfd/vms.h
bfd/xcofflink.c