Commit Graph

148 Commits

Author SHA1 Message Date
Richard Henderson 9d654bba3a osf.h (HAVE_STAMP_H): Define.
* alpha/osf.h (HAVE_STAMP_H): Define.
        * alpha.c: Use it.
        * alpha/netbsd.h, alpha/netbsd-elf.h: New files.
        * configure.in (alpha*-*-netbsd*): New.
        Based on patches from Paul H. Anderson <pha@pdq.com>.
        * configure.in (alpha*-*-linux-*): Kill xm_defines.
        (alpha*-*-linux-gnulibc1*) [fixincludes]: Define.
        * alpha/xm-linux.h: Remove file.

From-SVN: r19809
1998-05-16 16:24:20 -07:00
Michael Meissner a494747c2b acconfig.h (ENABLE_CHECKING): Undefine.
* acconfig.h (ENABLE_CHECKING): Undefine.
        * configure.in (--enable-checking): New option.
        * flow.c (reg_n_max): New global variable.
        * regclass.c (allocate_reg_info): Keep reg_n_max up to date.
        Delete regno_max variable.
        * regs.h (REG_N_CHECK): Define.
        (REG_N_REFS, REG_N_SETS, REG_N_DEATHS): Use REG_N_CHECK.
        (REG_N_CHANGES_SIZE, REG_N_CALLS_CROSSED, REG_LIVE_LENGTH): Likewise.
        (REGNO_FIRST_UID, REGNO_LAST_UID, REGNO_LAST_NOTE_UID): Likewise.

Co-Authored-By: Martin v. Loewis <martin@mira.isdn.cs.tu-berlin.de>

From-SVN: r19708
1998-05-13 05:57:25 -06:00
Richard Henderson e55a5ea6f2 * configure.in (alpha-*-linux-gnu): Undo lossage from gcc2 merge.
From-SVN: r19665
1998-05-11 02:16:34 -07:00
Jeff Law e9b4fabf5c acconfig.h (HAVE_VOLATILE): Insert stub for autoconf.
* acconfig.h (HAVE_VOLATILE): Insert stub for autoconf.
        * alocal.m4 (GCC_C_VOLATILE): New autoconf test.
        * configure.in: Use GCC_C_VOLATILE.
        * system.h (volatile): Define as empty if no volatile support is
        available.
        * genemit.c (output_add_clobbers): Removed unused variable 'i' from
        generated fucntion.

From-SVN: r19653
1998-05-09 19:27:49 -06:00
Manfred Hollstein 32f65aa0fc fixinc.wrap: Renamed from fixinc.math.
d
	* fixinc.wrap: Renamed from fixinc.math.  Put wrapper around
	curses.h if it contains `typedef char bool;', as suggested by
	Manfred Hollstein <manfred@s-direktnet.de>.
	* configure.in: Rename fixinc.math to fixinc.wrap.

From-SVN: r19629
1998-05-08 01:18:40 +00:00
Jim Wilson e445171e7c Fix host/target confusion with enable_threads, reported by Brendan Kehoe.
* configure.in (enable_threads): Rename to enable_threads_flag before
	main loop.  Set enable_threads to enable_threads_flag inside main
	loop.

From-SVN: r19615
1998-05-07 09:13:16 -07:00
Kaveh R. Ghazi 76b4b31ead Handle missing vfprintf() & _doprnt() functions with linked in modules,
plus do some general cleanup of variable argument handling.
        * aclocal.m4 (GCC_FUNC_VFPRINTF_DOPRNT): New macro.
        * configure.in: Add a call to GCC_FUNC_VFPRINTF_DOPRNT.
        (AC_CHECK_HEADERS): Remove unused check for varargs.h,sys/varargs.h.
        (AC_CHECK_FUNCS): Remove unused check for vprintf.
        * Makefile.in: Add support for linking in vfprintf.c and doprint.c.
        (cccp.o): Depend on gansidecl.h.
        (cexp.o): Likewise.
        * cccp.c: Convert from using PRINTF_ALIST/PRINTF_DCL to VPROTO as
        per the rest of gcc source.
        * cexp.y: Likewise.  Include gansidecl.h and remove all code made
        redundant.
        * cccp.c: Remove checks for HAVE_VPRINTF and the associated code
        used when vfprintf is missing.
        * cexp.y: Likewise.
        * gcc.c: Likewise.
        * genattrtab.c: Likewise.
        * mips-tfile.c: Likewise.
        * toplev.c: Likewise.
        * vfprintf.c: New file.
        * doprint.c: Likewise.

From-SVN: r19610
1998-05-07 11:44:09 +00:00
Kaveh R. Ghazi 8f81384fec The isascii check is needed by system.h.
* configure.in (AC_CHECK_FUNCS): Add isascii.
        (GCC_NEED_DECLARATIONS): Add atof.
        * system.h: Provide prototypes for abort, atof, atol and sbrk here.
        * rtl.c, rtl.h, toplev.c, tree.h: Not here.

From-SVN: r19572
1998-05-06 08:36:04 +00:00
Jeff Law f5963e6170 * Check in merge from gcc2. See ChangeLog.12 for details.
From-SVN: r19553
1998-05-05 17:18:02 -06:00
Robert Lipe a4cbe801b3 Make UnixWare 7 bootstrap support work with final shipping product.
d
        Make UnixWare 7 bootstrap support work with final shipping product.
        * configure.in: (i[34567]86-*-sysv5): append, not overwrite, xm_file.
        Pick up xm-siglist and xm-alloca.
        (xm_defines): Add USG so dbxout will build.
        * configure: Regenerate.

From-SVN: r19529
1998-05-03 22:15:49 +00:00
Michael Meissner 2b7972b093 update m32r port
From-SVN: r19465
1998-04-28 05:58:21 +00:00
Jeffrey A Law fe81dd695d * configure.in: Use CC_FOR_BUILD, not BUILD_CC.
From-SVN: r19406
1998-04-24 08:58:23 -06:00
John Carr 87d1ea7937 expr.c (expand_builtin, [...]): Set MEM_IN_STRUCT_P if the argument is the address of a structure or array.
* expr.c (expand_builtin, case MEMSET): Set MEM_IN_STRUCT_P
	if the argument is the address of a structure or array.
	* configure.in: Enable Haifa scheduler by default for SPARC.

From-SVN: r19405
1998-04-24 13:16:26 +00:00
Michael Meissner f55b1ca872 Switch to strrchr if available instead of rindex
From-SVN: r19341
1998-04-20 13:11:38 +00:00
Jim Wilson df6faf7954 Fix host/build confusion with gas and gnu_ld flags.
* configure.in (gnu_ld): Rename to gnu_ld_flag before main loop.
	Set gnu_ld to gnu_ld_flag inside main loop.
	(gas): Likewise.

From-SVN: r19230
1998-04-15 05:41:32 -07:00
Jeffrey A Law b7cb92adc9 * Idea and part of the patch from HJ.
* Makefile.in: auto-host.h renamed from auto-config.h.  All references
        changed.
        (distclean): Remove auto-build.h too.
        * configure.in: Rename host autoconf generated file to auto-host.h.
        If host != build, then run autoconf to generate auto-build.h for
        the build machine and include it in build_xm_files.
        Check for wait.h and sys/wait.h.

From-SVN: r19205
1998-04-14 02:32:34 -06:00
Jeffrey A Law 1be12a4a7b configure.in (mips-*-ecoff): Do not mention mips/mips.h in tm_files.
* configure.in (mips-*-ecoff): Do not mention mips/mips.h in tm_files.
        * mips/ecoff.h: Include "mips/mips.h".

From-SVN: r19149
1998-04-12 13:24:39 -06:00
Jeff Law 34a4c46602 Fix minor bugs in previous change.
From-SVN: r19078
1998-04-09 18:57:57 -06:00
Jeffrey A Law 4b104d6e5c configure.in: Handle --with-fast-fixincludes.
* configure.in: Handle --with-fast-fixincludes.
        (fixincludes): If --with-fast-fixincludes, then use a different
        fixincludes program by default.
        * Makefile.in (fixinc.sh): New rule.

From-SVN: r19075
1998-04-09 18:31:10 -06:00
Jeffrey A Law 62db76ee5f configure.in (v850): Use t-v850.
* configure.in (v850): Use t-v850.
        (ix86-wrs-vxworks): Recognize 786 just like other x86 configurations.

From-SVN: r19062
1998-04-08 17:10:27 -06:00
Richard Henderson 574badbc83 crtbegin.asm, [...]: New files.
* alpha/crtbegin.asm, alpha/crtend.asm, alpha/t-crtb: New files.
* configure.in (alpha-*-linux*): Use them.

From-SVN: r19051
1998-04-08 11:22:54 -07:00
Jeff Law 9590eb1bc6 configure.in (x86-dg-dgux): Run fixinc.dgux.
8
        * configure.in (x86-dg-dgux): Run fixinc.dgux.

From-SVN: r19047
1998-04-08 05:56:17 -06:00
Richard Earnshaw 22ec392898 configure.in (sparc-*-solaris2*): Add xm-siglist.h to xm_file.
* configure.in (sparc-*-solaris2*): Add xm-siglist.h to xm_file.
        Add USG and POSIX to xm_defines.

From-SVN: r19024
1998-04-06 16:17:05 -06:00
Bob Manson 10da11319b gcc.c: Add linker spec.
* gcc.c: Add linker spec.
        (link_command_spec): Use %(linker) instead of ld.
        (main): If collect2 is requested as the linker, see if it exists;
        if not, use ld instead.
        * Makefile.in (USE_COLLECT2): It's named collect2 now, not ld.
        (ld:) Deleted.
        (install-collect2): Install as collect2, not ld.
        * configure.in(will_use_collect2): It's named collect2 now.
        * collect2: Remove checks to see if we were invoked recursively.
        (collect_execute): Use _spawnvp under cygwin32.

From-SVN: r19022
1998-04-06 14:51:28 -06:00
Richard Henderson 6ecd4e5399 * configure.in (alpha-dec-osf*): Match osf1.3 correctly.
From-SVN: r19007
1998-04-05 09:30:46 -07:00
Don Bowman 98bd9f0f86 * configure.in (mips-wrs-vxworks): New target.
From-SVN: r19005
1998-04-05 09:54:49 -06:00
Richard Henderson 8983c71604 * configure.in (alpha-*-linux-*): Undo tm_file changes from gcc2 merge.
From-SVN: r18993
1998-04-04 09:04:24 -08:00
Richard Henderson 8e7bc3cd8f configure.in (alpha-*-linux-gnu*): Undo Feb 3 change brought in from gcc2 merge.
* configure.in (alpha-*-linux-gnu*): Undo Feb 3 change brought in
from gcc2 merge.

From-SVN: r18987
1998-04-04 05:32:43 -08:00
Jeff Law 6153647887 * Check in merge from gcc2. See ChangeLog.11 and ChangeLog.12
for details.

        * haifa-sched.c: Mirror recent changes from gcc2.

From-SVN: r18986
1998-04-04 06:32:42 -07:00
Mike Stump 7cc348893e gthr.h: Support systems that don't have weak, but have threads.
* gthr.h: Support systems that don't have weak, but have threads.
        * configure.in (*wrs-vxworks*): Use VxWorks threads by default.
        * gthr-vxworks.h: New file.
        * objc/thr-vxworks.h: Dummy file from thr-single.c for now.

From-SVN: r18971
1998-04-02 16:15:06 -07:00
Richard Henderson 79363e2fa5 configure (alpha-*-linuxecoff, [...]): Run fixincludes.
* configure (alpha-*-linuxecoff, alpha-*-linux-gnulibc1):
Run fixincludes.

From-SVN: r18944
1998-04-01 17:13:17 -08:00
Nick Clifton ea65007e03 Removed thumb-pe target.
From-SVN: r18937
1998-04-01 17:26:35 +00:00
Nick Clifton 75d3a15b4d Add thumb-pe support.
Add super interworking.

From-SVN: r18935
1998-04-01 17:19:01 +00:00
Nick Clifton e98e406fcc Add support for ARM's Thumb instruction set.
From-SVN: r18822
1998-03-25 10:44:07 +00:00
R. Ganesan 535b86ce38 * configure.in: handle with-PACKAGE=no correctly
From-SVN: r18740
1998-03-21 16:19:10 -07:00
Jeffrey A Law d005a5a4ed configure.in (hppa1.0-hp-hpux10): Handle threads for this config too.
* configure.in (hppa1.0-hp-hpux10): Handle threads for this
        config too.

From-SVN: r18721
1998-03-19 15:51:01 -07:00
Jim Wilson 35011dd56c Patch from Bruno Haible for alpha-dec-osf build failure.
* configure.in (alpha-dec-osf): Add default case for osf* to switch.

From-SVN: r18451
1998-03-09 07:14:51 -08:00
Andreas Schwab 8add77cef5 configure.in: Remove duplicate uses of AC_PROG_CC and AC_PROG_MAKE_SET.
* configure.in: Remove duplicate uses of AC_PROG_CC and
	AC_PROG_MAKE_SET.

From-SVN: r18426
1998-03-06 02:02:18 +00:00
Richard Henderson fbb5ed6726 * configure.in (target_cpu_default2): Correct typo for alphapca56.
From-SVN: r18424
1998-03-05 17:00:41 -08:00
Franz Sirl ce514f5730 linux.h: don't define DEFAULT_VTABLE_THUNKS to 1 if USE_GNULIBC_1 is defined
* rs6000/linux.h: don't define DEFAULT_VTABLE_THUNKS to 1 if
        USE_GNULIBC_1 is defined
        * configure.in: add a new case powerpc-*-linux-gnulibc1 which
        includes the t-linux-gnulibc1 fragment

From-SVN: r18405
1998-03-04 13:59:50 -07:00
Manfred Hollstein 9d1ebd25c9 t-linux (LIBGCC1, [...]): Add macros and set to empty.
d
	* config/t-linux (LIBGCC1, CROSS_LIBGCC1, LIBGCC1_TEST): Add macros and
	set to empty.
	* config/t-linux-aout (LIBGCC1, CROSS_LIBGCC1, LIBGCC1_TEST): Likewise.
	* config/alpha/t-linux: Remove file.
	* config/sparc/t-linux: Remove file.
	* config/m68k/t-linux (LIBGCC1, CROSS_LIBGCC1): Remove.
	* config/m68k/t-linux-aout (LIBGCC1, CROSS_LIBGCC1): Likewise.
	* configure.in (alpha*-*-linux-gnulibc1*): Use t-linux instead of alpha/t-linux
	for tmake_file.
	(alpha*-*-linux-gnu*): Likewise.
	(sparc-*-linux-gnulibc1*): Use t-linux instead of sparc/t-linux for tmake_file.
	(sparc-*-linux-gnu*): Likewise.

From-SVN: r18203
1998-02-23 09:41:01 +00:00
Mike Stump 9e89df5017 configure.in: Add support for i386-wrs-vxworks configuration.
* configure.in: Add support for i386-wrs-vxworks configuration.
        * i386/vxi386.h: New file.

From-SVN: r18197
1998-02-22 16:10:06 -07:00
Paul Eggert 0a9bdce34d sol2-sld.h: New file.
* config/sparc/sol2-sld.h: New file.
        * configure.in (sparc-*-solaris2*): Use it when using the
        system linker.

From-SVN: r18105
1998-02-18 17:08:12 -07:00
Kaveh R. Ghazi f1b54f9bbb aclocal.m4 (GCC_FUNC_PRINTF_PTR): New macro to test the printf functions for whether they support the %p format...
* aclocal.m4 (GCC_FUNC_PRINTF_PTR): New macro to test the printf
functions for whether they support the %p format specifier.
* acconfig.h (HOST_PTR_PRINTF): Insert stub for autoconf.
* configure.in (GCC_FUNC_PRINTF_PTR): Use it.
* configure, config.in: Rebuild.

From-SVN: r17760
1998-02-07 05:21:36 -08:00
Gavin Koch 09e4daf5d2 Correct tx39 multilibs.
* mips/t-r3900: New - same as t-ecoff but eliminate
	multilibs: mips1 and mips3.
	* configure.in (tx39*): Use new mips/t-r3900.
 	* configure: Rebuild.
	* mips/r3900.h (MULTILIB_DEFAULTS): Eliminate mips1.

From-SVN: r17693
1998-02-06 14:12:52 +00:00
Kaveh R. Ghazi a81fb89ebe aclocal.m4 (GCC_NEED_DECLARATION): Modify macro to accept a shell variable argument instead of only hard coded...
* aclocal.m4 (GCC_NEED_DECLARATION): Modify macro to accept a
        shell variable argument instead of only hard coded functions.
        (GCC_NEED_DECLARATIONS): New macro to accept multiple functions.
        * configure.in: Collapse multiple calls to AC_CHECK_FUNCS into one
        call.  Collapse multiple calls to GCC_NEED_DECLARATION into one
        call to GCC_NEED_DECLARATIONS (new macro.)  Check if we need
        declarations for bcopy, bcmp and bzero.
        * acconfig.h: Add stubs for bcopy, bcmp and bzero declarations.
        * gansidecl.h: If we have bcopy but don't declare it, then do so.
        Likewise for bcmp and bzero.  Only define macros for bcopy, bcmp,
        bzero, index and rindex if they aren't already present.

From-SVN: r17563
1998-01-31 17:48:06 -07:00
Jeffrey A Law 64a438d6c4 configure.in: Check for declaration of abort.
* configure.in: Check for declaration of abort.
	* acconfig.h: Corresponding changes.
        * toplev.c: Use NEED_DECLARATION_ABORT to determine if abort should
        be declared.

From-SVN: r17556
1998-01-30 01:08:31 -07:00
Jeffrey A Law 0ee31ab17e configure.in: Check for atoq and atoll.
* configure.in: Check for atoq and atoll.
        * rtl.c (read_rtx): Use HAVE_ATOLL and HAVE_ATOQ to select the
        proper routine for converting ascii into long long values.

From-SVN: r17548
1998-01-29 02:14:37 -07:00
Markus F.X.J. Oberhumer ac8a456ac7 configure.in (i*86-pc-msdosdjgpp): Treat like msdos & go32 configurations.
* configure.in (i*86-pc-msdosdjgpp): Treat like msdos & go32
        configurations.

From-SVN: r17495
1998-01-26 15:51:28 -07:00
Richard Henderson db81d74a81 configure.in (build_xm_file): Add auto-config.h if host=build.
* configure.in (build_xm_file): Add auto-config.h if host=build.
(host_xm_file_list): Don't add $(srcdir) to auto-config.h.
(build_xm_file_list): Likewise.
* configure: Rebuild.

From-SVN: r17483
1998-01-25 14:11:32 -08:00