Fix some gcc -Wall warnings:
authorIan Lance Taylor <ian@airs.com>
Sat, 28 Mar 1998 21:54:33 +0000 (21:54 +0000)
committerIan Lance Taylor <ian@airs.com>
Sat, 28 Mar 1998 21:54:33 +0000 (21:54 +0000)
commit26c61946fb633ecbe25126dfb5c600f09ccdc487
treeb7ecc3b12dc2db96d2033250556e3070bdeee894
parent36977730653485581033eeaa9f2bb49320d6ea9f
Fix some gcc -Wall warnings:
* ldcref.c (output_cref): Add casts to avoid warnings.
* ldfile.c (ldfile_add_arch): Likewise.
* ldlang.c (lang_leave_overlay_section): Likewise.
* lexsup.c (OPTION_COUNT): Likewise.
(parse_args): Likewise.
* emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan):
Likewise.
* emultempl/sunos.em (gld${EMULATION_NAME}_search_dir): Likewise.
* ldlang.c (lang_check): Initialize variables to avoid warnings.
* ldwrite.c (build_link_order): Likewise.
* emultempl/sunos.em (gld${EMULATION_NAME}_find_so): Likewise.
* emultempl/armcoff.em (gld${EMULATION_NAME}_before_allocation):
Remove unused variables.
ld/ChangeLog
ld/ldlang.c