summaryrefslogtreecommitdiff
path: root/gcc/config.in
Commit message (Collapse)AuthorAgeFilesLines
...
* * config/sparc/sparc.h (ASM_PREFERRED_EH_DATA_FORMAT,jakub2001-12-281-0/+3
| | | | | | | | | | | ASM_OUTPUT_DWARF_PCREL): Define. * config/sparc/sol2.h (ASM_PREFERRED_EH_DATA_FORMAT): Define. * configure.in (HAVE_AS_SPARC_UA_PCREL): Check whether as supports .uaword %r_disp32() and linker handles it correctly. * configure, config.in: Rebuilt. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48344 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/alpha/alpha.h (TARGET_SWITCHES): Turn onrth2001-12-161-0/+3
| | | | | | | | | MASK_EXPLICIT_RELOCS if the assembler supports it. * configure.in (HAVE_AS_EXPLICIT_RELOCS): New. * configure, config.in: Rebuild. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48054 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in: Check for ld.jakub2001-12-151-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (HAVE_LD_EH_FRAME_HDR): Define if ld supports --eh-frame-hdr option. * configure, config.in: Rebuilt. * config.gcc: Add crtbeginT.o to extra_parts where needed. * config/t-linux (LIB2ADDEH, LIB2ADDEHDEP): Use unwind-dw2-fde-glibc frame unwinding on Linux. * config/t-linux-gnulibc1 (LIB2ADDEH, LIB2ADDEHDEP): Use unwind-dw2-fde frame unwinding. * config/linux.h (STARTFILE_SPEC): Use crtbeginT.o for -static. (LINK_EH_SPEC): Define. * config/i386/gnu.h (STARTFILE_SPEC): Use crtbeginT.o for -static. * config/ia64/linux.h (STARTFILE_SPEC, LINK_EH_SPEC): Define. * config/ia64/fde-glibc.c (_Unwind_IteratePhdrCallback): Don't iterate further if pc falls into current library, but fde was not found. * config/sparc/linux.h (STARTFILE_SPEC): Use crtbeginT.o for -static if using glibc. (LINK_EH_SPEC): Define. * config/sparc/linux64.h (STARTFILE_SPEC32, STARTFILE_SPEC64): Use crtbeginT.o for -static. (LINK_EH_SPEC): Define. * config/sparc/t-linux64 (EXTRA_MULTILIB_PARTS): Add crtbeginT.o. * Makefile.in (crtbeginT.o): Add rule. * gcc.c (init_gcc_specs): For -static-libgcc, use -lgcc -lgcc_eh. If neither -static-libgcc nor -shared-libgcc is passed and -shared, use -lgcc if LINK_EH_SPEC is defined and -lgcc_s -lgcc if not. If none of the above switches are passed, use -lgcc -lgcc_eh. (init_spec): If LINK_EH_SPEC is defined, prepend it to link_spec. * mklibgcc.in: Don't include LIB2ADDEH objects into libgcc.a if creating libgcc_s.so, put them into separate libgcc_eh.a instead. * unwind-dw2-fde.c: Don't include any headers if this file is included from other .c file. * unwind-dw2-fde-glibc.c: New file. * crtstuff.c (USE_PT_GNU_EH_FRAME, USE_EH_FRAME_REGISTRY): Define. Use it instead of EH_FRAME_SECTION_NAME where appropriate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48039 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in (AC_CHECK_FUNCS): Delete strtoul, bsearch, popen,ghazi2001-12-011-16/+1
| | | | | | | | | | | | strchr, strrchr, isascii, gettimeofday. * config.in, configure: Regenerate. f: * Make-lang.in: Delete references to proj.[co], proj-h.[co]. * proj.c: Delete file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47501 138bc75d-0d04-0410-961f-82ee72b054a4
* Purge cruft now we have build libiberty.zack2001-11-301-10/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Makefile.in (OBSTACK, VFPRINTF, DOPRINT, STRSTR, HOST_OBSTACK, HOST_VFPRINTF, HOST_DOPRINT, HOST_STRSTR, USE_HOST_OBSTACK, USE_HOST_VFPRINTF, USE_HOST_DOPRINT, USE_HOST_STRSTR): Delete variables. (vfprintf.o, doprint.o, strstr.o, splay-tree.o, obstack.o, hashtab.o, safe-ctype.o, $(HOST_PREFIX_1)obstack.o, $(HOST_PREFIX_1)vfprintf.o, $(HOST_PREFIX_1)doprint.o, $(HOST_PREFIX_1)strstr.o), $(HOST_PREFIX_1)): Delete rules. (LIBIBERTY, BUILD_LIBIBERTY): New variables. (LIBDEPS): Now just $(INTLDEPS) $(LIBIBERTY). (LIBS): Now just $(INTLLIBS) @LIBS@ $(LIBIBERTY). (HOST_LIBDEPS): Now just $(BUILD_LIBIBERTY). (HOST_LIBS): Ditto. (HOST_RTL): Remove hashtab.o safe-ctype.o. (OBJS): Remove splay-tree.o. (gen-protos): Depend on $(HOST_LIBS), not ../libiberty/libiberty.a. (distclean): No need to delete splay-tree.c obstack.c hashtab.c safe-ctype.c. (mostlyclean): Delete build copies of print-rtl.c bitmap.c errors.c ggc-none.c (all prefixed with $(HOST_PREFIX_1). * aclocal.m4 (gcc_AC_FUNC_VFPRINTF_DOPRNT, gcc_AC_FUNC_STRSTR): Delete. * configure.in: Don't use them. Set and substitute @FORBUILD@. * config.in, configure: Regenerate. * doprint.c: Move to libiberty/_doprnt.c. * doc/configterms.texi: Document that libiberty is now built up to three times. Fix typo. * f/Make-lang.in (f/fini, f/intdoc): Depend on $(HOST_LIBDEPS) and link with $(HOST_LIBS), not safe-ctype.o. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47475 138bc75d-0d04-0410-961f-82ee72b054a4
* * collect2.c: Check HAVE_DUP2 instead of NO_DUP2.ghazi2001-11-271-4/+8
| | | | | | | | | | (dup2): Make static and add prototype. * m68k/plexus.h: Don't define NO_DUP2. * configure.in (AC_CHECK_FUNCS): Add dup2. * config.in, configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47379 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in (HAVE_AS_GDWARF2_DEBUG_FLAG): Define.geoffk2001-11-201-0/+5
| | | | | | | | | | | | | | | | (HAVE_AS_GSTABS_DEBUG_FLAG): Define. * configure: Regenerate. * config.in: Add dummy definitions of new flags. * toplev.c (PREFERRED_DEBUGGING_TYPE): Move definition to... * defaults.h (PREFERRED_DEBUGGING_TYPE): ... here. * gcc.c (ASM_DEBUG_SPEC): New macro. (asm_debug): New static variable. (default_compilers): Add asm_debug when assembling from user input. (static_specs): Add asm_debug. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47210 138bc75d-0d04-0410-961f-82ee72b054a4
* * ChangeLog.2, ChangeLog.3, ChangeLog.4, ChangeLog.5, ChangeLog,jsm282001-11-111-1/+1
| | | | | | | | | | | | cfg.c, cfganal.c, cfgcleanup.c, cfglayout.c, cfgloop.c, cfgrtl.c, collect2.c, combine.c, config.in, configure, configure.in, conflict.c, dwarf2out.c, dwarfout.c, except.c, final.c, flow.c, genattrtab.c, ggc-page.c, jump.c, lcm.c, predict.c, reg-stack.c, reload1.c, rtlanal.c, sched-rgn.c, toplev.c, unwind-dw2-fde.h: Fix spelling errors. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46928 138bc75d-0d04-0410-961f-82ee72b054a4
* * aclocal.m4 (AM_WITH_NLS): AC_DEFINE HAVE_LIBINTL_H andzack2001-10-191-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | USE_INCLUDED_LIBINTL when appropriate. * configure, config.in: Regenerate. * Makefile.in (datadir): Set to @datadir@. (intl.o): Also depend on $(CONFIG_H) and system.h. * intl.c: Factor out common gettext initialization sequence. (gcc_init_libintl): New function. * intl.h: Include intl/libgnuintl.h if USE_INCLUDED_LIBINTL; otherwise include libintl.h if HAVE_LIBINTL_H; otherwise turn off NLS. Add multiple include guard. No need to #ifdef-guard an #undef. Prototype gcc_init_libintl here. * collect2.c (main), cppmain.c (general_init), gcc.c (main), gcov.c (main), protoize.c (main), toplev.c (toplev_main): Use gcc_init_libintl. intl: * Makefile.in: Don't copy libgnuintl.h anywhere. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46348 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in (HAVE_AS_GOTOFF_IN_DATA): New x86 check.rth2001-10-171-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | * configure, config.in: Rebuild. * config/i386/i386.c (ix86_output_addr_vec_elt): New. (ix86_output_addr_diff_elt): New. * config/i386/i386.h (ASM_OUTPUT_ADDR_VEC_ELT): Use them. (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise. (JUMP_TABLES_IN_TEXT_SECTION): New. * config/i386/i386.md (tablejump): Handle HAVE_AS_GOTOFF_IN_DATA. * config/i386/i386-protos.h: Update. * config/i386/386bsd.h, config/i386/beos-elf.h, config/i386/freebsd-aout.h, config/i386/freebsd.h, config/i386/i386-interix.h, config/i386/i386elf.h, config/i386/linux.h, config/i386/netbsd-elf.h, config/i386/netbsd.h, config/i386/openbsd.h, config/i386/ptx4-i.h, config/i386/rtemself.h, config/i386/sco5.h, config/i386/sysv4.h, config/i386/x86-64.h (ASM_OUTPUT_ADDR_DIFF_ELT, JUMP_TABLES_IN_TEXT_SECTION): Remove. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46303 138bc75d-0d04-0410-961f-82ee72b054a4
* top:zack2001-10-121-19/+66
| | | | | | | | | | | | | | | | | | | | * ABOUT-NLS, aclocal.m4: Update i18n framework from gettext 0.10.40. * configure.in, Makefile.in: Take out obsolete check-po logic. * configure, config.in: Regenerate. intl: * Update entire directory from gettext 0.10.40. * cat-compat.c, linux-msg.sed, po2tbl.sed.in, xopen-msg.sed: Removed. * config.charset, dcigettext.c, dcngettext.c, libgnuintl.h, localcharset.c, locale.alias, ngettext.c, plural.c, plural.y, ref-add.sin, ref-del.sin: New. po: * Makefile.in.in: Upgrade to gettext-0.10.40. * cat-id-tbl.c: Remove file. * stamp-cat-id: Remove file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46233 138bc75d-0d04-0410-961f-82ee72b054a4
* 2001-09-30 H.J. Lu <hjl@gnu.org>hjl2001-09-301-3/+4
| | | | | | | | * acconfig.h (PREFIX_INCLUDE_DIR): New variable. * config.in: Rebuild. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45911 138bc75d-0d04-0410-961f-82ee72b054a4
* * cppdefault.c (cpp_include_defaults): Also search PREFIX_INCLUDE_DIR.bothner2001-09-291-0/+2
| | | | | | | | | | * Makefile.in (includedir): Rename to local_includedir. (includedir): Define as $(prefix)/include. * config.in (PREFIX_INCLUDE_DIR): New variable. * configure.in (PREFIX_INCLUDE_DIR): Test for new variable. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45884 138bc75d-0d04-0410-961f-82ee72b054a4
* * cpplex.c (cpp_output_token): Use a putc loop forzack2001-09-281-1/+13
| | | | | | | | | | | | SPELL_OPERATOR, and fwrite for SPELL_IDENT. * configure.in: Detect fwrite_unlocked and fprintf_unlocked. * configure, config.in: Regenerate. * system.h: Replace fwrite and fprintf with their unlocked variants if available. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45855 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in: Check whether assembler supports section merging.jakub2001-09-111-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * config.in: Rebuilt. * configure: Rebuilt. * varasm.c (variable_section, output_constant_pool): Pass alignment to SELECT_SECTION and SELECT_RTX_SECTION. (mergeable_string_section): New. (mergeable_constant_section): New. (default_elf_asm_named_section): Output SECTION_MERGE and SECTION_STRINGS flags plus SECTION_ENTSIZE entity size. * output.h (mergeable_string_section): New. (mergeable_constant_section): New. (SECTION_MERGE, SECTION_STRINGS, SECTION_ENTSIZE): Define. * toplev.c (flag_merge_constants): New. (f_options): Add -fmerge-constants and -fmerge-all-constants options. (toplev_main): Default to -fno-merge-constants if not optimizing. * flags.h (flag_merge_constants): Add extern. * invoke.texi (-fmerge-constants, -fmerge-all-constants): Document. * tm.texi (SELECT_SECTION, SELECT_RTX_SECTION): Document added third argument. * config/elfos.h (ASM_SECTION_START_OP, ASM_OUTPUT_SECTION_START): Define if assembler has working .subsection -1 support. (SELECT_RTX_SECTION, SELECT_SECTION): Add third macro argument. Put constant into special SHF_MERGE sections if the linker should attempt to merge duplicates. * config/ia64/sysv4.h (SELECT_RTX_SECTION, SELECT_SECTION): Add third macro argument. Put constant into special SHF_MERGE sections if the linker should attempt to merge duplicates. * config/alpha/elf.h: Likewise. (ASM_SECTION_START_OP, ASM_OUTPUT_SECTION_START): Define if assembler has working .subsection -1 support. * config/nextstep.h: Add third argument to SELECT_RTX_SECTION and SELECT_SECTION. * config/svr3.h: Likewise. * config/darwin.h: Likewise. * config/arm/aof.h: Likewise. * config/arm/linux-elf.h: Likewise. * config/avr/avr.h: Likewise. * config/c4x/c4x.h: Likewise. * config/d30v/d30v.h: Likewise. * config/i386/dgux.h: Likewise. * config/i386/osfrose.h: Likewise. * config/i386/sco5.h: Likewise. * config/i386/svr3gas.h: Likewise. * config/ia64/aix.h: Likewise. * config/m32r/m32r.h: Likewise. * config/m68k/m68k.h: Likewise. * config/m88k/dgux.h: Likewise. * config/m88k/m88k.h: Likewise. * config/mcore/mcore-pe.h: Likewise. * config/mips/mips.h: Likewise. * config/pa/pa.h: Likewise. * config/pa/pa-linux.h: Likewise. * config/romp/romp.h: Likewise. * config/rs6000/sysv4.h: Likewise. * config/rs6000/xcoff.h: Likewise. * config/s390/linux.h: Likewise. * config/sparc/sparc.h: Likewise. * config/sparc/sysv4.h: Likewise. * config/stormy16/stormy16.h: Likewise. * config/v850/v850.h: Likewise. * config/vax/vms.h: Likewise. * config/arm/arm.c (arm_elf_asm_named_section): Output SECTION_MERGE and SECTION_STRINGS flags plus SECTION_ENTSIZE entity size. * config/sparc/sparc.c (sparc_elf_asm_named_section): Use default_elf_asm_named_section for SHF_MERGE sections. * com.c (ffe_init_options): Default to -fmerge-all-constants if optimizing. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45548 138bc75d-0d04-0410-961f-82ee72b054a4
* For PR java/2812:tromey2001-07-181-6/+6
| | | | | | | | | | * configure: Rebuilt. * configure.in: Don't check for iconv.h or iconv(); use AM_ICONV instead. * aclocal.m4 (AM_ICONV): New macro from Bruno Haible. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44119 138bc75d-0d04-0410-961f-82ee72b054a4
* * basic-block.h (CLEANUP_PRE_SIBCALL): New constant.hubicka2001-07-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * except.c (finish_eh_generation): Update call of cleanup_cfg; do rebuild_jump_labels instead of jump_optimize * sibcall.c (optimize_sibling_and_tail_recursive_call): Likewise. * toplev.c (rest_of_compulation): Likewise for -Wreturn_type. * flow.c (try_optimize_cfg): Remove unneeded code_labels. * flow.c: Include timevar.h (find_basic_block): Push/pop timevar; (cleanup_cfg): Likewise. * timevar.def (TV_CFG, TV_CLEANUP_CFG): New. * Makefile: Add dependencies on timevar.h * integrate.c (save_for_inline): Kill all BASIC_BLOCK notes. (copy_insn_list): Avoid killing of BASIC_BLOCK notes. * rtl.h (delete_trivially_dead_insns): Add new parameter. * toplev.c (rest_of_compilation): Update calls. * cse.c (set_live_p, insn_live_p, dead_libcall_p): Break out from ... (delete_trivially_dead_insns): ... here; accept new argument preserve_basic_blocks; preserve basic blocks if set. * reg-stack.c (stack_regs_mentioned): Return 0 if stack_regs_mentioned_data is not initialized. (reg_to_stack): Make stack_regs_mentioned survive after the reg-stack is completted; do not call cleanup_cfg. * toplev.c (rest_of_compilation): Do cleanup_cfg before bb-reorder; make cleanup_cfg after bb-reorder to output to debug file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44056 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.in (final.o): Depend on target.h.neil2001-07-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * final.c: Include target.h. (default_function_pro_epilogue): New. (final_start_function): Use target structure for function prologues. (final_end_function): Use target structure for function epilogues. * fold-const.c (real_hex_to_f): Constify s and p. * output.h (default_function_pro_epilogue): New. * real.h (real_hex_to_f): Update prototype. * target-def.h (TARGET_ASM_FUNCTION_PROLOGUE, TARGET_ASM_FUNCTION_EPILOGUE, TARGET_ASM_OUT): New. (TARGET_INITIALIZER): Update. * target.h (gcc_target): Add struct asm_out. * doc/tm.texi: Update. config: Update each arch to use TARGET_ASM_FUNCTION_PROLOGUE and TARGET_ASM_FUNCTION_EPILOGUE. Move macro code to functions in cpu/cpu.c, or rename old functions consistently. Take a HOST_WIDE INT not an int as the SIZE parameter. Remove now redundant macros and prototypes. Make new functions static. * 1750a/1750a.c: Similarly. * 1750a/1750a.h: Similarly. * a29k/a29k-protos.h: Similarly. * a29k/a29k.c: Similarly. * a29k/a29k.h: Similarly. * arc/arc-protos.h: Similarly. * arc/arc.c: Similarly. * arc/arc.h: Similarly. * arm/arm-protos.h: Similarly. * arm/arm.c: Similarly. * arm/arm.h: Similarly. * avr/avr-protos.h: Similarly. * avr/avr.c: Similarly. * avr/avr.h: Similarly. * clipper/clipper-protos.h: Similarly. * clipper/clipper.c: Similarly. * clipper/clipper.h: Similarly. * convex/convex.c: Similarly. * convex/convex.h: Similarly. * d30v/d30v-protos.h: Similarly. * d30v/d30v.c: Similarly. * d30v/d30v.h: Similarly. * d30v/d30v.md: Similarly. * dsp16xx/dsp16xx-protos.h: Similarly. * dsp16xx/dsp16xx.c: Similarly. * dsp16xx/dsp16xx.h: Similarly. * elxsi/elxsi.c: Similarly. * elxsi/elxsi.h: Similarly. * fr30/fr30.c: Similarly. * fr30/fr30.md: Similarly. * h8300/h8300-protos.h: Similarly. * h8300/h8300.c: Similarly. * h8300/h8300.h: Similarly. * i370/i370-protos.h: Similarly. * i370/i370.c: Similarly. * i370/i370.h: Similarly. * i386/i386.c: Similarly. * i386/osf1elf.h: Similarly. * i386/osfrose.h: Similarly. * i860/i860-protos.h: Similarly. * i860/i860.c: Similarly. * i860/i860.h: Similarly. * i960/i960-protos.h: Similarly. * i960/i960.c: Similarly. * i960/i960.h: Similarly. * ia64/ia64-protos.h: Similarly. * ia64/ia64.c: Similarly. * ia64/ia64.h: Similarly. * m32r/m32r-protos.h: Similarly. * m32r/m32r.c: Similarly. * m32r/m32r.h: Similarly. * m68hc11/m68hc11-protos.h: Similarly. * m68hc11/m68hc11.c: Similarly. * m68hc11/m68hc11.h: Similarly. * m68k/crds.h: Similarly. * m68k/dpx2.h: Similarly. * m68k/m68k-protos.h: Similarly. * m68k/m68k.c: Similarly. * m68k/m68k.h: Similarly. * m68k/news.h: Similarly. * m88k/m88k-protos.h: Similarly. * m88k/m88k.c: Similarly. * m88k/m88k.h: Similarly. * mips/mips-protos.h: Similarly. * mips/mips.c: Similarly. * mips/mips.h: Similarly. * ns32k/merlin.h: Similarly. * ns32k/ns32k.c: Similarly. * ns32k/ns32k.h: Similarly. * ns32k/tek6000.h: Similarly. * pa/pa-protos.h: Similarly. * pa/pa.c: Similarly. * pa/pa.h: Similarly. * pdp11/2bsd.h: Similarly. * pdp11/pdp11-protos.h: Similarly. * pdp11/pdp11.c: Similarly. * pdp11/pdp11.h: Similarly. * romp/romp-protos.h: Similarly. * romp/romp.c: Similarly. * romp/romp.h: Similarly. * rs6000/rs6000-protos.h: Similarly. * rs6000/rs6000.c: Similarly. * rs6000/rs6000.h: Similarly. * rs6000/sysv4.h: Similarly. * sh/sh-protos.h: Similarly. * sh/sh.c: Similarly. * sh/sh.h: Similarly. * sparc/sparc-protos.h: Similarly. * sparc/sparc.c: Similarly. * sparc/sparc.h: Similarly. * vax/vax.c: Similarly. * vax/vax.h: Similarly. * vax/vms.h: Similarly. * we32k/we32k.c: Similarly. * we32k/we32k.h: Similarly. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43817 138bc75d-0d04-0410-961f-82ee72b054a4
* * aclocal.m4: Quote final argument of patsubst. Usezack2001-05-261-3/+3
| | | | | | | | | | 3-argument form of AC_DEFINE. Restore quotes to [] while using AC_FD_CC. * configure.in: Remove unnecessary changequote calls. * configure, config.in: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42617 138bc75d-0d04-0410-961f-82ee72b054a4
* * aclocal.m4: Fixed typo.rth2001-05-251-3/+6
| | | | | | | | | | | (gcc_AC_HEADER_STDBOOL): Define. (gcc_AC_C__BOOL): Define. * configure.in: Use them. (AC_CHECK_HEADERS): Remove stdbool.h * configure, config.in: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42578 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in (gcc_cv_as_eh_frame): New test.rth2001-05-151-0/+3
| | | | | | | | * config.in, configure: Rebuild. * gcc.c (init_spec): Honor USE_AS_TRADITIONAL_FORMAT. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42092 138bc75d-0d04-0410-961f-82ee72b054a4
* * dbxout.c, mips-tfile.c, config/mips/mips.c, xcoffout.c:zack2001-05-011-3/+0
| | | | | | | | | | | | | | | | | | | | Always include gstab.h, not system stab.h. Don't provide default definitions of N_CATCH or N_OPT. Always use the gstab.h variant of STAB_CODE_TYPE. * final.c: Don't include stab.h/gstab.h at all, or provide defaults for N_SLINE and N_SOL. * xcoffout.c: Can assume N_MAIN, N_DSLINE, N_BSLINE, N_BINCL, N_EINCL, N_EXCL, N_M2C, N_SCOPE, N_CATCH, and N_OPT are available. * sdbout.c: Always include gsyms.h instead of system syms.h. * configure.in: No need to check for stab.h. * configure, config.in: Regenerate. * Makefile.in (final.o): Don't depend on gstab.h. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41713 138bc75d-0d04-0410-961f-82ee72b054a4
* 2001-04-23 Phil Edwards <pme@sources.redhat.com>pme2001-04-231-3/+0
| | | | | | | | | | * configure.in: Remove ENABLE_STD_NAMESPACE. * cp/decl2.c (flag_honor_std): Always initialize to 1. * config.in: Regenerated. * configure: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41497 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in: Probe for times, clock, struct tms, and clock_t.zack2001-04-201-0/+18
| | | | | | | | | * configure, config.in: Regenerate. * timevar.c: Replace ifdef forest in get_time with (relatively) straightforward series of checks based on autoconf's probes. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41471 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in (errno): Check for declaration.ghazi2001-04-121-0/+3
| | | | | | | | | * configure, config.in: Regenerated. * system.h (errno): Only declare if not already done. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41305 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in: Add check for lstat.neil2001-04-061-0/+3
| | | | | | | | | | | | | | | * configure, config.in: Regenerate. * cppinit.c (append_include_chain): Make empty path ".". * cpplib.c (do_line): Don't simplify #line paths. * cppfiles.c (remove_component_p): New function. (find_or_create_entry): Acknowledge stat () errors during path simplification. (handle_missing_header): Don't simplify paths. (_cpp_simplify_pathname): Don't simplify VMS paths. Return the empty path untouched. Don't leave a trailing '/'. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41148 138bc75d-0d04-0410-961f-82ee72b054a4
* Make -fsjlj-exceptions a configure option.rth2001-03-281-0/+3
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40905 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in: Don't check for bcopy.ghazi2001-03-281-6/+0
| | | | | | | | | * configure, config.in: Regenerate. * system.h: Don't define or prototype bcopy, instead poison it. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40898 138bc75d-0d04-0410-961f-82ee72b054a4
* * aclocal.m4 (gcc_AC_EXAMINE_OBJECT): New utility macro whichzack2001-03-161-10/+11
| | | | | | | | | | | | | | | | | | | | handles the gory details of converting an object file into something that's safe to grep. (gcc_AC_C_COMPILE_BIGENDIAN): Rename to gcc_AC_C_COMPILE_ENDIAN. Use gcc_AC_EXAMINE_OBJECT. Put newlines at either end of the string we're looking for. Make 'checking ...' message less stilted. (gcc_AC_C_FLOAT_FORMAT): Use gcc_AC_EXAMINE_OBJECT. Handle ARM in-memory layout and its hypothetical converse. Don't define HOST_FLOAT_WORDS_BIG_ENDIAN unless it's different from HOST_WORDS_BIG_ENDIAN. * configure.in: Adjust for renamed macro. Move gcc_AC_C_FLOAT_FORMAT below gcc_AC_C_COMPILE_ENDIAN. * configure, config.in: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40562 138bc75d-0d04-0410-961f-82ee72b054a4
* * dwarf2out.c: Revert most of 2000-11-25 and 2001-01-24 changes.rth2001-03-161-1/+2
| | | | | | | | | | | | | | (LN_PROLOG_AS_LABEL, LN_PROLOG_END_LABEL): New. (size_of_line_prolog): Remove. (output_line_info): Compute prologue size via label difference. (lookup_filename): Return "unspecified" for <internal> and <built-in>. * configure.in (HAVE_AS_DWARF2_DEBUG_LINE): Require that the assembler error when redefining file numbers. * config.in, configure: Rebuild. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40559 138bc75d-0d04-0410-961f-82ee72b054a4
* * aclocal.m4 (gcc_AC_C_CHARSET, gcc_AC_C_COMPILE_BIGENDIAN,zack2001-03-151-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | gcc_AC_C_FLOAT_FORMAT): New macros. * configure.in: Add AC_PROG_CPP after CC tests; gcc_AC_C_CHARSET and gcc_AC_C_FLOAT_FORMAT after the sizeof tests; and gcc_AC_C_COMPILE_BIGENDIAN after gcc_AC_C_CHAR_BIT. * configure, config.in: Regenerate. * config/a29k/xm-a29k.h, config/arc/xm-arc.h, config/arm/xm-arm.h, config/c4x/xm-c4x.h, config/convex/xm-convex.h, config/d30v/xm-d30v.h, config/i370/xm-linux.h, config/i370/xm-oe.h, config/ia64/xm-ia64.h, config/m32r/xm-m32r.h, config/m68k/xm-m68k.h, config/mips/xm-mips.h, config/pa/xm-linux.h, config/pa/xm-pa.h, config/rs6000/xm-lynx.h, config/rs6000/xm-mach.h, config/rs6000/xm-rs6000.h, config/rs6000/xm-sysv4.h, config/sparc/xm-sparc.h, config/vax/xm-vax.h, config/we32k/xm-we32k.h: Delete. * config/i370/xm-mvs.h, config/m88k/m88k.h, config/romp/xm-romp.h, config/rs6000/xm-beos.h, config/vax/xm-vms.h: Don't define any of: HOST_FLOAT_FORMAT, HOST_EBCDIC, HOST_WORDS_BIG_ENDIAN * config/rs6000/aix.h: Define COLLECT_EXPORT_LIST here. * config.gcc: Remove references to deleted files. (i370-*-opened*): Use i370/xm-mvs.h (which now defines only FATAL_EXIT_CODE, which is the same between oe and mvs). git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40478 138bc75d-0d04-0410-961f-82ee72b054a4
* * aclocal.m4 (gcc_AC_COMPILE_CHECK_SIZEOF, gcc_AC_C_CHAR_BIT,zack2001-03-141-3/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | gcc_AC_C_LONG_LONG): New. * configure.in: Use them. Probe the size of short, int, long, and long long/__int64 if we have them. Move all the AC_C_* checks together, except gcc_AC_C_CHAR_BIT which has to go after AC_CHECK_HEADERS(limits.h). Take hwint.h out of host_xm_file and build_xm_file. * hwint.h: Unconditionally define HOST_BITS_PER_CHAR, HOST_BITS_PER_SHORT, HOST_BITS_PER_INT, HOST_BITS_PER_LONG, and HOST_BITS_PER_LONGLONG in terms of SIZEOF_* and CHAR_BIT. Move the HOST_WIDEST_INT setup logic here from system.h. Provide HOST_WIDEST_INT even if HOST_BITS_PER_LONGLONG is not defined. * system.h: Include hwint.h after limits.h. HOST_WIDEST_INT is now handled by hwint.h. * config/alpha/xm-alpha-interix.h, config/alpha/xm-vms.h, config/c4x/xm-c4x.h, config/i370/xm-oe.h, config/ia64/xm-ia64.h: Don't define any of: HOST_BITS_PER_LONG, HOST_BITS_PER_CHAR, HOST_BITS_PER_SHORT, HOST_BITS_PER_LONGLONG. * config/alpha/xm-alpha.h, config/dsp16xx/xm-dsp16xx.h, config/h8300/xm-h8300.h, config/mips/iris6.h, config/mn10200/xm-mn10200.h, config/pa/xm-pa64hpux.h, config/sparc/xm-sp64.h: Delete. * config.gcc: Remove references to deleted files. * config/arm/xm-arm.h, config/mips/xm-mips.h: Don't define HOST_FLOAT_FORMAT to IEEE_FLOAT_FORMAT. * config/i370/xm-linux.h: Clarify floating-point situation in a comment. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40446 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in: Move check for unsigned enumerated bitfieldszack2001-03-121-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | to macro in aclocal.m4. Disable it for now. * configure, config.in: Regenerate. * system.h: Don't do anything with ONLY_INT_FIELDS. Use the unsigned-int form of ENUM_BITFIELD() unless being compiled by GCC. * varasm.c (struct rtx_const): Use ENUM_BITFIELD(). Move enum kind above its first use. * config/xm-interix.h, config/alpha/xm-alpha.h, config/i370/xm-linux.h, config/i386/xm-beos.h, config/i386/xm-mingw32.h, config/mips/xm-mips.h, config/pa/xm-pa.h, config/pa/xm-pa64hpux.h, config/rs6000/xm-beos.h, config/rs6000/xm-sysv4.h, Don't define ONLY_INT_FIELDS under any circumstances. * config/pa/xm-pa.h: Don't define __BSD_NET2__. * config/pa/xm-pahpux.h, config/pa/xm-papro.h, config/sparc/xm-sysv4.h: Delete - now identical with some other xm header. * config.gcc (hppa targets): Replace xm-pahpux.h and xm-papro.h with implicit xm-pa.h. (sparc targets): Replace xm-sysv4.h with implicit or explicit xm-sparc.h. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40399 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in (HAVE_AS_LEB128): New assembler check.rth2001-03-081-0/+3
| | | | | | | * configure, config.in: Rebuilt. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40326 138bc75d-0d04-0410-961f-82ee72b054a4
* libiberty:zack2001-03-061-22/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * aclocal.m4 (libiberty_AC_FUNC_C_ALLOCA): New. * configure.in: Replace all alloca logic with a simple use of the above new macro. * config.table: Kill *-*-beos* entry. * config/mh-beos: Delete. * configure, config.in: Regenerate. * Makefile.in (ALLOCA, HFILES): Kill. (REQUIRED_OFILES): Add alloca.o. (alloca.o): Depend on libiberty.h. (argv.o): Don't depend on alloca-conf.h. * alloca-conf.h: Delete. * alloca.c: Include libiberty.h. Kill all #ifdef emacs blocks. Provide the C alloca unconditionally. Use PTR where appropriate. Make i00afunc static. * argv.c: Don't include alloca-conf.h. include: * libiberty.h: Prototype C_alloca; define alloca to either __builtin_alloca or C_alloca as appropriate. gcc: * aclocal.m4 (AM_GNU_GETTEXT): Don't AC_REQUIRE AC_FUNC_ALLOCA. * configure, config.in: Regenerate. * config.gcc: Remove references to deleted files. * genattr.c, genattrtab.c, genextract.c, genoutput.c, genrecog.c, rtl.c: Do not use alloca anywhere. * Makefile.in, build-make, system.h, config/x-interix, config/x-svr4, config/xm-interix.h, config/xm-openbsd.h, config/alpha/xm-alpha.h, config/alpha/xm-vms.h, config/arc/xm-arc.h, config/arm/xm-arm.h, config/d30v/xm-d30v.h, config/dsp16xx/xm-dsp16xx.h, config/h8300/xm-h8300.h, config/i370/x-oe, config/i370/xm-linux.h, config/i386/x-aix, config/i386/x-beos, config/i386/x-ncr3000, config/i386/x-sco5, config/i386/xm-dgux.h, config/i860/x-sysv4, config/i960/xm-i960.h, config/m32r/xm-m32r.h, config/m68k/x-crds, config/m68k/x-dpx2, config/m68k/x-hp320, config/m68k/x-hp320g, config/m69k/x-mot3300, config/m68k/x-mot3300-gas, config/m68k/xm-amix.h, config/m68k/xm-hp320.h, config/m68k/xm-m68kv.h, config/m68k/xm-mot3300.h, config/m88k/x-dolph, config/m88k/x-sysv4, config/m88k/x-tekXD88, config/m88k/xm-m88k.h, config/mcore/xm-mcore.h, config/mips/x-iris, config/mips/x-iris3, config/mips/x-sni-svr4, config/mips/x-sysv, config/mips/xm-iris6.h, config/mips/xm-mips.h, config/mips/xm-nws3250v4.h, config/pa/x-hpux, config/pa/x-pa-mpeix, config/pa/xm-pa.h, config/pa/xm-pa64hpux.h, config/pa/xm-pahpux.h, config/pa/xm-papro.h, config/romp/xm-romp.h, config/rs6000/x-aix31, config/rs6000/x-aix41, config/rs6000/x-beos, config/rs6000/x-lynx, config/rs6000/x-mach, config/rs6000/x-rs6000, config/rs6000/x-sysv4, config/rs6000/xm-rs6000.h, config/rs6000/xm-sysv4.h, config/sh/xm-sh.h, config/sparc/x-sysv4, config/sparc/xm-linux.h, config/sparc/xm-pbd.h, config/sparc/xm-sparc.h, config/vax/xm-vms.h: Eradicate all references to alloca and related stuff. * config/xm-alloca.h, config/clipper/x-clix, config/i386/xm-sysv4.h, config/i860/x-fx2800, config/i860/x-sysv3, config/m88k/x-sysv3, config/sparc/xm-sol2.h, config/we32k/x-we32k: Delete (contained only alloca related hacks). * config/i386/xm-beos.h, config/rs6000/xm-beos.h: Just define USE_C_ALLOCA. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40259 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/xm-lynx.h, config/xm-std32.h, config/a29k/xm-a29k.h,zack2001-03-021-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | config/a29k/xm-unix.h, config/alpha/xm-alpha.h, config/arc/xm-arc.h, config/arm/xm-arm.h, config/c4x/xm-c4x.h, config/clipper/xm-clix.h, config/convex/xm-convex.h, config/d30v/xm-d30v.h, config/dsp16xx/xm-dsp16xx.h, config/elxsi/xm-elxsi.h, config/fr30/xm-fr30.h, config/h8300/xm-h8300.h, config/i370/xm-i370.h, config/i370/xm-linux.h, config/i370/xm-mvs.h, config/i370/xm-oe.h, config/i386/xm-aix.h, config/i386/xm-i386.h, config/i386/xm-osf.h, config/i860/xm-i860.h, config/i960/xm-i960.h, config/ia64/xm-ia64.h, config/m32r/xm-m32r.h, config/m68k/xm-m68k.h, config/m88k/xm-m88k.h, config/mcore/xm-mcore.h, config/mips/xm-mips.h, config/mn10200/xm-mn10200.h, config/mn10300/xm-mn10300.h, config/ns32k/xm-ns32k.h, config/pa/xm-linux.h, config/pa/xm-pa.h, config/pa/xm-pa64hpux.h, config/pa/xm-pahpux.h, config/pa/xm-papro.h, config/pj/xm-pj.h, config/romp/xm-romp.h, config/rs6000/xm-beos.h, config/rs6000/xm-rs6000.h, config/rs6000/xm-sysv4.h, config/sh/xm-sh.h, config/sparc/xm-sparc.h, config/sparc/xm-sysv4.h, config/v850/xm-v850.h, config/vax/xm-vax.h, config/vax/xm-vms.h, config/we32k/xm-we32k.h: Do not define TRUE or FALSE. * config/i386/xm-aix.h, config/i386/xm-osf.h: Delete; made empty by above change. * config.gcc: Remove references to these files. * configure.in: Detect stdbool.h. * configure, config.in: Regenerate. * system.h: Include stddef.h here if available. Set HAVE__BOOL based on GCC_VERSION and __STDC_VERSION__. Then set up a sensible boolean type at the very end. * combine.c, cse.c, expr.c, fold-const.c, gensupport.c, f/com.c, config/mcore/mcore.c: Rename variables named 'true' and/or 'false'. * hash.h: Delete 'boolean' typedef and related #undefs. * f/proj.h: Delete 'bool' type. Don't include stddef.h here. * function.c, ggc-common.c, hash.h, hash.c, tlink.c, cp/decl.c, java/class.c, java/decl.c, java/java-tree.h: Replace all uses of 'boolean' with 'bool'. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40176 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.in (GXX_ABI_FLAG): Don't define.mmitchel2001-02-121-3/+0
| | | | | | | | | | | | | * configure.in (--enable-new-gxx-abi): Remove option. * config.in: Regenerated. * configure: Likewise. * decl2.c (flag_vtable_thunks): Always set it to 1. (flag_new_abi): Likewise. * lang-specs.h: Remove conditional on ENABLE_NEW_GXX_ABI. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39595 138bc75d-0d04-0410-961f-82ee72b054a4
* * acconfig.h: Define `const' to the empty string if neithermmitchel2001-01-251-0/+12
| | | | | | | | __STDC__ nor __cplusplus is defined. * config.in: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39272 138bc75d-0d04-0410-961f-82ee72b054a4
* * aclocal.m4 (gcc_AC_FUNC_STRSTR): New macro.msokolov2001-01-211-0/+3
| | | | | | | | | | | | * configure.in (gcc_AC_FUNC_STRSTR): Add invokation. * configure, config.in: Regenerate. * Makefile.in (STRSTR, HOST_STRSTR, USE_HOST_STRSTR): New variables. (LIBDEPS, HOST_LIBDEPS, LIBS, HOST_LIBS): Add strstr handling. (strstr.o, $(HOST_PREFIX_1)strstr.o): New rules. (doprint.o): New rule. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39160 138bc75d-0d04-0410-961f-82ee72b054a4
* * ggc-page.c (USING_MALLOC_PAGE_GROUPS): New; set if not using mmap.rth2001-01-131-3/+0
| | | | | | | | | | | | | | | | (struct page_entry): Add group member. (struct page_group): New. (struct globals): Add page_groups member. (alloc_anon): Only define for using mmap; remove valloc call. (page_group_index): New. (set_page_group_in_use): New. (clear_page_group_in_use): New. (alloc_page): Implement USING_MALLOC_PAGE_GROUPS. (free_page, release_pages): Likewise. * configure.in (with-gc): Default to ggc-page always. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38992 138bc75d-0d04-0410-961f-82ee72b054a4
* 2001-01-11 Zack Weinberg <zack@wolery.stanford.edu>zack2001-01-121-2/+5
| | | | | | | | | | | | | | | | * aclocal.m4 (AC_FUNC_MMAP_ANYWHERE): Completely rewritten. Now defines HAVE_MMAP_DEV_ZERO and/or HAVE_MMAP_ANON depending which you have. (AC_FUNC_MMAP_FILE): Don't AC_REQUIRE AC_FUNC_MMAP_ANYWHERE. * configure.in: Set GGC to ggc-page if any of mmap_dev_zero, mmap_anon, and valloc is available. * ggc-page.c: Restructure ifdef logic to match new autoconf spec. Don't throw away the test page in init_ggc. * configure, config.in: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38934 138bc75d-0d04-0410-961f-82ee72b054a4
* * c-common.c: Remove USE_CPPLIB conditional inclusions.neil2000-11-251-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * c-common.h: Similarly. * c-decl.c: Similarly. * c-lang.c: Similarly. * c-lex.c: Similarly. * c-parse.in: Similarly. * c-pragma.c: Similarly. * c-pragma.h: Similarly. * gcc.c: Similarly. * toplev.c: Similarly. * cp/cp-tree.h: Similarly. * cp/decl2.c: Similarly. * cp/lang-specs.h: Similarly. * cp/lex.c: Similarly. * cp/lex.h: Similarly. * cp/spew.c: Similarly. * java/lang-options.h: Similarly. * objc/lang-specs.h: Similarly. * objc/objc-act.c: Similarly. * configure.in: Remove configure option. * config.in: Regenerate. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37742 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in (HAVE_AS_DWARF2_DEBUG_LINE): New. Detectrth2000-11-171-0/+3
| | | | | | | | | | whether as accepts .file/.loc and produces dwarf2 line info. * dwarf2out.c (DWARF2_ASM_LINE_DEBUG_INFO): Default on if the assembler supports it. * config.in, configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37534 138bc75d-0d04-0410-961f-82ee72b054a4
* * calls.c (expand_call, emit_library_call_value_1), collect2.cjsm282000-11-091-24/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | (scan_prog_file), config/a29k/a29k.c (print_operand), config/sparc/sparc.c (order_regs_for_local_alloc): Use memcpy () instead of bcopy (). * real.h: Use memcmp () instead of bcmp (). * config/m88k/m88k.c (m88k_layout_frame), config/sh/sh.c (split_branches), config/sparc/sparc.c (ultra_flush_pipeline, ultrasparc_sched_init, ultrasparc_sched_reorder), config/sparc/sparc.h (CONDITIONAL_REGISTER_USAGE): Use memset () instead of bzero (). * config/vax/xm-xms.h (FILE_NAME_NONDIRECTORY): Use strrchr () instead of rindex (). * configure.in: Don't check for bzero, bcmp, index or rindex. * configure, config.in: Regenerate. * system.h: Don't include declarations for bzero, bcmp, index or rindex. * config/i386/xm-beos.h, config/rs6000/xm-beos.h: Don't define bzero, bcmp, index or rindex. java: * parse.y (create_new_parser_context): Use memset () instead of bzero (). git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37334 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in: If not NO_MINUS_C_MINUS_O, substitutezack2000-10-271-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | OUTPUT_OPTION with '-o $@'. Make zlibdir, zlibinc relative to top level. Kill oldstyle_subdirs. Do not include $srcdir/$s/Makefile.in in all_lang_makefiles, but do include $outputs. Do not run configure.lang from config.status. Rearrange warning-flag logic to correspond to what the makefile wants. Put special vax stage1 options in @stage1_flags@ not @stage1_warn_cflags@. Don't do anything with extra_c_objs, extra_cxx_objs, or extra_cpp_objs. (--enable-c-cpplib): AC_SUBST(maybe_cpplib) with "libcpp.a" if switch is given, nothing otherwise. * configure.lang: Delete. * Makefile.in: Expunge all traces of extra_c_objs, extra_cxx_objs, and extra_cpp_objs. Set MAYBE_CPPLIB from @maybe_cpplib@. Add $(MAYBE_CPPLIB) to C_AND_OBJC_OBJS. Set warning options via a three level scheme so that -pedantic and -Wtraditional are not used for non-C front ends: LOOSE_WARN, STRICT1_WARN, STRICT2_WARN -> $(@D)-warn, GCC_WARN_CFLAGS -> WARN_CFLAGS. Distinguish STAGE1_CFLAGS from BOOT_CFLAGS. Add -I$(@D) and -I$(srcdir)/$(@D) to INCLUDES. Set OUTPUT_OPTION, ZLIB, ZLIBINC. Do not set P, LANG_FLAGS_TO_PASS. Add OUTPUT_OPTION to all object-file generation rules. Wrap all rules that change the current directory in parentheses; pmake doesn't spawn a new shell for each command. Expunge all references to $(P). When one command depends on another and they're run all at once, use && to separate them, not ;. Add libgcc_s$(SHLIB_EXT) to files deleted on make clean. Force OUTPUT_OPTION='-o $@' in stage2 and beyond. * cp/Make-lang.in, f/Make-lang.in, java/Make-lang.in, objc/Make-lang.in: Wrap all rules that change the current directory in parentheses. Expunge all references to $(P). When one command depends on another and they're run all at once, use && to separate them, not ;. Add OUTPUT_OPTION to all object-file generation rules. Delete obsolete variables. Move all build rules here from the corresponding Makefile.in and adapt to the new environment. * cp/Makefile.in, f/Makefile.in, java/Makefile.in, objc/Makefile.in: Delete. * cp/config-lang.in, f/config-lang.in, java/config-lang.in: Delete outputs= line. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37088 138bc75d-0d04-0410-961f-82ee72b054a4
* 2000-09-20 J. David Anglin <dave@hiauly1.hia.nrc.ca>aj2000-09-211-3/+0
| | | | | | | | | * configure.in: Correct test of gcc_cv_glibc. * configure: Rebuilt. * config.in: Rebuilt. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36558 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in: Define _GNU_SOURCE only when using the GNU Caj2000-09-181-0/+3
| | | | | | | | | Library. * configure: Regenerated. * config.in: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36485 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in: Define macros that affect features beforegeoffk2000-09-171-6/+3
| | | | | | | | | testing for features. Don't define _XOPEN_SOURCE. * configure: Regenerated. * config.in: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36463 138bc75d-0d04-0410-961f-82ee72b054a4
* Regenerate.rth2000-09-161-0/+3
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36457 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure, config.in: Rebuilt.tromey2000-09-151-0/+6
| | | | | | | * configure.in: Check for iconv.h. Define _XOPEN_SOURCE. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36448 138bc75d-0d04-0410-961f-82ee72b054a4