aboutsummaryrefslogtreecommitdiff
path: root/binutils/coffgrok.c
AgeCommit message (Collapse)AuthorFilesLines
1998-03-28 Fix some gcc -Wall warnings:Ian Lance Taylor1-2/+4
* nlmconv.c (main): Add casts to avoid warnings. (alpha_mangle_relocs): Likewise. * objdump.c (dump_section_stabs): Likewise. * size.c (print_sysv_format): Likewise. * srcconv.c (wr_ob): Likewise. * wrstabs.c (stab_modify_type): Likewise. (stab_variable): Likewise. * nlmconv.c (main): Initialize variables to avoid warnings. * nm.c (sort_symbols_by_size): Likewise. * objdump.c (disassemble_bytes): Likewise. * wrstabs.c (stab_end_class_type): Likewise. * coffgrok.c (do_sections_p2): Change j to unsigned int. (do_lines): Change l to unsigned int. * nlmheader.y (yylex): Change i to unsigned int. * nm.c (print_symbol): Change j to long. * size.c (lprint_number): Comment out. * srconv.c (wr_ob): Change i to bfd_size_type. * sysdump.c (unit_info_list): Comment out. (object_body_list, program_structure, debug_list): Likewise. * sysinfo.y (yyerror): Return value.
1998-03-27 * coffgrok.c (do_sections_p1): Use the section's lma instead of vmaRichard Henderson1-28/+30
for the benefit of prom loaders. pr 14947
1995-01-18gcc -Wall lint.Ian Lance Taylor1-4/+9
* coffdump.c (dump_coff_scope): Cast pointer to unsigned long for printf. * coffgrok.c: Include bucomm.h. Don't declare xmalloc. (push_scope): Declare type of parameter link. * size.c: Include libiberty.h. * srconv.c: Include bucomm.h. (find_base): Declare at top of file. (wr_hd): Add default case to architecture switch. (wr_dps_start): Declare type of parameter nest. (wr_du): Comment out variables used only in commented out blocks. (wr_dus): Remove unused variable i. (wr_sc): Remove unused variables myinfo, low, and high. * strings.c: Include libiberty.h. * sysdump.c: Include <ctype.h>.
1994-07-15 * coffgrok.c (do_where): Make data with no type 'int'.Steve Chamberlain1-0/+728
(do_define): Keep info on source file of a symbol. * coffgrok.h (coff_symbol): New field. * srconv.c (PROGRAM_VERSION): Now 1.3 (wr_rl): Use external ref number for symbol. (wr_dus): Only keep one source file per debug unit. (wr_dln): Always emit line numbers for first source file, (wr_globals): Emit globals in the du of their owning source file.