aboutsummaryrefslogtreecommitdiff
path: root/gcc/mips-tdump.c
AgeCommit message (Collapse)AuthorFilesLines
1999-01-17mips-tdump.c (print_file_desc): Handle unknown filenames and missing local ↵Rainer Orth1-5/+8
symbols. * mips-tdump.c (print_file_desc): Handle unknown filenames and missing local symbols. From-SVN: r24729
1999-01-06Fix copyrights.Jeff Law1-1/+1
From-SVN: r24529
1999-01-04Warning fixes:Kaveh R. Ghazi1-14/+14
* mips-tdump.c (st_to_string, sc_to_string, glevel_to_string, lang_to_string, type_to_string): Make return type const char*. (print_symbol): Apply `const' keyword to a char*. (print_file_desc): Cast structure member `crfd' to ulong when comparing against one. * mips-tfile.c (pfatal_with_name): Apply `const' keyword to char*. (fatal, error): Add ATTRIBUTE_PRINTF_1 to prototypes. (progname, input_name): Apply `const' keyword to a char*. Don't redundantly include sys/stat.h. (alloc_info): Apply `const' keyword to a char*. (st_to_string, sc_to_string): Likewise. (hash_string): Cast variable `hash_string' to a symint_t when comparing against one. (add_string): Cast PAGE_USIZE to Ptrdiff_t when comparing against one. Likewise cast it to long when comparing against one. (add_local_symbol): Apply `const' keyword to a char*. (add_ext_symbol): Likewise. (add_unknown_tag): Likewise. (add_procedure): Cast a printf-style field width to an int. (add_file): Cast PAGE_USIZE to long when comparing against one (parse_begin): Cast a printf-style field width to an int. (parse_bend): Likewise. (parse_def): Likewise. (parse_end): Likewise. (mark_stabs): Mark parameter `start' with ATTRIBUTE_UNUSED. (parse_stabs_common): Fix format specifier. (parse_input): Change type of variable `i' to Size_t. (write_object): Fix arguments to match format specifiers. Cast variable `num_write' to long when comparing against one. (read_seek): Cast variable `sys_read' to symint_t when comparing against one. Fix arguments to match format specifiers. Cast variable `size' to long when comparing against one. (copy_object): Cast result of `sizeof' to int when comparing against one. Fix arguments to match format specifiers. Cast variable `ifd' to long when comparing against a signed value. Likewise, likewise. From-SVN: r24479
1998-11-27system.h: Include libiberty.h.Kaveh R. Ghazi1-39/+30
* system.h: Include libiberty.h. * c-aux-info.c: Remove prototypes for concat/concat3. Change function `concat' from fixed parameters to variable parameters, as is done in libiberty. All callers of concat/concat3 changed to use the new `concat' with variable args. * cccp.c: Remove things made redundant by libiberty.h and/or conform to libiberty standards. * cexp.y: Likewise. * collect2.c: Likewise. * config/1750a/1750a.h: Likewise. * cppalloc.c: Likewise. * cppexp.c: Likewise. * cppfiles.c: Likewise. * cpphash.c: Likewise. * cpplib.c: Likewise. * dyn-string.c: Likewise. * fix-header.c: Likewise. * gcc.c: Likewise. * gcov.c: Likewise. * genattr.c: Likewise. * genattrtab.c: Likewise. * gencheck.c: Likewise. * gencodes.c: Likewise. * genconfig.c: Likewise. * genemit.c: Likewise. * genextract.c: Likewise. * genflags.c: Likewise. * gengenrtl.c: Likewise. * genopinit.c: Likewise. * genoutput.c: Likewise. * genpeep.c: Likewise. * genrecog.c: Likewise. * getpwd.c: Likewise. * halfpic.c: Likewise. * hash.c: Likewise. * mips-tdump.c: Likewise. Wrap malloc/realloc/calloc prototypes in NEED_DECLARATION_* macros. * mips-tfile.c: Remove things made redundant by libiberty.h and/or conform to libiberty standards. (fatal): Fix const-ification of variable `format' in !ANSI_PROTOTYPES case. * prefix.c: Remove things made redundant by libiberty.h and/or conform to libiberty standards. * print-rtl.c: Rename variable `spaces' to `xspaces' to avoid conflicting with function `spaces' from libiberty. * profile.c: Remove things made redundant by libiberty.h and/or conform to libiberty standards. * protoize.c: Likewise. * rtl.h: Likewise. * scan.h: Likewise. * tlink.c: Likewise. * toplev.c: Likewise. * toplev.h: Likewise. * tree.h: Likewise. From-SVN: r23931
1998-06-22Warning fixes:Kaveh R. Ghazi1-2/+2
* mips-tfile.c (add_local_symbol): Cast width format specifier to int. (add_ext_symbol): Likewise. (add_file): Likewise. (parse_def): Likewise. (write_varray): Use HOST_PTR_PRINTF to print a pointer. Fix remaining format specifiers and arguments. (write_object): Likewise, several times. (read_seek): Likewise. (out_of_bounds): Likewise. (allocate_cluster): Likewise. (xmalloc): Likewise. (xcalloc): Likewise. (xrealloc): Likewise. (xfree): Likewise. * mips-tdump.c (print_symbol): Likewise. From-SVN: r20654
1998-05-06typo typo fixes fixesJeff Law1-1/+1
From-SVN: r19601
1998-05-06More system.h cutover...Kaveh R. Ghazi1-6/+1
* Makefile.in (mips-tfile.o, mips-tdump.o): Depend on system.h. * mips-tdump.c: Include system.h, remove redundant headers. * mips-tfile.c: Likewise. Convert all ctype function calls to macro versions defined in system.h. * objc/Make-lang.in (objc-act.o): Depend on system.h. * objc/objc-act.c: Include system.h, remove redundant headers. From-SVN: r19573
1998-04-03dummy commit before mergeJeff Law1-2/+2
From-SVN: r18980
1997-05-06reformat a little to match GNU coding standards.Mike Stump1-3/+3
From-SVN: r14024
1996-07-03formatting tweaksMike Stump1-60/+60
From-SVN: r12390
1995-10-26(enum st): Define st_Struct, st_Union, and st_Enum.Richard Kenner1-28/+60
(st_to_string): Handle them. (type_to_string): Add fdp argument; pass it to emit_aggregate. (print_symbol): Add fdp argument; pass it to type_to_string. Handle st_Struct, st_Union, and st_Enum. (emit_aggregate): Add fdp argument. Handle opaque types. Map through RFD entries. (print_file_desc): Pass FDR to print_symbol. (main): Pass null FDR to type_to_string. From-SVN: r10516
1995-06-15Update FSF address.Richard Kenner1-1/+2
From-SVN: r9961
1995-05-16(type_to_string): Fix misspellings in messages.Richard Kenner1-1/+1
From-SVN: r9715
1994-11-11Include <time.h>. Delete ctime prototype.Richard Kenner1-4/+4
From-SVN: r8425
1994-05-31(print_global_hdr): Remove "l" from printf format for flags.Jim Wilson1-16/+16
(print_global_hdr): Remove "l" from printf format for flags. (print_sym_hdr): Add missing "l" to printf formats. (print_symbol, print_file_desc): Likewise. From-SVN: r7404
1994-03-07(print_symbol): The index field of a global symbol is the symbol table index ↵Jim Wilson1-10/+7
of the corresponding local symbol... (print_symbol): The index field of a global symbol is the symbol table index of the corresponding local symbol, not an index into the aux table. (print_file_desc): Print out size of line number information rather than repeating line number count. (print_file_desc): The cbLineOffset field of a PDR is relative to the cbLineOffset field of the FDR. Also, when computing line_end of the last PDR, use cbLineOffset, not ilineBase. From-SVN: r6711
1994-02-08(print_file_desc): Correct printf format.Jim Wilson1-2/+2
(main): Likewise. From-SVN: r6501
1993-10-13(print_global_hdr): Fix typo in cast in ctime call.Richard Kenner1-1/+1
From-SVN: r5783
1993-09-22[CROSS_COMPILE]: Include mips/a.out.h.Richard Stallman1-6/+2
From-SVN: r5381
1993-04-26Add alpha support.Michael Meissner1-17/+58
From-SVN: r4236
1993-01-13Fix printing multiple file section.Michael Meissner1-1/+1
From-SVN: r3224
1992-11-10Move #undef index/rindex up higher.Michael Meissner1-5/+4
From-SVN: r2740
1992-10-29Allow for cross compilation.Michael Meissner1-1/+10
From-SVN: r2649
1992-10-19RISC-OS System V patches for index/rindex.Michael Meissner1-0/+6
From-SVN: r2514
1992-05-07entered into RCSCharles Hannum1-7/+7
From-SVN: r928
1992-05-06*** empty log message ***Richard Stallman1-14/+0
From-SVN: r921
1992-03-21*** empty log message ***Michael Meissner1-2/+2
From-SVN: r552
1992-03-14*** empty log message ***Michael Meissner1-0/+1
From-SVN: r490
1992-01-10Initial revisionRichard Stallman1-0/+1549
From-SVN: r175