summaryrefslogtreecommitdiff
path: root/gcc/mips-tdump.c
Commit message (Collapse)AuthorAgeFilesLines
* * gcov.c (print_version), gcov-dump.c (print_version),jsm282006-01-211-3/+3
| | | | | | | | | | | | | | | | | | mips-tdump.c (main), mips-tfile.c (main): Update copyright notice dates. fortran: * gfortranspec.c (lang_specific_driver): Update copyright notice date. java: * jv-scan.c (version), jcf-dump.c (version), gjavah.c (version): Update copyright notice dates. treelang: * spec.c (lang_specific_driver): Update copyright notice date. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110069 138bc75d-0d04-0410-961f-82ee72b054a4
* Update FSF address.kcook2005-06-251-2/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@101317 138bc75d-0d04-0410-961f-82ee72b054a4
* * bitmap.c, bitmap.h, builtin-attrs.def, cfglayout.h,kazu2004-10-151-1/+1
| | | | | | | | | | | | | | | | collect2.h, conflict.c, coretypes.h, coverage.h, errors.h, gcc.h, gcov-dump.c, gen-protos.c, gencheck.c, gencodes.c, genconstants.c, gengenrtl.c, genmodes.c, genpeep.c, gensupport.h, graph.h, gthr-gnat.c, gthr-gnat.h, gthr-posix.c, gthr-posix.h, hard-reg-set.h, hwint.h, integrate.h, libgcc2.c, lists.c, machmode.def, mips-tdump.c, opts.h, params.c, predict.def, predict.h, protoize.c, reload.h, resource.h, rtl-error.c, sbitmap.c, sbitmap.h, sreal.c, tlink.c, tree-dump.h, tree-inline.h, unwind-dw2-fde.c, unwind-dw2.c, unwind-sjlj.c, value-prof.h: Update copyright. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89097 138bc75d-0d04-0410-961f-82ee72b054a4
* * alias.c, crtstuff.c, dbxout.c, domwalk.c, domwalk.h, gcc.c,kazu2004-09-181-2/+2
| | | | | | | | | | | gcse.c, global.c, lambda-code.c, loop.c, mips-tdump.c, optabs.h, predict.c, reg-stack.c, regclass.c, sched-rgn.c, tree-optimize.c, tree-ssa-dom.c, tree-ssa-forwprop.c, tree-ssa-operands.c, tree-ssa-phiopt.c, tree-ssa-threadupdate.c: Fix comment typos. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87707 138bc75d-0d04-0410-961f-82ee72b054a4
* * bb-reorder.c, c-common.c, c-incpath.c, c-typeck.c,kazu2004-09-101-1/+1
| | | | | | | | | | genrecog.c, lambda-code.c, mips-tdump.c, mips-tfile.c, passes.c, tree-data-ref.c, tree-data-ref.h, tree-mudflap.c, tree-scalar-evolution.c, tree-ssa-copyrename.c, tree-ssa-live.c, tree-ssa-live.h: Fix comment typos. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87302 138bc75d-0d04-0410-961f-82ee72b054a4
* * alias.c alloc-pool.c bitmap.c bitmap.h bt-load.c builtins.cghazi2003-07-191-57/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | c-common.c c-decl.c c-incpath.c c-lex.c c-opts.c c-parse.in c-pragma.c c-typeck.c calls.c cfg.c cfganal.c cfgloop.c cfgrtl.c collect2.c combine.c conflict.c coverage.c cppexp.c cppfiles.c cpphash.c cppinit.c cpplex.c cpplib.c cppmacro.c cppspec.c cpptrad.c cse.c cselib.c dbxout.c defaults.h df.c dominance.c dwarf2out.c dwarfout.c emit-rtl.c except.c expmed.c expr.c final.c fix-header.c flow.c fold-const.c function.c gcc.c gccspec.c gcov.c gcse.c genattr.c genattrtab.c genautomata.c genconditions.c genemit.c genextract.c genoutput.c genrecog.c gensupport.c ggc-page.c ggc-simple.c global.c graph.c haifa-sched.c hashtable.c integrate.c jump.c langhooks.c lcm.c line-map.c local-alloc.c loop.c mips-tdump.c mips-tfile.c mkdeps.c optabs.c params.c postreload.c prefix.c print-tree.c protoize.c ra-build.c ra-colorize.c ra-rewrite.c ra.c recog.c reg-stack.c regclass.c regmove.c regrename.c reload.c reload1.c reorg.c resource.c sbitmap.c sched-deps.c sched-rgn.c sched-vis.c sdbout.c simplify-rtx.c ssa-ccp.c ssa.c stmt.c stor-layout.c timevar.c tlink.c toplev.c tree-dump.c tree.c unroll.c unwind-dw2-fde.c varasm.c varray.c vmsdbgout.c xcoffout.c: Remove unnecessary casts. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69587 138bc75d-0d04-0410-961f-82ee72b054a4
* * mips-tfile.c: Convert prototypes to ISO C90.aj2003-07-071-70/+43
| | | | | | | * mips-tdump.c: Convert prototypes to ISO C90. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69048 138bc75d-0d04-0410-961f-82ee72b054a4
* cp:ghazi2003-06-161-6/+6
| | | | | | | | | | | | | | | | | | | * cp/decl.c, cp/pt.c, cp/search.c, cp/tree.c: Don't use the PTR macro. gcc: * bitmap.c, builtins.c, c-incpath.c, cgraph.c, config/frv/frv.c, config/mips/mips.c, cppfiles.c, cpphash.c, cppinit.c, cpplib.c, dwarf2out.c, dwarfout.c, except.c, expr.c, expr.h, fold-const.c, function.c, gcc.c, genoutput.c, gensupport.c, global.c, haifa-sched.c, hashtable.c, ifcvt.c, integrate.c, local-alloc.c, loop.c, mips-tdump.c, mips-tfile.c, mkdeps.c, protoize.c, read-rtl.c, recog.h, reload1.c, sbitmap.c, ssa-dce.c, stringpool.c, tlink.c, tree.c, varasm.c, varray.c: Don't use the PTR macro. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68043 138bc75d-0d04-0410-961f-82ee72b054a4
* PR bootstrap/10169sayle2003-05-291-4/+44
| | | | | | | | | | | | | | | | | | | * mips-tfile.c (main): Use getopt_long instead of getopt. Add new command line option --version to display version. Treat --verbose like -v to report a single line version. (options): New global variable for getopt_long. * mips-tdump.c (main): Use getopt_long instead of getopt. New command line options -v, --version and -verbose to display the program version number (to match mips-tfile's behavior). (options): New global variable for getopt_long. * gcov.c (options): Zero-terminate getopt_long array. * gcov-dump.c (options): Likewise. * Makefile.in (mips-tdump.o): Add dependency on version.h. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67230 138bc75d-0d04-0410-961f-82ee72b054a4
* Merge basic-improvements-branch to trunkzack2002-12-161-0/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60174 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcc.c (default_compilers): Const-ify.ghazi2002-01-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | * mips-tdump.c (stab_names): Likewise. * mips-tfile.c (map_coff_types, map_coff_storage, map_coff_sym_type, map_coff_derived_type, stabs_symbol, pseudo_ops_t, pseudo_ops): Likewise. * protoize.c (default_include): Likewise f: * com.c (clear_binding_level): Const-ify. (ffecom_arglist_expr_): Likewise. * info.c (ffeinfo_types_): Don't needlessly zero init. * lex.c (ffelex_hash_kludge): Const-ify. java: * parse.y (src_parse_roots): Don't needlessly zero init. libiberty: * cp-demangle.c (long_options): Const-ify. * cplus-dem.c (long_options): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48485 138bc75d-0d04-0410-961f-82ee72b054a4
* 2001-10-10 Stan Shebs <shebs@apple.com>shebs2001-10-111-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * alias.c: Remove uses of "register" specifier in declarations of arguments and local variables. * c-common.c: Ditto. * c-convert.c: Ditto. * c-decl.c: Ditto. * c-format.c: Ditto. * c-semantics.c: Ditto. * c-typeck.c: Ditto. * caller-save.c: Ditto. * calls.c: Ditto. * cfg.c: Ditto. * cfgbuild.c: Ditto. * cfgrtl.c: Ditto. * collect2.c: Ditto. * combine.c: Ditto. * convert.c: Ditto. * cppexp.c: Ditto. * cppfiles.c: Ditto. * cse.c: Ditto. * dbxout.c: Ditto. * defaults.h: Ditto. * df.c: Ditto. * dwarf2out.c: Ditto. * dwarfout.c: Ditto. * emit-rtl.c: Ditto. * explow.c: Ditto. * expmed.c: Ditto. * expr.c: Ditto. * final.c: Ditto. * fix-header.c: Ditto. * floatlib.c: Ditto. * flow.c: Ditto. * fold-const.c: Ditto. * function.c: Ditto. * gcc.c: Ditto. * gcse.c: Ditto. * gen-protos.c: Ditto. * genattrtab.c: Ditto. * gencheck.c: Ditto. * genconfig.c: Ditto. * genemit.c: Ditto. * genextract.c: Ditto. * genflags.c: Ditto. * gengenrtl.c: Ditto. * genoutput.c: Ditto. * genpeep.c: Ditto. * genrecog.c: Ditto. * gensupport.c: Ditto. * global.c: Ditto. * gmon.c: Ditto. * graph.c: Ditto. * haifa-sched.c: Ditto. * hard-reg-set.h: Ditto. * hash.c: Ditto. * integrate.c: Ditto. * jump.c: Ditto. * lists.c: Ditto. * local-alloc.c: Ditto. * loop.c: Ditto. * mips-tdump.c: Ditto. * mips-tfile.c: Ditto. * optabs.c: Ditto. * prefix.c: Ditto. * print-rtl.c: Ditto. * read-rtl.c: Ditto. * real.c: Ditto. * recog.c: Ditto. * reg-stack.c: Ditto. * regclass.c: Ditto. * regmove.c: Ditto. * reload.c: Ditto. * reload1.c: Ditto. * reorg.c: Ditto. * resource.c: Ditto. * rtl.c: Ditto. * rtlanal.c: Ditto. * scan.c: Ditto. * sched-deps.c: Ditto. * sched-rgn.c: Ditto. * sdbout.c: Ditto. * simplify-rtx.c: Ditto. * stmt.c: Ditto. * stor-layout.c: Ditto. * toplev.c: Ditto. * tradcif.y: Ditto. * tradcpp.c: Ditto. * tree.c: Ditto. * unroll.c: Ditto. * varasm.c: Ditto. * xcoffout.c: Ditto. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46173 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.in, alias.c, basic-block.h, bb-reorder.c, bitmap.c,gerald2001-08-221-12/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bitmap.h, builtin-types.def, builtins.c, builtins.def, c-aux-info.c, c-common.c, c-common.def, c-common.h, c-convert.c, c-decl.c, c-dump.c, c-dump.h, c-errors.c, c-format.c, c-lang.c, c-lex.c, c-lex.h, c-parse.in, c-pragma.c, c-pragma.h, c-semantics.c, c-tree.h, c-typeck.c, caller-save.c, calls.c, collect2.c, collect2.h, combine.c, conditions.h, config.gcc, configure.frag, configure.in, conflict.c, convert.c, convert.h, cppspec.c, crtstuff.c, cse.c, cselib.c, cselib.h, dbxout.c, dbxout.h, defaults.h, dependence.c, df.c, df.h, diagnostic.c, diagnostic.h, doloop.c, dominance.c, dwarf.h, dwarf2.h, dwarf2asm.c, dwarf2asm.h, dwarf2out.c, dwarf2out.h, dwarfout.c, emit-rtl.c, errors.c, errors.h, except.c, except.h, exgettext, explow.c, expmed.c, expr.c, expr.h, final.c, fixproto, flags.h, flow.c, fold-const.c, fp-test.c, function.c, function.h, gbl-ctors.h, gcc.c, gcc.h, gcc.hlp, gccspec.c, gcov-io.h, gcse.c, genattr.c, genattrtab.c, gencheck.c, gencodes.c, genconfig.c, genemit.c, genextract.c, genflags.c, gengenrtl.c, genmultilib, genopinit.c, genoutput.c, genpeep.c, genrecog.c, gensupport.c, gensupport.h, ggc-callbacks.c, ggc-common.c, ggc-none.c, ggc-page.c, ggc-simple.c, ggc.h, global.c, graph.c, graph.h, gthr-aix.h, gthr-dce.h, gthr-posix.h, gthr-rtems.h, gthr-single.h, gthr-solaris.h, gthr-vxworks.h, gthr-win32.h, gthr.h, haifa-sched.c, halfpic.c, halfpic.h, hard-reg-set.h, hwint.h, ifcvt.c, input.h, insn-addr.h, integrate.c, integrate.h, jump.c, lcm.c, libgcc2.c, libgcc2.h, lists.c, local-alloc.c, loop.c, loop.h, machmode.def, machmode.h, main.c, mbchar.c, mbchar.h, mips-tdump.c, mips-tfile.c, mklibgcc.in, mkmap-flat.awk, mkmap-symver.awk, optabs.c, output.h, params.c, params.def, params.h, predict.c, predict.def, predict.h, prefix.c, prefix.h, print-rtl.c, print-tree.c, profile.c, protoize.c, read-rtl.c, real.c, real.h, recog.c, recog.h, reg-stack.c, regclass.c, regmove.c, regrename.c, regs.h, reload.c, reload.h, reload1.c, reorg.c, resource.c, resource.h, rtl.c, rtl.def, rtl.h, rtlanal.c, sbitmap.c, sbitmap.h, sched-deps.c, sched-ebb.c, sched-int.h, sched-rgn.c, sched-vis.c, sdbout.c, sdbout.h, sibcall.c, simplify-rtx.c, ssa-ccp.c, ssa-dce.c, ssa.c, ssa.h, stmt.c, stor-layout.c, stringpool.c, system.h, timevar.c, timevar.def, timevar.h, tlink.c, toplev.c, toplev.h, tree.c, tree.def, tree.h, tsystem.h, unroll.c, unwind-dw2-fde.c, unwind-dw2-fde.h, unwind-dw2.c, unwind-pe.h, unwind-sjlj.c, unwind.h, unwind.inc, varasm.c, varray.c, varray.h, xcoffout.c, xcoffout.h: replace "GNU CC" with "GCC". git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45105 138bc75d-0d04-0410-961f-82ee72b054a4
* * c-lex.c: NULL_PTR -> NULL.ghazi2001-05-021-11/+11
| | | | | | | | | | | | | | | | | * cse.c: Likewise. * emit-rtl.c: Likewise. * gcse.c: Likewise. * genpeep.c: Likewise. * jump.c: Likewise. * mips-tdump.c: Likewise. * reload1.c: Likewise. * rtlanal.c: Likewise. * stmt.c: Likewise. * stor-layout.c: Likewise. * toplev.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41761 138bc75d-0d04-0410-961f-82ee72b054a4
* * mips-tfile.c: Cast arg to PTR when specifier is HOST_PTR_PRINTF.ghazi2001-03-121-78/+48
| | | | | | | | | | | | | | | (__proto, PTR_T, CPTR_T): Delete, use PARAMS/PTR instead. (local_index, local_rindex): Delete, use strchr/strrchr instead. (copy_object): Fix format specifier vs argument mismatch. * mips-tdump.c: Make local functions static. (rindex): Don't #undef. (__proto, PTR_T, CPTR_T): Delete, use PARAMS/PTR instead. (fatal, fancy_abort): Delete. (read_seek): Avoid signed/unsigned compare. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40391 138bc75d-0d04-0410-961f-82ee72b054a4
* * mips-tdump.c (read_seek): Call xmalloc, not malloc.kenner2001-03-101-1/+1
| | | | | | | * mips-tfile.c: Don't #undef rindex; not used. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40366 138bc75d-0d04-0410-961f-82ee72b054a4
* Add blankskenner2001-02-031-4/+4
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39432 138bc75d-0d04-0410-961f-82ee72b054a4
* * optabs.c (init_optabs): Initialize fixtab, fixtrunctab, floattab,gkm2000-08-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and extendtab within their proper array boundaries. * emit-rtl.c (init_emit_once): Pass `const_tiny_rtx' with bounds for the entire array. * config/arm/arm.c (arm_override_options): Use ARRAY_SIZE. * config/alpha/alpha.c (alpha_lookup_xfloating_lib_func): Likewise. * config/avr/avr.c (order_regs_for_local_alloc): Likewise. * config/fr30/fr30.c (fr30_print_operand): Likewise. * config/i386/dgux.c (output_options): Likewise. * config/i386/dgux.h (ASM_FILE_START): Likewise. * config/m88k/m88k.c (output_options): Likewise. * config/m88k/m88k.h (ASM_FILE_START): Likewise. * config/mcore/mcore.c (mcore_output_inline_const_forced, layout_mcore_frame, handle_structs_in_regs): Likewise. * config/mips/mips.c (output_block_move): Likewise. * config/rs6000/rs6000.c (rs6000_override_options, rs6000_file_start): Likewise. * config/sparc/sparc.c (sparc_add_gc_roots): Likewise. * fixinc/fixfixes.c (FIX_TABLE_CT): Likewise. * fixinc/fixtests.c (TEST_TABLE_CT): Likewise. * builtins.c (expand_builtin_setjmp): Likewise. * expr.c (safe_from_p): Likewise. * flow.c (life_analysis): Likewise. * fold-const.c (size_int_type_wide): Likewise. * gcc.c (translate_options, init_spec, set_spec, main): Likewise. * genattrtab.c (make_length_attrs): Likewise. * genopinit.c (gen_insn): Likewise. * genrecog.c (NUM_KNOWN_PREDS, NUM_SPECIAL_MODE_PREDS): Likewise. * global.c (global_alloc): Likewise. * local-alloc.c (find_free_reg): Likewise. * mips-tdump.c (print_symbol): Likewise. * mips-tfile.c (parse_def, parse_input): Likewise. * reload1.c (NUM_ELIMINABLE_REGS): Likewise. * stmt.c (expand_nl_goto_receiver): Likewise. * stor-layout.c (set_sizetype): Likewise. * varasm.c (decode_reg_name): Likewise. * toplev.c (decode_f_option, decode_W_option, set_target_switch, print_switch_values): Likewise. (NUM_ELEM): Remove macro. (display_help, main): s/NUM_ELEM/ARRAY_SIZE/ git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@35949 138bc75d-0d04-0410-961f-82ee72b054a4
* Update copyrightsghazi2000-01-171-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31465 138bc75d-0d04-0410-961f-82ee72b054a4
* * machmode.h: PROTO -> PARAMS.ghazi2000-01-171-3/+3
| | | | | | | | | | | | | | | | | | | | * mbchar.h: Likewise. * mips-tdump.c: Likewise. * mips-tfile.c: Likewise. * optabs.c: Likewise. * output.h: Likewise. * prefix.c: Likewise. * profile.c: Likewise. * protoize.c: Likewise. * real.h: Likewise. * recog.c: Likewise. * recog.h: Likewise. * regclass.c: Likewise. * regmove.c: Likewise. * regs.h: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31459 138bc75d-0d04-0410-961f-82ee72b054a4
* * c-pragma.c (handle_pragma_token): Wrap variables `name' andghazi1999-09-141-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | `value' in HANDLE_PRAGMA_WEAK. Wrap variable `align' in HANDLE_PRAGMA_PACK||HANDLE_PRAGMA_PACK_PUSH_POP. * genrecog.c (make_insn_sequence): Call memset, not bzero. * jump.c (find_insert_position): Don't declare or define unless !HAVE_conditional_arithmetic. (returnjump_p_1, delete_prior_computation): Add static prototypes. * mips-tdump.c (fatal, fancy_abort, main): Add extern prototypes. * recog.c (offsettable_address_p): Prototype function pointer. (preprocess_constraints): Call memset, not bzero. * tree.c (tree_node_kind_names): Constify a char*. Make static. (gcc_obstack_init): Don't declare. (fix_sizetype): Add static prototype. (gcc_obstack_init): Use prototype casts in call to _obstack_begin. (tree_cons): Call memset, not bzero. * varasm.c (remove_from_pending_weak_list): Wrap declaration and definition in macro ASM_WEAKEN_LABEL. (mark_const_hash_entry): Add static prototype. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29410 138bc75d-0d04-0410-961f-82ee72b054a4
* * system.h (sbrk, malloc, calloc, realloc): Backup prototypesghazi1999-09-081-12/+0
| | | | | | | | | | changed from extern char *, to extern PTR. Also fix typo in NEED_DECLARATION_REALLOC test. * mips-tdump.c (malloc, calloc, realloc): Don't prototype. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29210 138bc75d-0d04-0410-961f-82ee72b054a4
* Merge in gcc2-ss-010999law1999-09-071-2/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29150 138bc75d-0d04-0410-961f-82ee72b054a4
* * c-aux-info.c (concat): Don't define.ghazi1999-09-071-23/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * cccp.c (my_strerror): Likewise. All callers changed to use xstrerror instead. (do_include): Call xstrdup, not xmalloc/strcpy. (grow_outbuf): Don't check if xrealloc returns NULL, it can't. (xmalloc, xrealloc, xcalloc, xstrdup): Don't define. * collect2.c (my_strsignal): Likewise. All callers changed to use strsignal instead. (locatelib): Call xstrdup, not xmalloc/strcpy. * 1750a.h (ASM_OUTPUT_INTERNAL_LABEL): Call xmalloc, not malloc. * dsp16xx.c (override_options): Call xstrdup, not xmalloc/strcpy. * i370.h (ASM_DECLARE_FUNCTION_NAME): Call xmalloc, not malloc. * mips.c (build_mips16_call_stub): Call xstrdup, not xmalloc/strcpy. * cppinit.c (cpp_options_init): Call xcalloc, not xmalloc/bzero. * dwarfout.c (dwarfout_init): Call concat, not xmalloc/strcpy/... * except.c (new_eh_region_entry): Call xmalloc/xrealloc, not malloc/realloc. (find_all_handler_type_matches): Likewise. Don't check return value. (get_new_handler, init_insn_eh_region, process_nestinfo): Call xmalloc, not malloc. (init_eh_nesting_info): Likewise. Call xcalloc, not xmalloc/bzero. * gcc.c (xstrerror, xmalloc, xrealloc): Don't define. (init_spec): Call xcalloc, not xmalloc/bzero. (set_spec): Call xstrdup, not save_string. (record_temp_file): Call xstrdup, not xmalloc/strcpy. (find_a_file): Call xstrdup, not xmalloc/strcpy. (process_command): Call xstrdup, not save_string. (main): Call xcalloc, not xmalloc/bzero. * gcov.c (xmalloc): Don't define. (create_program_flow_graph): Call xcalloc, not xmalloc/bzero. (scan_for_source_files): Call xstrdup, not xmalloc/strcpy. (output_data): Call xcalloc, not xmalloc/bzero. * haifa-sched.c (schedule_insns): Call xcalloc, not xmalloc/bzero. * mips-tdump.c (xmalloc): Don't define. (print_symbol): Call xmalloc, not malloc. (read_tfile): Call xcalloc, not calloc. * mips-tfile.c (xfree, my_strsignal, xmalloc, xcalloc, xrealloc): Don't define. All callers of xfree/my_strsignal changed to use free/strsignal instead. (allocate_cluster): Call xcalloc, not calloc. * objc/objc-act.c (lang_init): Call concat, not xmalloc/strcpy/... Fix memory leak, free allocated memory. * prefix.c (translate_name): Call xstrdup, not save_string. (update_path): Likewise. * profile.c (branch_prob): Call xstrdup, not xmalloc/strcpy. * protoize.c (xstrerror, xmalloc, xrealloc, xfree, savestring2): Don't define. Callers of xfree/savestring2 changed to use free/concat instead. * reload1.c (reload): Call xcalloc, not xmalloc/bzero. (init_elim_table): Likewise. * resource.c (init_resource_info): Likewise. * stupid.c (stupid_life_analysis): Likewise. * toplev.c (xmalloc, xcalloc, xrealloc, xstrdup): Don't define. (open_dump_file): Call concat, not xmalloc/strcpy/... (clean_dump_file): Likewise. (compile_file): Call xstrdup, not xmalloc/strcpy. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29148 138bc75d-0d04-0410-961f-82ee72b054a4
* * mips-tdump.c (print_file_desc): Handle unknown filenames andlaw1999-01-171-5/+8
| | | | | | | missing local symbols. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24729 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix copyrights.law1999-01-061-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24529 138bc75d-0d04-0410-961f-82ee72b054a4
* Warning fixes:ghazi1999-01-041-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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24479 138bc75d-0d04-0410-961f-82ee72b054a4
* * system.h: Include libiberty.h.ghazi1998-11-271-39/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@23931 138bc75d-0d04-0410-961f-82ee72b054a4
* Warning fixes:ghazi1998-06-221-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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20654 138bc75d-0d04-0410-961f-82ee72b054a4
* typo typo fixes fixeslaw1998-05-061-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19601 138bc75d-0d04-0410-961f-82ee72b054a4
* More system.h cutover...ghazi1998-05-061-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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19573 138bc75d-0d04-0410-961f-82ee72b054a4
* dummy commit before mergelaw1998-04-031-2/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18980 138bc75d-0d04-0410-961f-82ee72b054a4
* reformat a little to match GNU coding standards.mrs1997-05-061-3/+3
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14024 138bc75d-0d04-0410-961f-82ee72b054a4
* formatting tweaksmrs1996-07-031-60/+60
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12390 138bc75d-0d04-0410-961f-82ee72b054a4
* (enum st): Define st_Struct, st_Union, and st_Enum.kenner1995-10-261-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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10516 138bc75d-0d04-0410-961f-82ee72b054a4
* Update FSF address.kenner1995-06-151-1/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9961 138bc75d-0d04-0410-961f-82ee72b054a4
* (type_to_string): Fix misspellings in messages.kenner1995-05-161-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9715 138bc75d-0d04-0410-961f-82ee72b054a4
* Include <time.h>. Delete ctime prototype.kenner1994-11-111-4/+4
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@8425 138bc75d-0d04-0410-961f-82ee72b054a4
* (print_global_hdr): Remove "l" from printf formatwilson1994-05-311-16/+16
| | | | | | | | | for flags. (print_sym_hdr): Add missing "l" to printf formats. (print_symbol, print_file_desc): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7404 138bc75d-0d04-0410-961f-82ee72b054a4
* (print_symbol): The index field of a global symbolwilson1994-03-081-10/+7
| | | | | | | | | | | | | | 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6711 138bc75d-0d04-0410-961f-82ee72b054a4
* (print_file_desc): Correct printf format.wilson1994-02-081-2/+2
| | | | | | | (main): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6501 138bc75d-0d04-0410-961f-82ee72b054a4
* (print_global_hdr): Fix typo in cast in ctime call.kenner1993-10-131-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@5783 138bc75d-0d04-0410-961f-82ee72b054a4
* [CROSS_COMPILE]: Include mips/a.out.h.rms1993-09-221-6/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@5381 138bc75d-0d04-0410-961f-82ee72b054a4
* Add alpha support.meissner1993-04-261-17/+58
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@4236 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix printing multiple file section.meissner1993-01-131-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@3224 138bc75d-0d04-0410-961f-82ee72b054a4
* Move #undef index/rindex up higher.meissner1992-11-101-5/+4
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@2740 138bc75d-0d04-0410-961f-82ee72b054a4
* Allow for cross compilation.meissner1992-10-291-1/+10
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@2649 138bc75d-0d04-0410-961f-82ee72b054a4
* RISC-OS System V patches for index/rindex.meissner1992-10-191-0/+6
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@2514 138bc75d-0d04-0410-961f-82ee72b054a4
* entered into RCSmycroft1992-05-071-7/+7
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@928 138bc75d-0d04-0410-961f-82ee72b054a4
* *** empty log message ***rms1992-05-061-14/+0
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@921 138bc75d-0d04-0410-961f-82ee72b054a4