Commit Graph

691 Commits

Author SHA1 Message Date
Tom Tromey f91abfce7b For PR java/2812:
* 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.

From-SVN: r44119
2001-07-18 17:17:03 +00:00
Andreas Schwab 01efb9636b configure.in (assembler eh_frame optimization): Handle big endian.
* configure.in  (assembler eh_frame optimization): Handle big
	endian.
	* configure: Regenerated.

From-SVN: r44091
2001-07-17 21:51:19 +00:00
H.J. Lu d920e82592 Add CFLAGS_FOR_BUILD for canadian cross build.
From-SVN: r43628
2001-06-27 21:38:51 -07:00
Alexandre Oliva cb65112ade revert: configure.in (sparc*-*-*): Check assembler R_SPARC_UA32 support.
Reverted:
2001-06-07  Nathan Sidwell  <nathan@codesourcery.com>
* configure.in (sparc*-*-*): Check assembler R_SPARC_UA32 support.
* configure: Rebuilt.

From-SVN: r43300
2001-06-13 03:10:44 +00:00
Rainer Orth e8bec1365a configure.in: Align --help messages.
* configure.in: Align --help messages.
	Remove trailing full stops.
	Consistently use lower case.
	Fix DWARF 2 spelling.
	* configure: Rebuilt.

From-SVN: r43192
2001-06-11 15:01:40 +00:00
Nathan Sidwell 43160d015f configure.in (sparc*-*-*): Check assembler R_SPARC_UA32 support.
* configure.in (sparc*-*-*): Check assembler R_SPARC_UA32 support.
	* configure: Rebuilt.

From-SVN: r42955
2001-06-07 08:32:03 +00:00
Pascal Obry 9dd53f2c1b configure.in: Quote $enable_win32_registry in case the value has spaces in it.
* configure.in: Quote $enable_win32_registry in case the value has
spaces in it.
* configure: Ditto.

From-SVN: r42920
2001-06-05 18:00:22 -04:00
Nathan Sidwell 022dae817d configure.in (gcc_version): Remove unrequired \ on ".
* configure.in (gcc_version): Remove unrequired \ on ". (Solaris
	/bin/sed fails on [^\"]).
	(configargs.h): Likewise.

From-SVN: r42689
2001-05-29 15:16:24 +00:00
Zack Weinberg 05e126346a aclocal.m4: Quote final argument of patsubst.
* aclocal.m4: Quote final argument of patsubst.  Use
	3-argument form of AC_DEFINE.  Restore quotes to [] while
	using AC_FD_CC.
	* configure.in: Remove unnecessary changequote calls.
	* configure, config.in: Regenerate.

From-SVN: r42617
2001-05-26 04:54:42 +00:00
Rainer Orth 827ae6cf7c aclocal.m4: Fixed typo.
* aclocal.m4: Fixed typo.
        (gcc_AC_HEADER_STDBOOL): Define.
        (gcc_AC_C__BOOL): Define.
        * configure.in: Use them.
        (AC_CHECK_HEADERS): Remove stdbool.h
        * configure, config.in: Regenerate.

From-SVN: r42578
2001-05-25 12:30:11 -07:00
Stan Shebs 41948db560 configure.in (gcc_cv_as_eh_frame): Cope with old assemblers.
* configure.in (gcc_cv_as_eh_frame): Cope with old assemblers.
        * configure: Regenerate.

From-SVN: r42274
2001-05-18 19:14:19 +00:00
Richard Henderson c64688ae79 configure.in (gcc_cv_as_eh_frame): New test.
* configure.in (gcc_cv_as_eh_frame): New test.
        * config.in, configure: Rebuild.
        * gcc.c (init_spec): Honor USE_AS_TRADITIONAL_FORMAT.

From-SVN: r42092
2001-05-14 18:45:10 -07:00
Richard Kenner 7f2749d411 configure.in: ldopen is never in -lexc, so don't test for it.
* configure.in: ldopen is never in -lexc, so don't test for it.
	Add test for exc_resume in -lexc for Ada.
	* configure: Regenerated.

From-SVN: r42037
2001-05-13 07:25:55 -04:00
Zack Weinberg fecd6201e6 Makefile.in: Exterminate all references to assert.h.
* Makefile.in: Exterminate all references to assert.h.
	* cross-make: Likewise.
	* assert.h: Delete.
	* configure.in: Correct commentary.
	* configure: Regenerate.
	* po/POTFILES.in: Remove assert.h.

	* libgcc-std.ver, libgcc2.c, libgcc2.h, sys-protos.h:
	Remove __eprintf.

	* config/t-freebsd, config/t-linux, config/t-linux-aout,
	config/t-netbsd, config/t-rtems, config/x-linux,
	config/i386/t-beos, config/mcore/t-mcore, config/mcore/t-mcore-pe:
	No need to override INSTALL_ASSERT_H.

	* fixinc/fixinc.dgux, fixinc/fixinc.interix, fixinc/fixinc.ptx,
	fixinc/fixinc.svr4, fixinc/fixinc.winnt, fixinc/fixinc.wrap,
	fixinc/fixincl.sh: Don't install assert.h into objdir/include.

From-SVN: r41972
2001-05-11 17:03:02 +00:00
Zack Weinberg 4e70264f82 config.gcc: Don't default xmake_file to ${cpu_type}/x-${cpu_type}.
2001-05-01  Zack Weinberg  <zackw@stanford.edu>

	* config.gcc: Don't default xmake_file to ${cpu_type}/x-${cpu_type}.
	Remove references to deleted files.
	(*-*-openbsd): No need to override xmake_file.
	(*-*-sysv4): Treat like *-*-sysv.

	* configure.in: Probe for ldopen in various places, and set up
	collect2 to be linked with them if found.
	Don't dink with Windows registry stuff unless $host_os is a
	Win32 os name.  Check to see if we need -ladvapi32.
	* configure: Regenerate.

	* Makefile: Get rid of CLIB and HOST_CLIB.
	Substitute in COLLECT2_LIBS and link collect2 against its contents.
	* build-make: Get rid of HOST_CLIB.

	* config/a29k/x-unix, config/alpha/x-osf, config/i386/x-aix,
	config/i386/x-osfrose, config/m68k/x-dpx2, config/mips/x-iris3,
	config/mips/x-mips, config/mips/x-osfrose, config/mips/x-sony,
	config/mips/x-sysv, config/rs6000/x-aix31, config/rs6000/x-aix41,
	config/rs6000/x-rs6000: Delete.

	* config/i386/x-cygwin, config/m68k/t-aux, config/mips/x-iris:
	Don't set CLIB.

	24 x-host fragments remain, 0 x-cpu, 3 top level.

2001-05-01  Zack Weinberg  <zackw@stanford.edu>

	* aclocal.m4 (gcc_AC_C_CHAR_BIT): Correct test program.
	* configure: Regenerate.

From-SVN: r41732
2001-05-01 17:45:05 +00:00
Zack Weinberg 7719ffbf1d dbxout.c, [...]: Always include gstab.h, not system stab.h.
* dbxout.c, mips-tfile.c, config/mips/mips.c, xcoffout.c:
	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.

From-SVN: r41713
2001-05-01 01:58:32 +00:00
Alexandre Oliva a6687d2b0a configure.in (configargs.h): Define thread_model.
* configure.in (configargs.h): Define thread_model.
* configure: Rebuilt.
* gcc.c (main): Print it with -v.

From-SVN: r41569
2001-04-26 04:28:50 +00:00
Phil Edwards e2584c5245 configure.in: Remove ENABLE_STD_NAMESPACE.
2001-04-23  Phil Edwards  <pme@sources.redhat.com>

	* configure.in:  Remove ENABLE_STD_NAMESPACE.
	* cp/decl2.c (flag_honor_std):  Always initialize to 1.
	* config.in:  Regenerated.
	* configure:  Regenerated.

From-SVN: r41497
2001-04-23 04:07:16 +00:00
Zack Weinberg c1800ec88e configure.in: Probe for times, clock, struct tms, and clock_t.
* configure.in: Probe for times, clock, struct tms, and clock_t.
	* configure, config.in: Regenerate.
	* timevar.c: Replace ifdef forest in get_time with (relatively)
	straightforward series of checks based on autoconf's probes.

From-SVN: r41471
2001-04-20 23:06:55 +00:00
Kaveh R. Ghazi 6c889b67cb configure.in (errno): Check for declaration.
* configure.in (errno): Check for declaration.
	* configure, config.in: Regenerated.

	* system.h (errno): Only declare if not already done.

From-SVN: r41305
2001-04-12 15:36:24 +00:00
Neil Booth f9200da26d configure.in: Add check for lstat.
* configure.in: Add check for lstat.
	* 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 '/'.

From-SVN: r41148
2001-04-06 07:22:01 +00:00
Zack Weinberg 4dc0535b80 config.gcc: Remove default for xm_file.
* config.gcc: Remove default for xm_file.  Clean up local
	machine type handling.  Remove settings of xm_file to
	something that doesn't exist.  In the big switch, set xm_file,
	don't append to it (the value before the big switch is always
	null).  Don't force build_xm_file or host_xm_file to have a value.
	* configure.in: Remove default for xm_file.  Do not special
	case $cpu/xm-$cpu.h not existing.
	* configure: Regenerate.

From-SVN: r41106
2001-04-05 04:34:24 +00:00
Richard Henderson 3d399d67c4 configure.in (gcc_cv_as_leb128): Escape ".".
* configure.in (gcc_cv_as_leb128): Escape ".".
        * configure: Rebuilt.

From-SVN: r41095
2001-04-04 14:18:09 -07:00
Richard Henderson dd7fc59c36 configure.in (gcc_cv_as_leb128): Tweek minor number extraction.
* configure.in (gcc_cv_as_leb128): Tweek minor number extraction.
        * configure: Rebuilt.

From-SVN: r41087
2001-04-04 09:48:58 -07:00
Richard Henderson 78e766a0e1 configure.in (gcc_cv_as_leb128): Reject gas before 2.11.
* configure.in (gcc_cv_as_leb128): Reject gas before 2.11.
        * configure: Rebuild.

From-SVN: r41073
2001-04-03 19:06:24 -07:00
Zack Weinberg d02af17340 ansidecl.h: All logic from gcc/gansidecl.h moved here.
include:
	* ansidecl.h: All logic from gcc/gansidecl.h moved here.
gcc:
	* gansidecl.h: Delete file.
	* configure.in: Change all refs to gansidecl.h to use
	ansidecl.h.  Adjust *_file_list so they know where ansidecl.h
	lives.
	* configure: Regenerate.

	* Makefile.in (intl.o): Don't depend on gansidecl.h.
	* defaults.h: s/gansidecl.h/ansidecl.h/ in comment.
	* ggc.h, config/fr30/fr30.h, config/mcore/mcore.c:
	Don't include gansidecl.h.
	* intl.c, main.c, version.c, fixinc/fixlib.h,
	fixinc/procopen.c, fixinc/server.c: Include ansidecl.h not
	gansidecl.h.
gcc/java:
	* Make-lang.in (buffer.o, check-init.o, class.o): Don't depend
	on gansidecl.h.
	* buffer.c, jvgenmain.c: Don't include gansidecl.h.
libiberty:
	* make-temp-file.c (try): Inline.

From-SVN: r41069
2001-04-04 00:46:27 +00:00
Alexandre Oliva 924c96ebc4 configure.in (target_subdir): Use target_alias, not target.
* configure.in (target_subdir): Use target_alias, not target.
* configure: Rebuilt.

From-SVN: r41051
2001-04-03 08:56:59 +00:00
Geoffrey Keating fbe42b1b05 configure.in (gcc_cv_as_leb128): Correct name of cache variable.
* configure.in (gcc_cv_as_leb128): Correct name of cache variable.
	Require at least 2.11 in the version test.  Specifically check
	for and reject GAS version 2.10.90.
	* configure: regenerate.

From-SVN: r41039
2001-04-03 07:02:31 +00:00
Kaveh R. Ghazi 79cb7361fa configure.in: Don't check for putenv.
* configure.in: Don't check for putenv.
	* configure: Regenerate.
	* gcc.c (putenv): Don't define.
	* vax/xm-vms.h: Handle putenv.

From-SVN: r41005
2001-04-02 15:20:53 +00:00
Richard Henderson 531073e70e Make -fsjlj-exceptions a configure option.
From-SVN: r40905
2001-03-27 21:24:24 -08:00
Kaveh R. Ghazi 8e9449099d configure.in: Don't check for bcopy.
* configure.in: Don't check for bcopy.
	* configure, config.in: Regenerate.

	* system.h: Don't define or prototype bcopy, instead poison it.

From-SVN: r40898
2001-03-28 04:05:46 +00:00
Kaveh R. Ghazi 4bc5fbd480 system.h: Include symcat.h.
* system.h: Include symcat.h.
	(STRINGIFY): Don't define.

	* configure.in: Adjust comment.

	* builtins.c: Use STRINGX, not STRINGIFY.
	* gencheck.c: Likewise.
	* gengenrtl.c: Likewise.
	* protoize.c: Likewise.

	* cpplex.c: Don't include symcat.h.
	* cpplib.c: Likewise.

	* gansidecl.h (HAVE_STRINGIZE): Don't define.

From-SVN: r40875
2001-03-27 15:31:46 +00:00
Richard Henderson acc187f507 dwarf2out.c (lookup_filename): Emit .file if the assembler is generating .debug_line.
* dwarf2out.c (lookup_filename): Emit .file if the assembler
        is generating .debug_line.
        (dwarf2out_init): Add main_input_filename to the file table first.
        * configure.in (as_dwarf2_debug_line): Test with file number 1
        instead of file number 0.

From-SVN: r40578
2001-03-17 10:18:12 -08:00
Richard Henderson e48cd2905f aclocal.m4 (gcc_AC_EXAMINE_OBJECT): Substitute leading od output with a space instead of deleting it.
* aclocal.m4 (gcc_AC_EXAMINE_OBJECT): Substitute leading od
        output with a space instead of deleting it.
        * configure: Regenerate.

From-SVN: r40565
2001-03-16 15:57:46 -08:00
Zack Weinberg 2d6eb5bf63 aclocal.m4 (gcc_AC_EXAMINE_OBJECT): New utility macro which handles the gory details of converting an object file...
* aclocal.m4 (gcc_AC_EXAMINE_OBJECT): New utility macro which
	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.

From-SVN: r40562
2001-03-16 20:09:36 +00:00
Richard Henderson 981975b62d dwarf2out.c: Revert most of 2000-11-25 and 2001-01-24 changes.
* dwarf2out.c: Revert most of 2000-11-25 and 2001-01-24 changes.
        (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.

From-SVN: r40559
2001-03-16 11:31:19 -08:00
Zack Weinberg 84c041a1ff aclocal.m4 (gcc_AC_C_CHARSET, [...]): New macros.
* aclocal.m4 (gcc_AC_C_CHARSET, gcc_AC_C_COMPILE_BIGENDIAN,
	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).

From-SVN: r40478
2001-03-15 00:13:37 +00:00
Laurynas Biveinis 16a0fe5059 configure.in: Use $gcc_cv_as instead of $as.
* configure.in: Use $gcc_cv_as instead of $as.
       * configure: Regenerated.

From-SVN: r40470
2001-03-14 20:12:50 +00:00
Zack Weinberg 75e93faacc aclocal.m4 (gcc_AC_COMPILE_CHECK_SIZEOF, [...]): New.
* aclocal.m4 (gcc_AC_COMPILE_CHECK_SIZEOF, gcc_AC_C_CHAR_BIT,
	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.

From-SVN: r40446
2001-03-14 00:58:32 +00:00
Zack Weinberg 9612ab65bd configure.in: Move check for unsigned enumerated bitfields to macro in aclocal.m4.
* configure.in: Move check for unsigned enumerated bitfields
	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.

From-SVN: r40399
2001-03-12 06:31:41 +00:00
Zack Weinberg 190c4cb481 config.gcc: Where xm-host.h used to include another xm-host.h...
* config.gcc: Where xm-host.h used to include another
	xm-host.h, list the nested header directly in xm_file.  Remove
	references to deleted files.  Can now use sparc/xm-sp64.h for
	sparcv9-*-solaris*.

	* config/xm-linux.h, config/arm/xm-linux.h,
	config/i386/xm-dos.h, config/i386/xm-gnu.h,
	config/i386/xm-linux.h, config/i386/xm-openbsd.h,
	config/i860/xm-fx2800.h, config/m68k/xm-atari.h,
	config/m68k/xm-linux.h, config/m68k/xm-sun3.h,
	config/sparc/xm-linux.h, config/sparc/xm-sysv4-64.h:
	Delete.

	* config/alpha/xm-alpha-interix.h: Don't include alpha/xm-alpha.h.
	* config/mips/xm-iris5.h: Don't include mips/xm-mips.h.  Don't
	bother to wrap #undef in #ifdef.
	* config/pa/xm-linux.h, config/rs6000/xm-sysv4.h:
	Don't include xm-linux.h.
	* config/sparc/xm-sp64.h: Don't include sparc/xm-sparc.h.

	* configure.in: Wrap regexps using [] in changequote block.
	Use expr : not echo | grep.  Simplify regexps.
	* configure: Regenerate.

	56 xm-files remain, 22 xm-arch.

From-SVN: r40392
2001-03-12 03:29:54 +00:00
Zack Weinberg 3d9d247676 configure.in: AC_SUBST xm_defines.
* configure.in: AC_SUBST xm_defines.
	* configure: Regenerate.
	* Makefile.in: Set DEFINES=$(xm_defines) when building
	tconfig.h.

From-SVN: r40389
2001-03-11 21:19:11 +00:00
Nicola Pero 1bf17cc4d6 configure: Rebuilt.
2001-03-09  Nicola Pero <n.pero@mi.flashnet.it>

	* configure: Rebuilt.
	* configure.in: Only use `lang_requires' for languages athat are
	actually enabled.

From-SVN: r40355
2001-03-10 00:19:37 +00:00
Zack Weinberg 11642c3a7c configure.in: Prune nonexistent files from build_xm_file, xm_file, and host_xm_file lists.
* configure.in: Prune nonexistent files from build_xm_file,
	xm_file, and host_xm_file lists.  Warn unless they're
	$cpu/xm-$cpu.h.
	Don't generate *config.h here.
	AC_SUBST all variables needed to generate *config.h.
	* configure: Regenerate.
	* mkconfig.sh: New helper script, from code removed from
	configure.in.
	* Makefile.in: Zap all MALLOC variables - no longer used
	anywhere, and malloc.c doesn't exist.
	Substitute in variables needed to generate *config.h.
	Stop lying about the dependencies contained in CONFIG_H and
	GCONFIG_H.
	(HCONFIG_H, TCONFIG_H, TM_P_H): New variables.
	(config.h, hconfig.h, tconfig.h, tm_p.h, cs-config.h,
	cs-hconfig.h, cs-tconfig.h, cs-tm_p.h): New rules.
	(all .o): Add dependencies on $(HCONFIG_H), $(TCONFIG_H),
	$(TM_P_H), etc. as appropriate.

	* config.gcc: Zap references to deleted files.
	* ggc-none.c: Don't include rtl.h or tm_p.h.

	* config/i386/xm-beos.h, config/i386/xm-dgux.h,
	config/i386/xm-djgpp.h, config/i386/xm-dos.h,
	config/i386/xm-gnu.h, config/i386/xm-i386-interix.h,
	config/i386/xm-linux.h, config/i386/xm-linux.h,
	config/i386/xm-next.h, config/i386/xm-openbsd.h,
	config/i386/xm-sun.h, config/i386/xm-sysv3.h:
	Don't include i386/xm-i386.h.

	* config/elxsi/xm-elxsi.h, config/i386/xm-bsd386.h,
	config/i386/xm-i386.h, config/i860/xm-i860.h,
	config/i960/xm-i960.h, config/mcore/xm-mcore.h,
	config/mn10300/xm-mn10300.h, config/ns32k/xm-ns32k.h,
	config/pj/xm-pj.h, config/sh/xm-sh.h, config/v850/xm-v850.h:
	Delete (empty except comments, #includes of other deleted
	files, and macros used nowhere).
cp:
	* Make-lang.in: Add dependencies on $(TM_P_H) as appropriate.

From-SVN: r40350
2001-03-09 20:53:56 +00:00
Richard Henderson b7460f2463 configure.in (HAVE_AS_LEB128): New assembler check.
* configure.in (HAVE_AS_LEB128): New assembler check.
        * configure, config.in: Rebuilt.

From-SVN: r40326
2001-03-08 11:36:21 -08:00
Alexandre Oliva c785e0fab4 configure.in (enable_shared): Support per-package shared-library enabling.
* configure.in (enable_shared): Support per-package shared-library
enabling.
* configure: Rebuilt.

From-SVN: r40315
2001-03-08 06:11:02 +00:00
Tom Tromey 75382c6dc6 configure: Rebuilt.
* configure: Rebuilt.
	* configure.in: Allow config-lang.in to set `lang_requires' to list
	of other required languages.

From-SVN: r40308
2001-03-07 22:50:08 +00:00
Zack Weinberg b548dffbda aclocal.m4 (libiberty_AC_FUNC_C_ALLOCA): New.
libiberty:
	* 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.

From-SVN: r40259
2001-03-06 09:52:35 +00:00
Zack Weinberg eaf4e6183e configure.in: Kill tm.h.
* configure.in: Kill tm.h.  Include the files in the $tm_file
	list in all three of config.h, hconfig.h, tconfig.h, after the
	relevant set of xm_files.  Put TARGET_CPU_DEFAULT in all
	three, include insn-codes.h in all three (#ifndef GENERATOR_FILE).
	* configure: Regenerate.
	* Makefile.in (clean): Don't delete tm.h.

	* system.h: If SUCCESS_EXIT_CODE and FATAL_EXIT_CODE are not
	defined, set them from EXIT_SUCCESS and EXIT_FAILURE.  If
	those are not defined, set SEC and FEC to 0 and 1.
	* gcc.texi: Update to match.

	* crtstuff.c: Include tconfig.h, not auto-host.h and tm.h.
	* config/fp-bit.c, config/m68k/aux-crt2.asm,
	config/m68k/aux-crtn.asm, config/m68k/aux-mcount.c:
	Include tconfig.h, not tm.h.

	* config/xm-lynx.h, config/xm-std32.h,
	config/a29k/xm-a29k.h, config/a29k/xm-unix.h,
	config/alpha/xm-alpha.h, config/arc/xm-arc.h,
	config/avr/xm-avr.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-linux.h,
	config/i386/xm-i386.h, config/i860/xm-i860.h,
	config/i960/xm-i960.h, config/ia64/xm-ia64.h,
	config/m32r/xm-m32r.h, config/m68hc11/xm-m68hc11.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/pdp11/xm-pdp11.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/we32k/xm-we32k.h:
	Don't include tm.h.
	Don't define SUCCESS_EXIT_CODE or FATAL_EXIT_CODE.

	* config/i370/xm-i370.h, config/i370/xm-mvs.h,
	config/i370/xm-oe.h: Don't include tm.h.  Don't define
	SUCCESS_EXIT_CODE.
	* config/vax/xm-vms.h: Don't include tm.h.

	* config/xm-lynx.h, config/avr/xm-avr.h,
	config/fr30/xm-fr30.h, config/pdp11/xm-pdp11.h,
	Delete; made empty by above changes.
	* config/i386/xm-lynx.h, config/m68k/xm-lynx.h,
	config/rs6000/xm-lynx.h, config/sparc/xm-lynx.h:
	Don't include config/xm-lynx.h or tm.h.

	* config/xm-gnu.h: Don't include fcntl.h.
	* config/sparc/xm-lynx.h: Don't include sys/types.h and
	sys/wait.h.
	* config/clipper/xm-clix.h, config/vax/xm-vax.h: Don't define isinf.

From-SVN: r40199
2001-03-03 03:32:55 +00:00
Zack Weinberg d6edb99e92 xm-lynx.h, [...]: Do not define TRUE or FALSE.
* config/xm-lynx.h, config/xm-std32.h, config/a29k/xm-a29k.h,
	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'.

From-SVN: r40176
2001-03-02 01:51:02 +00:00
Kaveh R. Ghazi 7afe8c419b aclocal.m4 (gcc_AC_CHECK_DECL): Before attempting the test...
* aclocal.m4 (gcc_AC_CHECK_DECL): Before attempting the test,
	define HAVE_DECL_* to 1 to mask potential backup declarations.
	* configure: Regenerated.

From-SVN: r39814
2001-02-18 03:18:38 +00:00
Gerald Pfeifer cc06d68c8c gdbinit: Rename to gdbinit.in.
* .gdbinit: Rename to gdbinit.in.
	* gdbinit.in: New file,
	* configure.in: Generate .gdbinit from gdbinit.in.
	* configure: Regenerated.
	* Makefile.in (distclean): Always remove .gdbinit.

From-SVN: r39759
2001-02-16 11:12:46 +00:00
DJ Delorie cbc59f0118 configure.in (check_languages): determine languages to check
* configure.in (check_languages): determine languages to check
* Makefile.in (check-c++): alias for check-g++
(check-f77): alias for check-g77
(CHECK_TARGETS): depend on configured languages

From-SVN: r39655
2001-02-13 20:13:42 -05:00
Richard Kenner 1ffc5c6e21 configure.in: Use "have_gnat" variable, not "gnat".
* configure.in: Use "have_gnat" variable, not "gnat".
	* configure: Regenerated.

From-SVN: r39632
2001-02-13 08:00:04 -05:00
Jan Hubicka a946dd0074 i386.h (VALID_FP_MODE_P, [...]): New.
* i386.h (VALID_FP_MODE_P, VALID_INT_MODE_P): New.
	(HARD_REGNO_MODE_OK): Move offline to ....
	* i386.c (ix86_hard_regno_mode_ok) ... here;
	refuse all incorrect modes.
	* i386-protos.h (ix86_hard_regno_mode_ok): Declare.

From-SVN: r39621
2001-02-13 10:05:56 +00:00
Mark Mitchell b1012f1b4c Makefile.in (GXX_ABI_FLAG): Don't define.
* Makefile.in (GXX_ABI_FLAG): Don't define.
	* 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.

From-SVN: r39595
2001-02-12 07:35:05 +00:00
Mark Mitchell 39d6f2e8a5 Makefile.in (s-mlib): Don't build multilibs if --disable-multilib.
* Makefile.in (s-mlib): Don't build multilibs if
	--disable-multilib.
	(DRIVER_DEFINES): Adjust accordingly.
	(gcc.o): Likewise.
	(protoize.o): Likewise.
	(unprotoize.o): Likewise.
	* configure.in: Recognize --enable-multilib.

	* Makefile.in (g++spec.o): Adjust use of DRIVER_DEFINES.

From-SVN: r39452
2001-02-05 09:48:00 +00:00
Mark Mitchell 22fdd65e59 Remove V2 C++ library.
* configure.in: Remove --enable-libstdcxx_v3 support.

	* Makefile.in (site.exp): Always set HAVE_LIBSTDCXX_V3.
	* configure.in: Remove --enable-libstdcxx_v3 support.
	* configure: Regenerated.

From-SVN: r39445
2001-02-05 01:38:47 +00:00
Kaveh R. Ghazi c913b6f18e configure.in: Arrange to include defaults.h in [ht]config.h/tm.h.
* configure.in: Arrange to include defaults.h in [ht]config.h/tm.h.

	* Makefile.in: Remove all dependencies on defaults.h.
	* builtins.c: Don't include defaults.h.
	* c-common.c: Likewise.
	* c-decl.c: Likewise.
	* c-pragma.c: Likewise.
	* c-typeck.c: Likewise.
	* combine.c: Likewise.
	* i386.c: Likewise.
	* frame-ia64.c: Likewise.
	* cppexp.c: Likewise.
	* crtstuff.c: Likewise.
	* dbxout.c: Likewise.
	* dwarf2out.c: Likewise.
	* dwarfout.c: Likewise.
	* emit-rtl.c: Likewise.
	* except.c: Likewise.
	* expr.c: Likewise.
	* final.c: Likewise.
	* frame-dwarf2.c: Likewise.
	* libgcc2.c: Likewise.
	* optabs.c: Likewise.
	* profile.c: Likewise.
	* sdbout.c: Likewise.
	* toplev.c: Likewise.
	* tradcif.y: Likewise.
	* tree.c: Likewise.
	* varasm.c: Likewise.

ch:
	* Makefile.in: Remove all dependencies on defaults.h.
	* decl.c: Don't include defaults.h.
	* timing.c: Likewise.

cp:
	* Make-lang.in: Remove all dependencies on defaults.h.
	* call.c: Don't include defaults.h.
	* decl.c: Likewise.
	* decl2.c: Likewise.
	* except.c: Likewise.
	* pt.c: Likewise.
	* rtti.c: Likewise.
	* tree.c: Likewise.
	* typeck.c: Likewise.

f:
	* Make-lang.in: Remove all dependencies on defaults.h.
	* com.c: Don't include defaults.h.

java:
	* Make-lang.in: Remove all dependencies on defaults.h.
	* decl.c: Don't include defaults.h.
	* expr.c: Likewise.
	* parse.y: Likewise.

From-SVN: r39308
2001-01-28 01:50:22 +00:00
Philipp Thomas 380a627a15 aclocal.m4 (AM_WITH_NLS): Add -lintl to LIBS if gettext was found in libintl.
2001-01-17  Philipp Thomas  <pthomas@suse.de>

	* aclocal.m4 (AM_WITH_NLS): Add -lintl to LIBS if gettext was
	found in libintl.
	* configure: Regenerate.

From-SVN: r39167
2001-01-21 09:48:56 +00:00
Michael Sokolov b3e1e64f4a aclocal.m4 (gcc_AC_FUNC_STRSTR): New macro.
* aclocal.m4 (gcc_AC_FUNC_STRSTR): New macro.
	* 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.

From-SVN: r39160
2001-01-21 01:51:42 +00:00
Joseph Myers 3f896fc299 texi2pod.pl: Fix regular expression for @r to avoid exponential recursion.
contrib:
	* texi2pod.pl: Fix regular expression for @r to avoid exponential
	recursion.  From Russ Allbery <rra@stanford.edu>.  Remove perl
	version check.

gcc:
	* configure.in, configure: Revert previous patch requiring perl
	5.6.0.

From-SVN: r39053
2001-01-15 23:32:25 +00:00
Joseph Myers 150d3c0086 texi2pod.pl: Require at least perl 5.6.0.
contrib:
	* texi2pod.pl: Require at least perl 5.6.0.

gcc:
	* configure.in: Require at least perl 5.6.0 to regenerate
	manpages.
	* configure: Regenerate.

From-SVN: r39018
2001-01-14 21:47:19 +00:00
Richard Henderson 130fadbb36 ggc-page.c (USING_MALLOC_PAGE_GROUPS): New; set if not using mmap.
* ggc-page.c (USING_MALLOC_PAGE_GROUPS): New; set if not using mmap.
        (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.

From-SVN: r38992
2001-01-13 12:36:56 -08:00
Zack Weinberg 825b692620 aclocal.m4 (AC_FUNC_MMAP_ANYWHERE): Completely rewritten.
2001-01-11  Zack Weinberg  <zack@wolery.stanford.edu>

	* 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.

From-SVN: r38934
2001-01-12 04:54:42 +00:00
Mark Mitchell 34fa3e7da8 Remove support for using UWIN as a host machine.
* configure.in: Issue an error message.
	* configure: Regenerated.
	* config.gcc: Remove xm_* UWIN configury.
	* config/i386/xm-uwin.h: Remove.

From-SVN: r38818
2001-01-09 08:32:01 +00:00
Richard Henderson 5b15f27732 configure.in (slibdir): Accept an --with-slibdir option.
* configure.in (slibdir): Accept an --with-slibdir option.
        Use "test" not "[" in configure.  Default to $(libdir).

From-SVN: r38784
2001-01-07 13:48:30 -08:00
Richard Henderson 2bbea3a6c7 Makefile.in (slibdir): New variable.
* Makefile.in (slibdir): New variable.
        (libgcc.mk): Pass SHLIB_INSTALL to mklibgcc.
        (installdirs): Create slibdir.
        (install-libgcc, install-multilib): Defer to libgcc.mk.
        * configure.in (slibdir): Substitute.
        * mklibgcc.in (install): New target.

        * config/t-linux (SHLIB_LINK): Create links for the soname.
        (SHLIB_INSTALL): New.
        * config/alpha/t-osf4 (SHLIB_INSTALL): New.
        * config/mips/t-iris6 (SHLIB_INSTALL): New.
        * config/rs6000/t-aix43 (SHLIB_INSTALL): New.
        * config/sparc/t-slibgcc (SHLIB_INSTALL): New.
        * config/sparc/t-slibgcc-sld (SHLIB_INSTALL): New.

From-SVN: r38761
2001-01-07 01:27:25 -08:00
Alexandre Oliva 04d430b8d0 configure.in (tm.h): Include isns-codes.h last.
* configure.in (tm.h): Include isns-codes.h last.
* configure: Rebuilt.

From-SVN: r38677
2001-01-03 23:47:05 +00:00
Joseph Myers 955be6336a configure.in: Check for the mktemp command.
* configure.in: Check for the mktemp command.
	* configure: Regenerate.
	* gccbug.in: Use a separate temporary file $TEMP0 for one use of
	$TEMP.  Create temporary files with mktemp, if available at
	configure time; otherwise use set -C.  Remove temporary files
	before exit.

From-SVN: r38671
2001-01-03 20:39:09 +00:00
Joseph Myers fd939e46c9 texi2pod.pl: Handle @option and @env.
contrib:
	* texi2pod.pl: Handle @option and @env.

gcc:
	* configure.in: Require at least texinfo 4.0.  Check for whether
	Pod::Man is sufficiently recent to regenerate GCC manpages.
	* configure:  Regenerate.
	* Makefile.in (TEXI2POD): Call perl explicitly rather than relying
	on #!.
	(GENERATED_MANPAGES): Define.
	(generated-manpages): New target.  Depend on cpp.1 as well as
	gcov.1.
	(install-man): Depend on $(GENERATED_MANPAGES) (defined by
	configure to generated-manpages or empty) rather than on the
	manpages directly.  Remove execute permission from installed
	gcov.1 as well as cpp.1.
	* cpp.1, gcov.1: Regenerate.

From-SVN: r38668
2001-01-03 20:15:01 +00:00
Benjamin Kosnik e2187d3b52 configure.in (gcc_gxx_include_dir): Simplify.
2000-12-18  Benjamin Kosnik  <bkoz@redhat.com>

	* configure.in (gcc_gxx_include_dir): Simplify.
	(libstdcxx_incdir): Export.
	* configure: Regenerate.
	* Makefile.in (PREPROCESSOR_DEFINES): Add in
	GPLUSPLUS_TOOL_INCLUDE_DIR bits here..
	(libstdcxx_incdir): Add.
	* cppdefault.c (GPLUSPLUS_TOOL_INCLUDE_DIR): Add search path.

From-SVN: r38356
2000-12-18 18:12:45 +00:00
Alexandre Oliva 2b60b2cb39 configure.in: Simplify language enabling/disabling code.
* configure.in: Simplify language enabling/disabling code.
* configure: Rebuilt.
* ch/config-lang.in (target_libs): Set.
(build_by_default): Set to no.
* cp/config-lang.in (target_libs): Set.
* f/config-lang.in (target_libs): Set.
* java/config-lang.in (target_libs): Set.
* objc/config-lang.in (target_libs): Set.

From-SVN: r38207
2000-12-12 20:28:52 +00:00
Franz Sirl e6978109a1 configure.in (HAVE_AS_DWARF2_DEBUG_LINE): Enable .file/.loc check for powerpc*-*-*.
2000-12-12  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

	* configure.in (HAVE_AS_DWARF2_DEBUG_LINE): Enable .file/.loc check
	for powerpc*-*-*.
	* configure: Regenerated.
	* config/rs6000/linux.h (HANDLE_PRAGMA_PUSH_POP): Define.
	* config/rs6000/rs6000.c (rs6000_unique_section): Use
	STRIP_NAME_ENCODING.

From-SVN: r38203
2000-12-12 11:53:48 +00:00
Joseph Myers 17db658241 configure.in: Don't define INSTALL_INFO.
* configure.in: Don't define INSTALL_INFO.
	* configure: Regenerate.
	* Makefile.in (INSTALL_INFO): Remove.
	(info): Depend on info files in source directory.
	(cpp.info, gcc.info, c-tree.info): Build info files in source
	directory.
	(distclean): Don't remove info files.
	(maintainer-clean): Remove info files from source directory.
	(install-normal): Depend on install-info.
	(install-info): Install info files from source directory, if they
	exist.
	* texinfo.tex: Update to version 2000-11-09.08 from ftp.gnu.org.

ch:
	* Make-lang.in (CHILL.info): Depend on info files in source
	directory.
	(ch/chill.info): Build info files in source directory.
	(CHILL.install-info): Install info files from source directory.

f:
	* Make-lang.in (f77.info): Depend on info files in source
	directory.
	(f/g77.info): Build info files in source directory; don't build
	them unless BUILD_INFO is "info".
	(f77.install-info): Install info files from source directory.

From-SVN: r38141
2000-12-08 22:54:06 +00:00
Jeff Law 255b8a498d configure.in: Reorganize handling of *-*-gnu*, to share target specific make details with Linux.
* configure.in: Reorganize handling of *-*-gnu*, to share target
	specific make details with Linux.  Update comments to clarify
        the distinction between GNU/Linux and GNU/Hurd.
	* config/t-gnu (LIBGCC1, CROSS_LIBGCC1, CRTSTUFF_T_CFLAGS,
	TARGET_LIBGCC2_CFLAGS): Remove.  We now use the settings from
	config/t-linux for the Hurd.

From-SVN: r37870
2000-11-30 01:30:26 -07:00
Alexandre Oliva 6b2adea9b7 configure.in (extra_objs): Enclose extra_headers in quotes.
* configure.in (extra_objs): Enclose extra_headers in quotes.
* configure: Rebuilt.

From-SVN: r37790
2000-11-27 10:16:16 +00:00
Neil Booth 056487e747 Makefile.in: Remove MAYBE_CPPLIB and maybe_cpplib.
* Makefile.in: Remove MAYBE_CPPLIB and maybe_cpplib.
        * c-decl.c: Remove parse_in declaration.
        * c-lang.c: Similarly.
        * c-lex.c: Similarly.
        * c-parse.in: Similarly.
        * c-pragma.c: Similarly.
        * configure.in: Similarly.
        * cp/Make-lang.in: Similarly.
        * cp/spew.c: Similarly.
        * cp/decl2.c: Remove check for lang-c++ option.
        * cp/lang-specs.h: Remove -lang-c++ from cc1plus command line.
        * cp/lex.c (lang_init_options): With cpp_reader_init, default to C++.
        * c-lex.h: Add declaration of parse_in.
        * cppinit.c: Call set_lang after allocating pfile->pending.
        * configure: Regenerate.

From-SVN: r37754
2000-11-26 10:48:50 +00:00
Neil Booth a32f2771a5 c-common.c: Remove USE_CPPLIB conditional inclusions.
* c-common.c: Remove USE_CPPLIB conditional inclusions.
        * 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.

From-SVN: r37742
2000-11-25 19:28:44 +00:00
Philipp Thomas 2be36552c6 configure.in (ALL_LINGUAS): Remove en_GB and add sv.
gcc:
2000-11-25  Philipp Thomas  <pthomas@suse.de>
	* configure.in (ALL_LINGUAS): Remove en_GB and add sv.
	* configure: Rebuilt.

po:
2000-11-25  Philipp Thomas  <pthomas@suse.de>
	* sv.po: New swedish translation file.
	* en_GB.po: Removed.

From-SVN: r37739
2000-11-25 17:50:02 +00:00
Nick Clifton aac69a49c9 Add support for target specific, language specific object files.
From-SVN: r37726
2000-11-25 00:33:04 +00:00
J"orn Rennecke 9196ece5c2 gcc toplevel:
* Makefile.in (HOST_CFLAGS): Add -DGENERATOR_FILE.
	(rtl.o, print-rtl.o, bitmap.o, obstack.o): Build with -DGENERATOR_FILE.
	(alloca.o, vfprintf.o, ggc-none.o, errors.o): Likewise.
	(splay-tree.o, hash.o): Likewise.
	GCONFIG_H: New.
	(rtl.o, print-rtl.o): Depend on $(GCONFIG_H) instead of $(CONFIG_H).
	(bitmap.o, obstack.o, vfprintf.o, ggc-none.o, errors.o): Likewise.
	(hashtab.o): Likewise.
	(gcov.o): Depend on $(CONFIG_H).
	* configure.in: #include insn-codes.h in tm.h.

	f:

	* Make-lang.in (g77spec.o): Depend on $(CONFIG_H).

	java:

	* Make-lang.in (jvspec.o): Depend on $(CONFIG_H).

	cp:

	* Make-lang.in (g++spec.o, cxxmain.o): Depend on $(CONFIG_H).

From-SVN: r37680
2000-11-23 02:22:03 +00:00
Zack Weinberg d1209685fa Makefile.in, [...]: Expunge remaining traces of facility for running MD files through C preprocessor.
gcc:
        * Makefile.in, config.gcc, configure.in: Expunge remaining
        traces of facility for running MD files through C preprocessor.

libiberty:
        * aclocal.m4 (LIB_AC_PROG_CC): Moved here from configure.in.
        (AC_DEFINE_NOAUTOHEADER): New - work around bug in autoheader.
        * configure.in: Call AC_C_INLINE and AC_C_CONST.  Use three
        argument form of AC_DEFINE in dummy definitions block.  Use
        AC_DEFINE_NOAUTOHEADER for real definitions of things defined
        in dummy block.  Preload cache variables instead of bypassing
        tests, where possible.
        * acconfig.h: Removed.

        * xmalloc.c (xmalloc_failed): New function, does error
        reporting on failed allocation.
        (xmalloc, xcalloc, xrealloc): Use it.
        * libiberty.h: Move #includes to top.  Prototype xmalloc_failed.

From-SVN: r37650
2000-11-22 08:32:26 +00:00
Jakub Jelinek 0faf814fba configure.in (HAVE_AS_DWARF2_DEBUG_LINE): Sparc has .file/.loc support in as as well.
* configure.in (HAVE_AS_DWARF2_DEBUG_LINE): Sparc has .file/.loc
	support in as as well.
	* configure: Regenerate.

From-SVN: r37615
2000-11-21 13:50:52 +01:00
Mark Mitchell 67c72a6308 configure.in: Make --enable-new-gxx-abi the default.
* configure.in: Make --enable-new-gxx-abi the default.
	* configure: Likewise.

From-SVN: r37556
2000-11-19 05:00:10 +00:00
Richard Henderson 9d1470857b configure.in (HAVE_AS_DWARF2_DEBUG_LINE): New.
* configure.in (HAVE_AS_DWARF2_DEBUG_LINE): New.  Detect
        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.

From-SVN: r37534
2000-11-17 15:53:38 -08:00
Hans-Peter Nilsson 61ed06c3f3 Makefile.in (config.status): Depend on config.gcc.
* Makefile.in (config.status): Depend on config.gcc.
	* configure.in <for machine in $build $host $target>: Move
	contents of loop into config.gcc, removing autoconf quoting.
	Fix changequote bug for alpha*-*-vxworks*.
	* configure: Regenerate.
	* config.gcc: New.

From-SVN: r37519
2000-11-17 10:42:45 +00:00
Mark Mitchell 5a7c103786 configure.in: Move check for V3 above check for C++ header-file directory.
* configure.in: Move check for V3 above check for C++ header-file
	directory.
	* configure: Regenerated.

From-SVN: r37470
2000-11-15 04:40:30 +00:00
Richard Earnshaw 8105825db7 configure.in: Use 'test -f' not '[ -e'.
* configure.in:  Use 'test -f' not '[ -e'.
* configure: Regenerated.

From-SVN: r37432
2000-11-13 16:56:57 +00:00
Joseph Myers cc1e60ea6a configure: Provide the original toplevel configure arguments (including $0) to...
* configure: Provide the original toplevel configure arguments
	(including $0) to subprocesses in the environment rather than
	through gcc/configargs.h.

gcc:
	* configure.in: Take toplevel configure arguments from the
	environment to create configargs.h and substitute
	gcc_config_arguments, taking account of any existing configargs.h
	if reconfiguring.
	* configure: Regenerate.
	* gccbug.in: Include toplevel configure arguments in gccbug.

From-SVN: r37423
2000-11-13 13:39:36 +00:00
Mark Mitchell 34f6fbdb65 configure: Turn on libstdc++ V3 by default.
* configure: Turn on libstdc++ V3 by default.

	* configure.in: Turn on libstdc++ V3 by default.
	* configure: Regenerated.

From-SVN: r37415
2000-11-13 01:15:40 +00:00
Marc Espie ee7692d2fd configure.in: Fix filds test.
* configure.in: Fix filds test.
	* configure: Regen.

From-SVN: r37406
2000-11-12 14:06:23 +00:00
Zack Weinberg 72aaffbd37 configure.in: Don't add $outputs to all_lang_makefiles.
* configure.in: Don't add $outputs to all_lang_makefiles.  Add
	$srcdir/$s/Makefile.in if it exists.
	* configure: Regenerate.

From-SVN: r37399
2000-11-12 02:09:33 +00:00
Zack Weinberg 1e60838877 configure.in: Remove AC_PROG_LEX and AC_PROG_YACC.
* configure.in: Remove AC_PROG_LEX and AC_PROG_YACC.  Look for
	flex and bison, specifically, first in a unified build and
	then installed on the system.
	* Makefile.in: Set BISON to @BISON@, FLEX to @FLEX@.  Rename
	LEXFLAGS to FLEXFLAGS.  Adjust ORDINARY_FLAGS_TO_PASS to
	match.

	(collect2.o, gcc.o, prefix.o, toplev.o, alloca.o, intl.o,
	cppdefault.o): Remove pointless sed munging of source file
	name.

f:
	* Make-lang.in (f/fini.o, f/proj-h.o): Remove pointless sed
	munging of source file name.
	($(srcdir)/f/intdoc.texi): Break up into several rules each of
	which builds just one thing.  Don't mess with $(LANGUAGES).
	(f/ansify.o, f/intdoc.o): Remove unnecessary rules.

From-SVN: r37371
2000-11-10 17:23:09 +00:00
Joseph Myers 2e09e75ade calls.c (expand_call, [...]): Use memcpy () instead of bcopy ().
* calls.c (expand_call, emit_library_call_value_1), collect2.c
	(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 ().

From-SVN: r37334
2000-11-09 07:45:15 +00:00
Philip Blundell bc56a125dc Delete arm-linux-aout target
From-SVN: r37294
2000-11-07 18:16:15 +00:00
David O'Brien ace54f91ac freebsd.h: New file -- FreeBSD/alpha architecture file.
2000-11-07  David O'Brien  <obrien@dragon.nuxi.com>
* config/alpha/freebsd.h: New file -- FreeBSD/alpha architecture file.
* POTFILES.in: Add config/alpha/freebsd.h
* configure.in: Add alpha*-freebsd support.
* configure: Regenerate.

Approved by:  Richard Henderson <rth@cygnus.com>
              Message-ID: <20001106211421.E14418@cygnus.com>

From-SVN: r37287
2000-11-07 08:44:40 +00:00
Joseph Myers 436a88a6d4 Makefile.in: Remove all targets related to building distributions and diffs, or INSTALL.
* Makefile.in: Remove all targets related to building
	distributions and diffs, or INSTALL.
	* INSTALL, install1.texi: Remove.
	* configure.in: Remove mention of distdir.
	* configure: Regenerate.
	* objc/Make-lang.in: Remove mention of distdir.

ch:
	* Make-lang.in (CHILL.distdir): Remove.

cp:
	* Make-lang.in (c++.distdir): Remove.

f:
	* Make-lang.in: Remove f77.distdir and f/INSTALL.
	* INSTALL, install0.texi: Remove.

java:
	* Make-lang.in (java.distdir): Remove.

From-SVN: r37265
2000-11-05 10:35:33 +00:00
Neil Booth 04e3be98eb configure.in: Make integrated CPP the default.
* configure.in: Make integrated CPP the default.
	* configure: Regenerate.

From-SVN: r37208
2000-11-02 19:41:19 +00:00
Joseph Myers 8763704d9b configure.in: Determine and substitute gcc_version_full.
* configure.in: Determine and substitute gcc_version_full.
	* configure: Regenerate.
	* gccbug.in: Use it to give full version.  Don't allow
	confidential PRs.

From-SVN: r37111
2000-10-28 22:44:52 +01:00
Zack Weinberg b8dad04b68 configure.in: If not NO_MINUS_C_MINUS_O, substitute OUTPUT_OPTION with '-o $@'.
* configure.in: If not NO_MINUS_C_MINUS_O, substitute
	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.

From-SVN: r37088
2000-10-27 20:22:28 +00:00
Mark Mitchell be5aeb60d6 Makefile.in (site.exp): Define HAVE_LIBSTDCXX_V3.
* Makefile.in (site.exp): Define HAVE_LIBSTDCXX_V3.
	* configure.in (enable-libstdcxx-v3): Arrange to have
	HAVE_LIBSTDCXX_V3 substituted into the output files.

	* lib/g++.exp (g++_include_flags): Trust HAVE_LIBSTDCXX_V3
	to tell us whether or not we are using V3.

	* Makefile.in (check): Don't make mkcheck executable.
	(check-install): Likewise.
	* configure.in (AC_OUTPUT): Make mkcheck executable.
	* mkcheck.in (top_srcdir): New variable.
	(INC_PATH): Set the path to the backward and ext directories
	correctly.

From-SVN: r37068
2000-10-26 07:28:25 +00:00
Philipp Thomas 4adee315bd Makefile.in (check-po): New target for doing checks in the po subdir if all languages configured.
2000-10-24  Philipp Thomas  <pthomas@suse.de>

	* Makefile.in (check-po): New target for doing checks in the po
	subdir if all languages configured.
	(CHECK_TARGETS): Add @CHECK_PO@, replaced with check-po via
	configure if NLS is enabled.
	* configure.in: If NLS is enabled, substitute CHECK_PO by check-po,
	otherwise leave empty.
	* configure: Regenerate.

From-SVN: r37030
2000-10-24 04:00:07 +00:00
Geoff Keating 4c2c5712af t-netware: Bring in from the Red Hat tree.
2000-10-18  Geoffrey Keating  <geoffk@cygnus.com>
	    David V. Henkel-Wallace  <gumby@cygnus.com>

	* config/i386/t-netware: Bring in from the Red Hat tree.
	* config/i386/netware.h: Likewise.
	* config/netware.h: Likewise.
	* config/rs6000/netware.h: Delete.
	* configure.in: Add i[34567]86-*-netware.
	* configure: Hand-edit to match configure.in change.

Co-Authored-By: David V. Henkel-Wallace <gumby@cygnus.com>

From-SVN: r36941
2000-10-18 19:57:54 +00:00
Philipp Thomas 4d0230e166 aclocal.m4 (AM_GNU_GETTEXT): Fix non portable use of == operator for test.
2000-10-08  Philipp Thomas  <pthomas@suse.de>
	* aclocal.m4 (AM_GNU_GETTEXT): Fix non portable use of == operator
	for test.
	* configure: Rebuilt.

From-SVN: r36801
2000-10-09 08:36:36 +00:00
Philipp Thomas 9fdf713feb aclocal.m4 (AM_WITH_NLS): When not using included gettext...
2000-10-08  Philipp Thomas  <pthomas@suse.de>
	* aclocal.m4 (AM_WITH_NLS): When not using included gettext,
	disable catalog building if no suitable program was found.
	Move warning message from here
	(AM_GNU_GETTEXT): To here.
	* configure: Rebuilt.

From-SVN: r36800
2000-10-09 08:12:35 +00:00
Philipp Thomas 00036f5c31 aclocal.m4 (GCC_PATH_PROG): New.
2000-10-08  Philipp Thomas  <pthomas@suse.de>
	* aclocal.m4 (GCC_PATH_PROG): New. Like AC_PATH_PROG but uses
	different cache variables.
	(GCC_PATH_PROG_WITH_TEST): New. Like AM_PATH_PROG_WITH_TEST but
	uses different cache variables.
	(AM_WITH_NLS): Use GCC_PATH_PROG and GCC_PATH_PROG_WITH_TEST.
	* configure: Regenerated.

From-SVN: r36797
2000-10-09 03:19:37 +00:00
Richard Henderson aefa45d35d Makefile.in (libgcc.mk): Pass SHLIB_EXT, not SHLIB_LIBS.
* Makefile.in (libgcc.mk): Pass SHLIB_EXT, not SHLIB_LIBS.
        * configure.in (sparc*-*-solaris*): Use t-slibgcc{,-sld}.
        * mklibgcc.in: Consider SHLIB_LINK the entire shlib build command.
        Use SHLIB_EXT.

        * config/t-linux (SHLIB_EXT): New.
        (SHLIB_LINK): Use the entire build command, with substitutions.
        (SHLIB_LIBS): Remove.
        * config/alpha/t-osf4: Likewise.
        * config/mips/t-iris6: Likewise.
        * config/sparc/t-sol2: Likewise, but move shlib stuff...
        * config/sparc/t-slibgcc-sld: ...here.
        * config/sparc/t-slibgcc: New file.

From-SVN: r36792
2000-10-08 16:20:18 -07:00
Richard Henderson 50503ac83d configure.in (enable-shared): New.
* configure.in (enable-shared): New.
        * Makefile.in (LIBGCC_DEPS): Depend on EXTRA_PARTS as well.
        (libgcc.mk): Pass SHLIB_LINK, SHLIB_LIBS, SHLIB_MULTILIB to mklibgcc.
        * mklibgcc.in: Use them to link shared a libgcc.
        * config/t-linux (SHLIB_LINK, SHLIB_LIBS): New.
        * config/alpha/t-ieee (SHLIB_MULTILIB): New.
        * config/mips/t-iris6 (SHLIB_LINK, SHLIB_LIBS): New.
        * config/sparc/t-sol2 (SHLIB_LINK, SHLIB_LIBS): New.

        * configure.in (alpha-osf*): Use t-osf and x-osf.
        * config/alpha/t-osf: New file.
        * config/alpha/t-osf4: New file.
        * config/alpha/x-osf: New file.
        * config/alpha/x-alpha: Remove file.

From-SVN: r36715
2000-10-04 13:53:29 -07:00
Richard Henderson fee0225a38 configure.in (ia64-linux): Add ia64/t-glibc.
* configure.in (ia64-linux) [tmake_file]: Add ia64/t-glibc.
	* config/ia64/crtbegin.asm (__EH_FRAME_BEGIN__): Remove.
	(segrel_ofs): Remove.
	(__ia64_app_header): New.
	(frame_object): Remove.
	(.init): Set __ia64_app_header when non-shared.
	(__do_global_dtors_aux): Do not call __deregister_frame_info.
	(__do_frame_setup): Remove.
	* config/ia64/crtend.asm (__EH_FRAME_END__): Remove.
	(__do_frame_setup_aux): Remove.
	* config/ia64/frame-ia64.c (object_mutex): Remove.
	(bad_record): Remove.
	(init_object_mutex): Remove.
	(init_object_mutex_once): Remove.
	(fde_compare): Remove.
	(__register_frame_info_aux): Remove.
	(frame_init): Remove.
	(find_fde): Remove.
	(*): Use ISO function definitions.
	(P3_record_types): Constify.
	(P7_record_types, P7_additional_fields): Constify.
	(P8_record_types, P8_additional_fields): Constify.
	(read_P_record): Remove parenthesis warning.  Use structure
	assignment instead of memcpy.
	(execute_one_ia64_descriptor): Likewise.
	(__build_ia64_frame_state): Use __ia64_find_fde.
	(record_name, print_record, print_all_records): Remove.
	* config/ia64/frame-ia64.h: New file.
	* config/ia64/fde-glibc.c: New file.
	* config/ia64/t-glibc: New file.

From-SVN: r36705
2000-10-03 20:08:50 -07:00
Michael Hayes 81bce466fe float-c4x.h: New.
* config/float-c4x.h: New.
	* configure.in (c4x-*): Set float_format to c4x.
	* configure: Regenerate.

From-SVN: r36698
2000-10-03 01:08:45 +00:00
Kaveh R. Ghazi 72882e083c configure.in (sparc-*-solaris2*): Disable 32-to-64 cross compilation for solaris versions 2.7 and greater.
* configure.in (sparc-*-solaris2*): Disable 32-to-64 cross
	compilation for solaris versions 2.7 and greater.

From-SVN: r36696
2000-10-03 00:49:41 +00:00
Mark Mitchell 776749c5f2 genix.h: Remove.
* config/ns32k/genix.h: Remove.
	* config/ns32k/x-genix: Likewise.
	* config/ns32k/xm-genix.h: Likewise.
	* config/fx80: Remove all filee in directory.
	* config/pyr: Likewise.
	* config/tahoe: Likewise.
	* config/gmicro: Likewise.
	* config/spur: Likewise.
	* configure.in: Remove configury bits for above targets.
	* configure: Regenerated.

From-SVN: r36691
2000-10-02 06:50:52 +00:00
Mark Mitchell a7b4171a5b configure.in: Don't configure chill by default.
* configure.in: Don't configure chill by default.
	* configure: Regenerated.

From-SVN: r36690
2000-10-02 06:41:01 +00:00
David O'Brien 41e5a1f593 freebsd-aout.h: New, FreeBSD a.out config file.
2000-09-28  David O'Brien  <obrien@FreeBSD.org>
	* config/i386/freebsd-aout.h: New, FreeBSD a.out config file.
	Contains the old contents of config/i386/freebsd.h
	* config/i386/freebsd.h: Now the ELF rather than a.out config file.
	Contains the old contents of config/i386/freebsd-elf.h
	* config/i386/freebsd-elf.h: Retire this file -- contents moved to
	config/i386/freebsd.h.
	* configure.in: Adjust for above changes.
	* po/POTFILES.in: Likewise.
	* po/en_GB.po: Likewise.
	* po/gcc.pot: Likewise.
	* configure: Rebuilt.

Approved by:  Richard Henderson <rth@cygnus.com>
              Message-ID: <20000927093029.A30906@cygnus.com>

From-SVN: r36662
2000-09-29 01:56:02 +00:00
Jason Merrill 2abdcaee8a x-aix41 (CLIB): Define here.
* config/rs6000/x-aix41 (CLIB): Define here.
        * config/rs6000/t-aix43: Not here.
        * config/rs6000/t-aix41: Or here.  Remove.
        * configure.in: Don't use it.

From-SVN: r36579
2000-09-23 11:23:13 -04:00
Jason Merrill 981d485833 configure.in: Fix checks for assembler features when using a one-tree assembler that has not...
* configure.in: Fix checks for assembler features when using a
        one-tree assembler that has not yet been built.
        Fix --disable-threads.

From-SVN: r36572
2000-09-22 14:24:29 -04:00
Andreas Jaeger c2f7d4034d Fix typo in applying last patch to configure.in and regenerate configure.
From-SVN: r36559
2000-09-21 07:37:11 +02:00
J. David Anglin 7373064a8d configure.in: Correct test of gcc_cv_glibc.
2000-09-20  J. David Anglin  <dave@hiauly1.hia.nrc.ca>

	* configure.in: Correct test of gcc_cv_glibc.
	* configure: Rebuilt.
	* config.in: Rebuilt.

From-SVN: r36558
2000-09-21 07:30:35 +02:00
David Edelsohn a473fe45fa configure.in: Allow enable_threads_flag value of "aix".
* configure.in: Allow enable_threads_flag value of "aix".  Define
	thread_file as "aix" for AIX 4.3 and above..
	* configure: Regenerated.

	* gthr-aix.h: New file.

	* rs6000/t-aix43: Replace soft-float multilib with pthread.
	Remove 403 processor multilib match.  Fix rios2 processor multilib
	match.

	* rs6000/aix.h (ASM_DECLARE_FUNCTION_NAME): Use function_section
	to return to appropriate csect.

From-SVN: r36541
2000-09-19 16:30:27 -04:00
Andreas Jaeger 4070d8853d configure.in: Define _GNU_SOURCE only when using the GNU C Library.
* configure.in: Define _GNU_SOURCE only when using the GNU C
	Library.
        * configure: Regenerated.
        * config.in: Regenerated.

From-SVN: r36485
2000-09-18 10:20:18 +02:00
Geoff Keating 4797e955c6 configure.in: Define macros that affect features before testing for features.
* configure.in: Define macros that affect features before
	testing for features.  Don't define _XOPEN_SOURCE.
	* configure: Regenerated.
	* config.in: Regenerated.

From-SVN: r36463
2000-09-17 00:12:34 +00:00
Richard Henderson 4faefccb49 Regenerate.
From-SVN: r36457
2000-09-16 10:46:25 -07:00
Andreas Jaeger dd74554610 configure.in: Always define _GNU_SOURCE to make interfaces visible that were hidden by only...
2000-09-16  Andreas Jaeger  <aj@suse.de>

	* configure.in: Always define _GNU_SOURCE to make interfaces
	visible that were hidden by only defining _GNU_SOURCE.
	* configure: Regenerated.

From-SVN: r36455
2000-09-16 15:13:49 +02:00
Tom Tromey 16abe34a39 configure, config.in: Rebuilt.
* configure, config.in: Rebuilt.
	* configure.in: Check for iconv.h.  Define _XOPEN_SOURCE.

From-SVN: r36448
2000-09-15 22:05:48 +00:00
Tom Tromey d21445e714 configure, config.in: Rebuilt.
* configure, config.in: Rebuilt.
	* configure.in: Check for iconv, nl_langinfo, langinfo.h.

From-SVN: r36383
2000-09-13 01:33:13 +00:00
Philipp Thomas bfa29b637c aclocal.m4 (AM_WITH_NLS): Don't force use of included gettext.
2000-09-12  Philipp Thomas  <pthomas@suse.de>

	* aclocal.m4 (AM_WITH_NLS): Don't force use of included gettext.
	* configure: Rebuilt.

From-SVN: r36345
2000-09-12 02:07:00 +00:00
Stephane Carrez 63883fc312 Recognize m6811-elf and m6812-elf
From-SVN: r36282
2000-09-09 23:21:25 +02:00
Niibe Yutaka 93ca1662a2 configure.in (sh-*-linux*): Added.
* configure.in (sh-*-linux*): Added.
* configure: Rebuilt.
* config/sh/t-linux: New file.
* config/sh/sh.h (USERMODE_BIT): Define.
(TARGET_USERMODE): Likewise.
(TARGET_SWITCHES): New switches for the bits above.
(INITIALIZE_TRAMPOLINE): Call __ic_invalidate in USERMODE.
* config/sh/linux.h: New file.
* config/sh/lib1funcs.asm (GLOBAL): Don't prefix symbols with
underscore on linux.
(L_sdivsi3, L_udivsi3): Define for linux.
(L_ic_invalidate): Define.
* invoke.texi (SH Options): Document -musermode.

From-SVN: r36227
2000-09-07 04:38:34 +00:00
Anthony Green 3c809ba45b Configure changes required for zlib.
From-SVN: r36122
2000-09-03 21:09:10 +00:00
Alexandre Oliva 1a66cd67e2 t-elf, [...]: New files.
* config/sh/t-elf, config/sh/crt1.asm, config/sh/crti.asm,
config/sh/crtn.asm: New files.
* config/sh/t-sh (EXTRA_MULTILIB_PARTS): Set.
(crt1.o, crti.o, crtn.o): New targets.
* configure.in [sh-*-elf*, sh-*-rtemself*] (tmake_file): Added
sh/t-elf.
* configure: Rebuilt.
* config/sh/sh.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP,
STARTFILE_SPEC, ENDFILE_SPEC, CRT_CALL_STATIC_FUNCTION): Define.
* config/sh/elf.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP):
Undefine for config/elfos.h to redefine.
(STARTFILE_SPEC, ENDFILE_SPEC): Redefine after config/elfos.h.


* config/sh/sh-protos.h (nonpic_symbol_mentioned_p,
legitimize_pic_address, output_pic_addr_const): Declare.
* config/sh/sh.h (CONDITIONAL_REGISTER_USAGE): Fix PIC register.
(PREFERGOT_BIT, TARGET_PREFERGOT): Likewise.
(TARGET_SWITCHES): New switch -mprefergot.
(OVERRIDE_OPTIONS): Set flag_no_function_cse unless -mprefergot.
(PIC_OFFSET_TABLE_REGNUM): Define.
(GOT_SYMBOL_TABLE): Likewise.
(LEGITIMIZE_ADDRESS): Use legitimize_pic_address.
(ENCODE_SECTION_INFO): Define.
(FINALIZE_PIC): New macros.
(LEGITIMATE_PIC_OPERAND_P, SYMBOLIC_CONST_P): New macro.
(ASM_OUTPUT_INT, ASM_OUTPUT_SHORT): Use output_pic_addr_const.
* config/sh/sh.c (print_operand_address): Use output_pic_addr_const.
(prepare_move_operands): Call emit_pic_move or
emit_pic_const_move if appropriate.
(output_far_jump): For PIC, use braf and output long offset.
(machine_dependent_reorg):
(sh_expand_prologue): Save and initialize the PIC register.
(sh_expand_epilogue): Restore it.
(initial_elimination_offset): Account for it.
(nonpic_symbol_mentioned_p): New function.
(legitimize_pic_address): Likewise.
(output_pic_addr_const): Likewise.
* config/sh/sh.md (calli_pcrel, call_valuei_pcrel): New insns.
(call, call_value): Use them.
(GOTaddr2picreg, sym_label2reg, symGOT2reg, symGOTOFF2reg,
symPLT_label2reg): New expands.
* invoke.texi (SH Options): Document -mprefergot.

From-SVN: r36111
2000-09-02 03:28:47 +00:00
J. David Anglin 5b67ad6f45 Makefile.in: Revamp handling of cflags to allow different WARN_CFLAGS for compilations in...
* Makefile.in: Revamp handling of cflags to allow different WARN_CFLAGS
        for compilations in stage 1 and subsequent stages, respectively.
        * configure.in (vax): Add compiler-dependent CFLAGS for stage 1.
        * configure: Rebuilt.
        * x-vax, x-vax-gcc: Deleted.

From-SVN: r36059
2000-08-29 16:55:39 -06:00
J. David Anglin a86d4a919a vax.h (ASM_SPEC): Pass `-J' to assembler.
* vax.h (ASM_SPEC): Pass `-J' to assembler.
        * x-vax-gcc: New file for bootstrapping with gcc.
        * x-vax: Use X_CFLAGS rather than X_CPPFLAGS to pass `-J'.
        * configure.in: Use x-vax-gcc with gcc.
        * configure: Rebuilt.

From-SVN: r35894
2000-08-22 16:29:08 -06:00
Alexandre Oliva ffe51c8a82 elf.h: Do not include sh/sh.h.
* config/sh/elf.h: Do not include sh/sh.h.
* config/sh/rtems.h: Likewise.
* config/sh/rtemself.h: Do not include sh/elf.h.
* configure.in: Get them included with `tm_file's.
* configure: Rebuilt.

From-SVN: r35793
2000-08-18 19:39:52 +00:00
Kaveh R. Ghazi cfedbb1f82 configure.in (*-ibm-aix4.[12]*): Delete test for gnu ld.
* configure.in (*-ibm-aix4.[12]*): Delete test for gnu ld.  Always
	use t-aix41 when host == target.

From-SVN: r35747
2000-08-16 17:10:21 +00:00
Manfred Hollstein d84c563442 configure.in (libstdcxx-v3): Fix test.
2000-08-16  Manfred Hollstein  <manfredh@redhat.com>

	* configure.in (libstdcxx-v3): Fix test.
	* configure: Regenerate.

From-SVN: r35745
2000-08-16 16:25:19 +00:00
Richard Henderson 3f62235327 configure.in (ia64-*): Set float_format for i386 long double.
* configure.in (ia64-*): Set float_format for i386 long double.

	* real.c (GET_REAL): Treat 128-bit INTEL_EXTENDED_IEEE_FORMAT
	as we would for i386 XFmode.
	(PUT_REAL): Likewise.
	(endian, ereal_atof, real_value_truncate): Likewise.
	(ereal_isneg, toe64, etens, make_nan): Likewise.
	* real.h (REAL_VALUE_TO_TARGET_LONG_DOUBLE): Likewise.

	* config/ia64/ia64-protos.h: Update.
	* config/ia64/ia64.c (general_tfmode_operand): New.
	(destination_tfmode_operand): New.
	(tfreg_or_fp01_operand): New.
	(ia64_split_timode): New.
	(spill_tfmode_operand): New.
	(ia64_expand_prologue): Use TFmode not XFmode.
	(ia64_expand_epilogue): Likewise.
	(ia64_function_arg): Likewise.
	(ia64_function_arg_advance): Likewise.
	(ia64_return_in_memory): Likewise.
	(ia64_function_value): Likewise.
	(ia64_print_operand): Likewise.
	(ia64_register_move_cost): Set GR<->FR to 5.
	(ia64_secondary_reload_class): Get GR for TImode memory op.
	* config/ia64/ia64.h (ROUND_TYPE_SIZE): Remove.
	(ROUND_TYPE_ALIGN): Remove.
	(LONG_DOUBLE_TYPE_SIZE): Set to 128.
	(INTEL_EXTENDED_IEEE_FORMAT): Define.
	(HARD_REGNO_NREGS): Use TFmode, not XFmode.
	(HARD_REGNO_MODE_OK): Likewise.  Disallow TImode in FRs.
	(MODES_TIEABLE_P): Use TFmode, not XFmode.
	(CLASS_MAX_NREGS): Likewise.
	(ASM_OUTPUT_LONG_DOUBLE): Output by 4 byte hunks.
	(PREDICATE_CODES): Update.
	* config/ia64/ia64.md (movti): New.
	(movti_internal): Use a clobber for memory alternatives.
	(reload_inti, reload_outti): New.
	(movsfcc_astep): Predicate properly.
	(movdfcc_astep): Likewise.
	(movxf): Remove.
	(movtf): New.
	(extendsftf2, extenddftf2): New.
	(trunctfsf2, trunctfdf2): New.
	(floatditf2, fix_trunctfdi2): New.
	(floatunsditf2, fixuns_trunctfdi2): New.
	(addtf3, subtf3, multf3, abstf2): New.
	(negtf2, nabstf2, mintf3, maxtf3): New.
	(maddtf3, msubtf3, nmultf3, nmaddtf3): New.
	(cmptf): New.
	(fr_spill): Use TFmode, not XFmode.
	(fr_restore): Likewise.
	* config/ia64/lib1funcs.asm (__divtf3): New.
	* config/ia64/t-ia64 (LIB1ASMFUNCS): Add it.

From-SVN: r35689
2000-08-14 14:01:24 -07:00
Zack Weinberg 57119aa9eb top level:
* configure: Make enable_threads and enable_shared defaults
	explicit.  Substitute enable_threads into generated Makefiles.
	* configure.in: Accept *-*-linux* not just *-*-linux-gnu*.
	* libtool.m4: Accept *-*-linux* not just *-*-linux-gnu*.
gcc:
	* configure.in: Accept *-*-linux* not just *-*-linux-gnu*.
	* fixinc/inclhack.def: Likewise.
	* fixinc/mkfixinc.sh: Likewise.
	* configure: Regenerate.
	* fixinc/fixincl.x: Regenerate.
	* install.texi: Document equivalence of linux and linux-gnu.
libio:
	* configure.in: Accept *-*-linux* not just *-*-linux-gnu*.
	Honor --disable-threads.
libstdc++:
	* configure.in: Accept *-*-linux* not just *-*-linux-gnu*.
	Honor --disable-threads.
libstdc++-v3:
	* configure: Regenerate after change to ../libtool.m4.
libobjc:
	* configure: Regenerate after change to ../libtool.m4.

From-SVN: r35680
2000-08-14 18:08:46 +00:00
Ovidiu Predescu 4b48731a0d Reverted the check for <sched.h>.
From-SVN: r35620
2000-08-11 05:51:12 +00:00
Ovidiu Predescu c3d80041a3 Check for the <sched.h> header file.
From-SVN: r35598
2000-08-10 07:10:23 +00:00
Zack Weinberg 2bf9a2abfe Remove stray blank line in previous commit
From-SVN: r35594
2000-08-09 19:44:29 +00:00
Zack Weinberg 9ec7291f1f configure.in (--enable-c-cpplib): Uncomment.
* configure.in (--enable-c-cpplib): Uncomment.  Use AC_DEFINE
	instead of extra_c_flags.
	(--enable-c-mbchar): Use AC_DEFINE instead of extra_c_flags.
	* configure: Regenerate.
	* config.in: Regenerate.

	* cpperror.c (cpp_type2name): New function.
	* cpplex.c (lex_line): If we issued an error for an invalid
	preprocessing directive, discard that logical line.
	* cpplib.c (do_line): Call a hook function if the current file
	is renamed by #line.
	(do_ident): Pass the contents of the string, not the entire
	token, to the callback function.
	* cpplib.h (CPP_LAST_PUNCTUATOR): New #define.
	(cb.rename_file): New hook function.
	(cb.ident): Adjust prototype.
	(cpp_type2name): Prototype.
	* cppmacro.c (dump_macro_args): Correct precedence lossage.

	* cppmain.c (cb_ident): Update for changed interface.
	(cb_rename_file): New function.
	(main): Set rename callback.

From-SVN: r35593
2000-08-09 19:41:12 +00:00
J. David Anglin 1ba2dbaa74 configure.in: Use default thread_file even when enable_threads is yes or dce because...
* configure.in: Use default thread_file even when enable_threads is
        yes or dce because hpux10.20 pa port uses MULTILIB implementation.
        * configure: Rebuilt.

From-SVN: r35488
2000-08-04 11:39:19 -06:00
Fred Fish a7a4fd1776 beos-elf.h (STARTFILE_SPEC): Add i386-mcount.o when user gives -p option.
* config/i386/beos-elf.h (STARTFILE_SPEC): Add i386-mcount.o
        when user gives -p option.  Add init_term_dyn.o for BeOS 5.0
        and later.

        * config/i386/beos-elf.h (INCLUDE_DEFAULTS): Add additional
        Be directories to search path.

        Remove support for __declspec(dllimport) and __declspec(dllexport).
        This is leftover cruft from the earlier BeOS gcc port when BeOS
        used Microsoft's PE object file format.
        * configure.in (i*86-*-beoself): Remove extra_objs=winnt.o.
        * config/i386/t-beos (winnt.o): Remove Makefile frag.
        * config/i386/beos-elf.h (TARGET_NOP_FUN_DLLIMPORT): Remove.
        (VALID_MACHINE_DECL_ATTRIBUTE): Remove.
        (VALID_MACHINE_TYPE_ATTRIBUTE): Remove.
        (MERGE_MACHINE_DECL_ATTRIBUTES): Remove.
        (REDO_SECTION_INFO_P): Remove.
        (ASM_EXPORT_DECL): Remove.
        (ASM_DECLARE_FUNCTION_NAME): Remove.
        (ASM_DECLARE_OBJECT_NAME): Remove.
        (ASM_OUTPUT_ALIGNED_COMMON): Remove.
        (ASM_OUTPUT_ALIGNED_DECL_COMMON): Remove.
        (ASM_OUTPUT_ALIGNED_LOCAL): Remove.
        (STRIP_NAME_ENCODING): Remove.

        Remove support for obsolete version of BeOS that is no longer
        supported by Be.
        * configure.in (i*86-*-beospe*): Remove.
        * config/i386/beos-pe.h: Remove.

From-SVN: r35420
2000-08-02 03:04:33 -04:00
Andreas Jaeger 6ed6b84a6f configure.in (mips*-*-linux*): Use mips*el to check for little endian MIPS, add tmake_file.
* configure.in (mips*-*-linux*): Use mips*el to check for little
	endian MIPS, add tmake_file.

	* config/mips/linux.h (TARGET_VERSION): Use GNU/Linux.
	(SUBTARGET_CPP_SPEC): Default MIPS_ISA is 1.
	Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.

From-SVN: r35328
2000-07-29 12:36:20 +02:00
Geoff Keating 5c3bc9fb92 extend.texi (Extended Asm): Mention that a memory clobber does not count as a side-effect.
* extend.texi (Extended Asm): Mention that a memory clobber
does not count as a side-effect.

From-SVN: r35111
2000-07-18 00:25:48 +00:00
J. David Anglin e256b8b6ec Makefile.in (TARGET_GETGROUPS_T): New configuration variable.
* Makefile.in (TARGET_GETGROUPS_T): New configuration variable.
	* configure.in (TARGET_GETGROUPS_T): Evaluate.
	* sys-protos.h (getgroups): Use TARGET_GETGROUPS_T for array type
	of second argument of getgroups.
	* configure, config.in: Rebuilt.

From-SVN: r35086
2000-07-17 03:23:16 -06:00
Marc Espie 97f2b269a2 configure.in (vax-*-openbsd): Change to new style configuration, add collect2/float_format information.
* configure.in (vax-*-openbsd):  Change to new style configuration,
        add collect2/float_format information.
        * configure:  Rebuilt.
        * config/vax/openbsd1.h:  New.
        * config/vax/openbsd.h:  New.
        * config/vax/t-openbsd:  New.

From-SVN: r35079
2000-07-17 02:38:18 -06:00
Jeff Law 891a3cfe7b Forgot to commit m88k changes.
From-SVN: r35070
2000-07-17 02:14:48 -06:00
J. David Anglin 4c1331d644 aclocal.m4 (AC_FUNC_MMAP_ANYWHERE): Extend test to detect systems with MAP_ANONYMOUS and MAP_ANON.
* aclocal.m4 (AC_FUNC_MMAP_ANYWHERE): Extend test to detect systems
        with MAP_ANONYMOUS and MAP_ANON.
        * configure, config.in: Rebuilt.

From-SVN: r34977
2000-07-11 22:06:13 -06:00
Philipp Thomas cab10d564e aclocal.m4 (AM_WITH_NLS): Don't set MSGFMT or GMSGFMT to no, test for msgfmt without path instead.
2000-06-26  Philipp Thomas  <pthomas@suse.de>

	* aclocal.m4 (AM_WITH_NLS): Don't set MSGFMT or GMSGFMT to no,
	test for msgfmt without path instead.
	* configure: Rebuilt.

From-SVN: r34704
2000-06-26 04:47:41 +00:00
Philipp Thomas 17297c41c4 aclocal.m4 (AM_WITH_NLS): Set create_catalogs=no if no catalog compiler found.
* aclocal.m4 (AM_WITH_NLS): Set create_catalogs=no if no catalog
	compiler found.
	AM_GNU_GETTEXT: Don't set CATALOGS if create_catalogs=no.
	* configure: Rebuilt.

From-SVN: r34692
2000-06-25 02:45:23 +00:00
Philipp Thomas 47f0185696 aclocal.m4 (AM_GNU_GETTEXT): If LINGUAS isn't set, build all catalogs specified in ALL_LINGUAS.
2000-06-24  Philipp Thomas  <pthomas@suse.de>

	* aclocal.m4(AM_GNU_GETTEXT): If LINGUAS isn't set, build
	all catalogs specified in ALL_LINGUAS.
	* configure: Rebuilt.

From-SVN: r34674
2000-06-24 06:48:43 +00:00
Zack Weinberg 063a4b851f configure.in: Use 'test a = b' not 'test a == b'.
* configure.in: Use 'test a = b' not 'test a == b'.
	* configure: Regen.

From-SVN: r34624
2000-06-21 00:27:53 +00:00
Kaveh R. Ghazi 59f406b7a3 configure.in (--enable-checking): Update --help doc to reflect new defaults.
* configure.in (--enable-checking): Update --help doc to reflect
	new defaults.  Ensure $ac_save_IFS is set before $IFS is changed.

From-SVN: r34596
2000-06-19 17:23:54 +00:00
Jeffrey A Law c70c19178b configure.in: Revert AC_TYPE_GETGROUPS patch from June 13.
* configure.in: Revert AC_TYPE_GETGROUPS patch from June 13.
        * configure, config.in: Rebuilt.

From-SVN: r34546
2000-06-14 09:27:58 -06:00
Andreas Jaeger 51d0e20cae configure.in: Use --enable-checking=misc,tree,gc by default if...
* configure.in: Use --enable-checking=misc,tree,gc by default if
        no --enable-checking option is given and for
        --enable-checking=yes.
        * configure: Rebuilt.

From-SVN: r34540
2000-06-13 21:06:30 -06:00
J. David Anglin 092417da9f configure.in: Add AC_TYPE_GETGROUPS test.
* configure.in: Add AC_TYPE_GETGROUPS test.
        * sys-protos.h: Use GETGROUPS_T * for second arg of getgroups.
        * configure: Rebuilt.

From-SVN: r34524
2000-06-13 15:28:31 -06:00
Philipp Thomas 37aeda9a80 configure.in (ALL_LINGUAS): Changed en_UK to en_GB.
gcc:
2000-06-13  Philipp Thomas  <pthomas@suse.de>

	* configure.in(ALL_LINGUAS): Changed en_UK to en_GB.
	* configure: Rebuilt.

gcc/po:

2000-06-13  Philipp Thomas  <pthomas@suse.de>

	* en_UK.po: Renamed to en_GB.po.

From-SVN: r34519
2000-06-13 18:04:16 +00:00
David O'Brien bad4c10670 configure.in: Adjust FreeBSD bits to match changes to config.guess.
* configure.in:  Adjust FreeBSD bits to match changes to config.guess.
        We now default to ELF for the i386, and a.out is the special case.
        * configure:  Rebuilt.

From-SVN: r34518
2000-06-13 10:09:51 -06:00
Mark Klein 5d712c3997 configure.in: Update tm dependencies for MPE.
* configure.in: Update tm dependencies for MPE.
        * configure: Rebuilt.

From-SVN: r34505
2000-06-12 16:59:13 -06:00
Kaveh R. Ghazi 6efa15825e * configure.in: Also avoid wrapping auto-build.h with IN_GCC.
From-SVN: r34469
2000-06-09 14:49:38 +00:00
Jakub Jelinek e95b1e6a2e configure.in: Check whether gas supports -relax.
* configure.in: Check whether gas supports -relax.
	* configure, config.in: Rebuilt.
	* config/sparc/sparc.h (ASM_RELAX_SPEC): Define.
	(EXTRA_SPECS): Add asm_relax.
	(ASM_SPEC): Add %(asm_relax).
	(TARGET_SWITCHES): Add -mrelax and -mno-relax.
	* config/sparc/linux64.h (LINK_ARCH_SPEC): Rename to LINK_SPEC.
	(LINK_SPEC): Pass -relax to linker unless -mno-relax or -r.
	(ASM_SPEC): Add %(asm_relax).
	* config/sparc/linux.h (LINK_SPEC, ASM_SPEC): Likewise.
	* config/sparc/sparc.c (output_sibcall): If HAVE_AS_RELAX_OPTION,
	never use sethi/jmpl for leaf tail calls.  Use or with rs2 %g0
	instead of mov, so that gas can further optimize it.

From-SVN: r34466
2000-06-09 16:31:54 +02:00
Philipp Thomas 24c40136c3 configure.in (AC_C_INLINE): Added.
* configure.in (AC_C_INLINE): Added.
	* aclocal.m4 (AM_WITH_NLS): Enable --with-included-gettext by default.
	* configure: Regenerate.

From-SVN: r34440
2000-06-06 22:04:08 +00:00
Philippe De Muyter faf0173be7 configure.in (Make the links): Typo fix ...
* configure.in (Make the links): Typo fix : the file that must be
	included without #ifdef IN_GCC is `auto-host.h', not `auto-config.h'.
	* configure: File rebuilt.

From-SVN: r34431
2000-06-06 17:36:34 +00:00
Philipp Thomas 8708335a9e *gcc/configure: regenerated
From-SVN: r34424
2000-06-06 07:24:57 +00:00
Richard Henderson 99923eedd0 * configure.in: Fix typo last change.
From-SVN: r34304
2000-05-31 11:10:28 -07:00
Philipp Thomas dc6746e723 configure.in (enable-nls): Enable if build == host, i.e.
gcc:
	* configure.in (enable-nls): Enable if build == host, i.e. when
	not building a canadian cross compiler.
	(enable-maintainer-mode): Added for use with i18n.
	* aclocal.m4 (AM_GNU_GETTEXT): Only build catalogs that are a
	cross section of ALL_LINGUAS and LINGUAS.
	* configure: Rebuild.

gcc/po:
	* Makefile.in.in: Create compiled catalogs in objdir, not
	srcdir. Create gcc.pot and cat-tbl-id.c only in maintainer
	mode.
	* gcc.pot: Generated and checked in.
	* cat-tbl-id.c: Generated and checked in.
	* stamp-cat-id: Generated and checked in.

From-SVN: r34303
2000-05-31 17:46:30 +00:00
Zack Weinberg f45c9d956f configure.in (stage1_warn_cflags): Add -Wstrict-prototypes -Wmissing-prototypes.
* configure.in (stage1_warn_cflags): Add -Wstrict-prototypes
	-Wmissing-prototypes.
	* configure: Regenerate.
	* gcc.texi: Remove explanation of MD_CALL_PROTOTYPES.

	* builtins.c, calls.c: Change all instances of gen_call_* or
	gen_sibcall_* to GEN_CALL_* and GEN_SIBCALL_*.
	* calls.c (struct_value_size_rtx): Separate definition from
	initialization to avoid unused variable warning.

	* genflags.c (gen_macro): New function.
	(gen_proto): Call it for gen_call_* and gen_sibcall_*.
	(gen_nonproto): Delete.
	(gen_insn): Put all insns on the same obstack.
	(main): Generate prototypes for everything unconditionally.

From-SVN: r34213
2000-05-27 22:34:05 +00:00
Zack Weinberg f12bc141e1 configure.in: Add AC_CHECK_TYPE(ssize_t).
* configure.in: Add AC_CHECK_TYPE(ssize_t).  Remove commented
	out check for wchar_t.
	* acconfig.h: Add template for ssize_t.  Remove @TOP@.
	* system.h: Add infrastructure for defining missing
	TYPE_MAX/TYPE_MIN macros.  Use it to provide fallback
	definitions of UCHAR_MAX and SSIZE_MAX.
	* configure: Regenerate.
	* config.in: Regenerate.

From-SVN: r34212
2000-05-27 22:05:01 +00:00
J. David Anglin ff5def207e configure.in: Check for -Wno-long-long option support and improve handling of warning CFLAGS...
* configure.in: Check for -Wno-long-long option support and improve
        handling of warning CFLAGS for stages 1 and 2.
        * Makefile.in (WARN_CFLAGS): Move definition to configure.in.
        * configure: Regenerate.

From-SVN: r34156
2000-05-24 19:49:09 -06:00
Eric Christopher b39d221a3f configure.in: Redefine inhibit_libc conditions.
* configure.in: Redefine inhibit_libc conditions.
        * libgcc2.c: Remove inhibit_libc conditional define.
        * configure: Regenerate.

From-SVN: r34126
2000-05-24 00:21:49 -06:00
Phil Edwards d6c6b5531e configure.in: For --enable-languages=LIST, check for empty LIST.
* configure.in:  For --enable-languages=LIST, check for empty LIST.
        * configure:  Regenerate.

From-SVN: r34123
2000-05-23 23:18:48 -06:00
Nick Clifton cd2b33d005 Remove compile time warnings when building arm.o
From-SVN: r34114
2000-05-23 20:52:58 +00:00
Philippe De Muyter e38df833df configure.in (NO_MINUS_C_MINUS_O): Fix thinko in previous fix.
* configure.in (NO_MINUS_C_MINUS_O): Fix thinko in previous fix.
        * configure: Regenerated.

From-SVN: r34111
2000-05-23 13:59:47 -06:00
Kaveh R. Ghazi f31e826ba3 getopt.h (getopt): Also check HAVE_DECL_* when prototyping.
include:
	* getopt.h (getopt): Also check HAVE_DECL_* when prototyping.

	* libiberty.h (basename): Likewise.

gcc:
	* aclocal.m4 (gcc_AC_CHECK_DECL, gcc_AC_CHECK_DECLS): New macros
	rewritten from the internals of gcc_AC_NEED_DECLARATION{S}.

	* configure.in (gcc_AC_CHECK_DECLS): Call this instead of
	gcc_AC_NEED_DECLARATIONS.

	* dwarfout.c: Don't prototype time().

	* gcc.c: Check HAVE_DECL_* instead of NEED_DECLARATION_*.

	* system.h: Likewise.

	* toplev.c: Likewise.

From-SVN: r34108
2000-05-23 17:42:19 +00:00
Mark Elbrecht 2838397ce2 configure.in (*-pc-msdosdjgpp): Set float_format to none.
* configure.in (*-pc-msdosdjgpp): Set float_format to none.
        * configure: Rebuilt.

From-SVN: r34004
2000-05-18 17:06:19 -06:00
Philippe De Muyter 3642ea2fda configure.in (NO_MINUS_C_MINUS_O): Test `$ac_cv_prog_cc_${ac_cc}_c_o', not `$ac_cv_prog_cc_cc_c_o'.
* configure.in (NO_MINUS_C_MINUS_O): Test `$ac_cv_prog_cc_${ac_cc}_c_o',
        not `$ac_cv_prog_cc_cc_c_o'.
        * configure: Regenerated.

From-SVN: r33994
2000-05-18 12:16:53 -06:00
Philippe De Muyter b4c7e5673b configure.in (NO_MINUS_C_MINUS_O): Macro made availabe for AC_OUTPUT files.
* configure.in (NO_MINUS_C_MINUS_O): Macro made availabe for AC_OUTPUT
        files.
        * configure: Rebuilt.

From-SVN: r33971
2000-05-17 18:20:39 -06:00
Jeffrey A Law 99b09ff352 configure.in (hppa*64*-*-hpux11*): New target for PA64 support.
* configure.in (hppa*64*-*-hpux11*): New target for PA64 support.
        * configure: Rebuilt.

From-SVN: r33839
2000-05-11 01:20:21 -06:00
Robert Lipe d8e7c8842a configure.in (i[34567]86-*-isc*): Add t-i386bare to suppress libgcc1.
Regenerate:

        * configure.in (i[34567]86-*-isc*) [tmake_file]: Add t-i386bare
        to suppress libgcc1.
        (i[34567]86-*-sco3.2v5*) Likewise.
        (i[34567]86-*-sco3.2v4*) Likewise.
        (i[34567]86-*-sco) Likewise.
        (i[34567]86-*-solaris2) Likewise.
        (i[34567]86-*-sysv5*) Likewise.
        (i[34567]86-*-sysv4*) Likewise.
        (i[34567]86-*-udk*) Likewise.
        (i[34567]86-*-sysv*) Likewise.

From-SVN: r33654
2000-05-04 02:26:11 +00:00
Richard Henderson 3ec83fc2ae Makefile.in (STAGESTUFF): Add libgcc libgcc.mk.
* Makefile.in (STAGESTUFF): Add libgcc libgcc.mk.
        (libgcc1.null, libgcc1.cross, libgcc1.a): Remove targets.
        (libgcc1-asm.a, libgcc1.S, libgcc2.a): Remove targets.
        (mklibgcc, libgcc.mk): New targets.
        (libgcc.a): Use libgcc.mk.
        (stmp-multilib): Likewise.
        (stmp-multilib-sub): Remove.
        (mostlyclean): Don't delete libgcc2 temp files.
        * configure.in (AC_PROG_CC_C_O): Add.
        (NO_MINUS_C_MINUS_O): Substitute it.
        (all_outputs): Add mklibgcc.
        * mklibgcc.in: New file.

From-SVN: r33637
2000-05-03 11:21:49 -07:00
Zack Weinberg 09fa07054c aclocal.m4 (gcc_AC_CHECK_PROG_VER): New macro.
* aclocal.m4 (gcc_AC_CHECK_PROG_VER): New macro.
	* configure.in: Look for makeinfo in the unified tree, then
	for a system makeinfo which is sufficiently new.
	* Makefile.in: If configure says makeinfo is too old, don't
	build or install Info documentation.

From-SVN: r33614
2000-05-02 19:09:24 +00:00
Richard Henderson cf889600be configure.in (alpha*-*-linux-gnulibc1*): Remove reference to alpha/t-linux.
* configure.in (alpha*-*-linux-gnulibc1*) [tmake_file]: Remove
        reference to alpha/t-linux.
        (alpha*-*-linux-gnu*): Likewise.
        * configure: Rebuild.

From-SVN: r33598
2000-05-01 17:15:28 -07:00
Richard Henderson a5c874cb02 d30v: New port.
* config/d30v: New port.

        * configure.in (d30v-*): Set fp format.
        * configure: Rebuild.

From-SVN: r33548
2000-04-30 04:17:13 -07:00
Chris Demetriou e7651ec5a5 configure.in (sparc-hal-solaris2*): protect [] glob from my expansion.
* configure.in (sparc-hal-solaris2*): protect [] glob from
        my expansion.
        (mips*-*-ecoff*, mips*-*-elf*, mips*-*-*): use MASK_ defines
        rather than hard-coded constants in target_cpu_default2.
        * configure: Regenerate.

From-SVN: r33520
2000-04-28 15:46:33 -06:00
Kaveh R. Ghazi 86cf1cbd5f aclocal.m4 (gcc_AC_NEED_DECLARATION): This macro now requires INCLUDES to search and does not provide any of its own.
* aclocal.m4 (gcc_AC_NEED_DECLARATION): This macro now requires
       INCLUDES to search and does not provide any of its own.  Also it
       now accepts optional ACTION-IF-NEEDED and ACTION-IF-NOT-NEEDED
       parameters.  Also it does not call AC_DEFINE.
       (gcc_AC_NEED_DECLARATIONS): Likewise.  Also this macro now calls
       AC_DEFINE and provides for automatic entries for autoheader.
       (gcc_AC_FUNC_PRINTF_PTR): Cleanup C code in test.

       * configure.in (gcc_AC_NEED_DECLARATIONS): Save and restore CFLAGS
       so we can pass -I flags and include gansidecl.h/system.h in this
       test.

       * acconfig.h: Delete all NEED_DECLARATION_* entries.

From-SVN: r33428
2000-04-26 00:03:37 +00:00
Kaveh Ghazi 119d24d17a acconfig.h (ENABLE_STD_NAMESPACE, [...]): Delete entries.
* acconfig.h (ENABLE_STD_NAMESPACE, ENABLE_CHECKING,
        ENABLE_TREE_CHECKING, ENABLE_RTL_CHECKING, ENABLE_GC_CHECKING,
        ENABLE_GC_ALWAYS_COLLECT): Delete entries.

        * configure.in (ENABLE_STD_NAMESPACE, ENABLE_CHECKING,
        ENABLE_TREE_CHECKING, ENABLE_RTL_CHECKING, ENABLE_GC_CHECKING,
        ENABLE_GC_ALWAYS_COLLECT): Use three argument form of AC_DEFINE
        for these macros.  Clean up spacing and linewraps.

From-SVN: r33420
2000-04-25 20:30:16 +00:00
Kaveh R. Ghazi f6cbf6727d configure.in (ENUM_BITFIELDS_ARE_UNSIGNED): Delete redundant call to AC_MSG_RESULT.
* configure.in (ENUM_BITFIELDS_ARE_UNSIGNED): Delete redundant
       call to AC_MSG_RESULT.

From-SVN: r33385
2000-04-24 18:23:19 +00:00
Kaveh R. Ghazi 99e757d510 aclocal.m4: (GCC_HEADER_STRING...
* aclocal.m4: (GCC_HEADER_STRING, GCC_NEED_DECLARATION,
        GCC_NEED_DECLARATIONS, GCC_FUNC_VFPRINTF_DOPRNT,
        GCC_FUNC_PRINTF_PTR, GCC_PROG_LN_S, GCC_PROG_LN, GCC_C_VOLATILE,
        AC_GCC_C_LONG_DOUBLE, GCC_FUNC_MKDIR_TAKES_ONE_ARG,
        EGCS_PROG_INSTALL): Rename autoconf macros with prefix gcc_AC_.

        * configure.in (AC_GCC_C_LONG_DOUBLE, GCC_PROG_LN, GCC_PROG_LN_S,
        GCC_C_VOLATILE, EGCS_PROG_INSTALL, GCC_HEADER_STRING,
        GCC_FUNC_VFPRINTF_DOPRNT, GCC_FUNC_PRINTF_PTR,
        GCC_NEED_DECLARATIONS, GCC_FUNC_MKDIR_TAKES_ONE_ARG): Invoke with
        new macros names.

From-SVN: r33383
2000-04-24 17:45:50 +00:00
Zack Weinberg 86702e3134 cccp.c, [...]: Removed.
* cccp.c, cexp.y, cexp.c, cccp.1: Removed.

	* configure.in: Delete --disable-cpplib option and all
	references to cpp_main.
	* configure: Regenerate.
	* Makefile.in: Remove all references to CCCP, CCCP_OBJS,
	@cpp_main@, cccp.c, cexp.c, cexp.y, cexp.output, cexp.o,
	cccp.o, cccp, or cppmain.  Link cppmain.o straight to
	cpp$(exeext).  Add --no-headers to makeinfo command line when
	generating INSTALL.  Install and uninstall cpp.1 manpage, not
	cccp.1.
	* install.texi: Delete all references to cexp.y/cexp.c.
	Delete ancient instructions for compiling GCC on 3b1.
	* INSTALL: Regenerate.

	* cppfiles.c, cpplib.h, jump.c, protoize.c, c-lex.c,
	ch/decl.c, ch/lex.c, cp/lex.c, f/lex.c, mips/t-ecoff,
	mips/t-elf, mips/t-r3900: Remove references to cccp.c.
	* convex.h, fx80.h, m68k.h, pdp11.h, contrib/gcc_update,
	f/g77install.texi: Remove references to	cexp.c/cexp.y.
	* xm-linux.h, xm-os2.h, romp.h: Remove definition of BSTRING,
	which is no longer tested anywhere.

	* po/POTFILES.in: Remove cccp.c and cexp.c.  Comment out
	alpha/vms-tramp.asm.

From-SVN: r33238
2000-04-18 22:34:13 +00:00
Robert Lipe c149cc37c8 configure.in (ENUM_BITFIELDS_ARE_UNSIGNED): Added.
* configure.in (ENUM_BITFIELDS_ARE_UNSIGNED): Added.  Check that
        bitfields of the host compiler are not signed quantities.
        * config.in: Regenerate.
        * configure: Regenerate.
        * system.h (USE_ENUM_BITFIELDS): Added.
        (ENUM_BITFIELDS): Added.
        * rtl.h (rtx_def): Members `code', `mode', now ENUM_BITFIELD.
        (SHORT_ENUM_BUG): Deleted.
        * tree.h (tree_common): Members `code', `mode', `built_in_class',
        now ENUM_BITFIELD.
        * config/i386/xm-sco.h (ONLY_INT_FIELDS): Deleted.
        (CODE_FIELD_BUG): Likewise.
        * config/m68k/x-apollo68 (CC): Deleted SHORT_ENUM_BUG.
        (OLD_CC): Likewise.
        * config/m68k/x-ccur (X_CFLAGS): Likewise.

From-SVN: r33233
2000-04-18 19:42:30 +00:00
Zack Weinberg 56f02b88c1 aclocal.m4 (AM_GNU_GETTEXT): Don't AC_REQUIRE([AC_FUNC_MMAP]).
* aclocal.m4 (AM_GNU_GETTEXT): Don't AC_REQUIRE([AC_FUNC_MMAP]).
	(AC_FUNC_MMAP_FILE): New macro, tests read-only private map of
	a plain file.
	* configure.in: Call AC_FUNC_MMAP_FILE.
	* configure: Regenerate.
	* config.in: Regenerate.

	* intl/loadmsgcat.c: Test HAVE_MMAP_FILE not HAVE_MMAP.
	* fixinc/fixincl.c: Likewise.

From-SVN: r33212
2000-04-17 17:25:57 +00:00
Richard Kenner 6da9c622a6 configure.in (alpha*-*-*): Aad config/alpha/t-alpha.
* configure.in (alpha*-*-*): Aad config/alpha/t-alpha.
	* configure: Rebuilt.
	* libgcc2.c (__fixunstfDI): Renamed from __fixunstfdi.
	(__fixunsxfDI): Renamed from __fixunsxfdi.
	(__fixunsdfDI): Renamed from __fixunsdfdi.
	(__fixunssfDI): Renamed from __fixunssfdi.
	(__floatdisf): Use proper type in REP_BIT macro.
	(__fixunsxfSI): Renamed from __fixunsxfsi.
	(__fixunsdfSI): Renamed from __fixunsdfsi.
	(__fixunssfSI): Renamed from __fixunssfsi.
	* libgcc2.h: Add cases for MIN_UNITS_PER_WORD > 4.
	Change location of macros and upper-case some names as above.
	* longlong.h ([alpha]): Use PARAMS, not __P in decl of __udiv__qrnnd.
	* config/alpha/t-alpha, config/alpha/qrnnd.asm: New files.

From-SVN: r33166
2000-04-15 12:34:38 -04:00
Richard Earnshaw d5b7b3ae33 Merge changes from merged-arm-thumb-backend-branch onto trunk.
From-SVN: r33028
2000-04-08 14:29:53 +00:00
Benjamin Kosnik 7822500a66 configure.in: And here.
2000-04-05   Benjamin Kosnik  <bkoz@cygnus.com>

        * configure.in: And here.
        * configure: Regenerate.
        * acconfig.h: Add ENABLE_STD_NAMESPACE to set flag_honor_std if
        --enable-libstdcxx-v3 is passed at configure time.
        * config.h.in: Regenerate.

From-SVN: r32962
2000-04-06 06:47:52 +00:00
Ulrich Drepper 6a9c5260e1 acconfig.h: Add HAVE_GAS_HIDDEN.
* acconfig.h: Add HAVE_GAS_HIDDEN.
        * config.h: Regenerated.
        * configure.in: Add test for .hidden pseudo-op in gas.
	* configure: Regenerated.
        * crtstuff.c: Include auto-host.h.
        Emit additional .hidden pseudo-op for __dso_handle if the
        assembler knows about it.

From-SVN: r32925
2000-04-05 07:34:36 +00:00
Geoff Keating b26e3a8231 t-ppccomm (EXTRA_MULTILIB_PARTS): Add crtbegin, crtend.
* config/rs6000/t-ppccomm (EXTRA_MULTILIB_PARTS): Add crtbegin,
crtend.
(CRTSTUFF_T_CFLAGS_S): Delete definition.
* config/rs6000/sysv4.h (STARTFILE_LINUX_SPEC): Always use crtbegin.
(ENDFILE_LINUX_SPEC): Always use crtend.
* configure.in (powerpc-*-linux-gnulibc1): Don't define extra_parts.
(powerpc-*-linux-gnu): Likewise.
* configure: Regenerate.

* config/rs6000/eabi.h:	Don't include sysv4.h.
(MULTILIB_DEFAULTS): Don't define.
* config/rs6000/eabiaix.h: Don't include eabi.h.
* config/rs6000/eabile.h: Delete.
* config/rs6000/eabilesim.h: Delete.
* config/rs6000/eabisim.h: Don't include eabi.h.
* config/rs6000/linux.h: Don't include sysv4.h.
(JUMP_TABLES_IN_TEXT_SECTION): Don't redefine.
(MULTILIB_DEFAULTS): Don't redefine.
* config/rs6000/rtems.h: Don't include eabi.h.
* config/rs6000/sol2.h: Don't include sysv4le.h.
* config/rs6000/sysv4le.h: Don't include sysv4.h.
* config/rs6000/t-ppc: Delete.
* config/rs6000/t-ppcgas: Correct comment.
* config/rs6000/t-ppcos: Correct comment.  Don't build
multilibs for -fPIC, rather use -fPIC -mstrict-align
as default.
* config/rs6000/t-ppc: Delete.
* config/rs6000/vxppc.h: Don't include sysv4.h.
* config/rs6000/vxppcle.h: Delete.
* configure.in: Use multiple header files for p2pc ELF targets
powerpc-eabiaix, powerpc-eabisim, powerpc-rtems, powerpcle-eabi,
powerpcle-eabisim, powerpc-elf, powerpcle-elf, powerpc-linux-gnu,
powerpc-linux-gnulibc1, powerpc-sysv, powerpcle-sysv,
powerpc-vxworks, powerpcle-vxworks.  Assume GAS functionality is
always available for these platforms.

From-SVN: r32918
2000-04-05 01:22:36 +00:00
Zack Weinberg 694f020b13 configure.in: Comment out --enable-c-cpplib stanza.
* configure.in: Comment out --enable-c-cpplib stanza.
	* configure: Regenerate.

From-SVN: r32838
2000-03-30 22:31:37 +00:00
Geoff Keating 1c521d4150 configure.in: Set $IFS to a value if it doesn't already have one in the --enable-checking...
* configure.in: Set $IFS to a value if it doesn't already have one
in the --enable-checking handling.
* configure: Regenerate.

From-SVN: r32651
2000-03-20 20:58:53 +00:00