Commit Graph

229 Commits

Author SHA1 Message Date
Jakub Jelinek
e9b841813c configure.in (powerpc64*-*-linux*): Remove.
* configure.in (powerpc64*-*-linux*): Remove.
	* configure: Rebuilt.
libffi/
	* include/ffi.h.in (POWERPC64): Define if 64-bit.
	(enum ffi_abi): Add FFI_LINUX64 on POWERPC.
	Make it the default on POWERPC64.
	(FFI_TRAMPOLINE_SIZE): Define to 24 on POWERPC64.
	* configure.in: Change powerpc-*-linux* into powerpc*-*-linux*.
	* configure: Rebuilt.
	* src/powerpc/ffi.c (hidden): Define.
	(ffi_prep_args_SYSV): Renamed from
	ffi_prep_args.  Cast pointers to unsigned long to shut up warnings.
	(NUM_GPR_ARG_REGISTERS64, NUM_FPR_ARG_REGISTERS64,
	ASM_NEEDS_REGISTERS64): New.
	(ffi_prep_args64): New function.
	(ffi_prep_cif_machdep): Handle FFI_LINUX64 ABI.
	(ffi_call): Likewise.
	(ffi_prep_closure): Likewise.
	(flush_icache): Surround by #ifndef POWERPC64.
	(ffi_dblfl): New union type.
	(ffi_closure_helper_SYSV): Use it to avoid aliasing problems.
	(ffi_closure_helper_LINUX64): New function.
	* src/powerpc/ppc_closure.S: Surround whole file by #ifndef
	__powerpc64__.
	* src/powerpc/sysv.S: Likewise.
	(ffi_call_SYSV): Rename ffi_prep_args to ffi_prep_args_SYSV.
	* src/powerpc/linux64.S: New file.
	* src/powerpc/linux64_closure.S: New file.
	* Makefile.am (EXTRA_DIST): Add src/powerpc/linux64.S and
	src/powerpc/linux64_closure.S.
	(TARGET_SRC_POWERPC): Likewise.

	* src/ffitest.c (closure_test_fn, closure_test_fn1, closure_test_fn2,
	closure_test_fn3): Fix result printing on big-endian 64-bit
	machines.
	(main): Print tst2_arg instead of uninitialized tst2_result.

	* src/ffitest.c (main): Hide what closure pointer really points to
	from the compiler.

From-SVN: r65781
2003-04-18 14:32:36 +02:00
Richard Earnshaw
0590b963aa configure.in (arm-*-netbsdelf*): Enable building java libraries.
* configure.in (arm-*-netbsdelf*): Enable building java libraries.
* configure: Regenerated.

From-SVN: r65694
2003-04-16 18:33:59 +00:00
Nathanael Nerode
73458fb759 Makefile.tpl: Move .NOEXPORT, MAKEOVERRIDES up.
(toplev)
	* Makefile.tpl: Move .NOEXPORT, MAKEOVERRIDES up.  Delete unused
	Make macro.
	* Makefile.in: Regenerate.
	* configure.in: Clean up gxx_include_dir logic.
	* configure: Regenerate.

(gcc)
	* Makefile.in: Eliminate all.indirect.  Update and clean up comments.
	Rearrange.  Reorganize.
	* configure.in: Rearrange.
	* configure: Regenerate.

From-SVN: r64260
2003-03-12 20:41:00 +00:00
Franz Sirl
9a27ac7a2b configure.in (gxx_include_dir): Fix typo.
2003-03-09  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

	* configure.in (gxx_include_dir): Fix typo.
	* configure: Regenerated.

From-SVN: r64038
2003-03-09 17:08:17 +00:00
Nathanael Nerode
3aa8317698 Makefile.tpl: Reindent.
* Makefile.tpl: Reindent.
	* Makefile.in: Regenerate.
	* configure.in: Reindent.  Don't set unused variables.
	* configure: Regenerate.

From-SVN: r63823
2003-03-05 01:45:09 +00:00
Daniel Jacobowitz
9124bc53e9 configure.in: Include $(build_tooldir)/sys-include in FLAGS_FOR_TARGET.
* configure.in: Include $(build_tooldir)/sys-include in
	FLAGS_FOR_TARGET.
	* configure: Regenerated.

From-SVN: r63792
2003-03-04 19:43:35 +00:00
Nathanael Nerode
aa9c3ab4b1 Makefile.tpl: Don't set unused enable_shared, enable_threads macros.
* Makefile.tpl: Don't set unused enable_shared, enable_threads macros.
	* Makefile.in: Regenerate.
	* configure.in: Remove unused logic relating to --enable-shared
	and --enable-threads.  Remove bogus comments.  Remove redundant
	noconfigdirs.
	* configure: Regenerate.

From-SVN: r63776
2003-03-04 07:27:54 +00:00
Nathanael Nerode
cb543528a6 configure.in: Replace ${libstdcxx_version} by its value.
* configure.in: Replace ${libstdcxx_version} by its value.
	Remove reference to mh-dgux.
	* configure: Regenerate.

	* mh-dgux: Delete.

From-SVN: r63775
2003-03-04 07:23:56 +00:00
Uwe Stieber
ef4e756902 Add support for kaOS as cross build target system.
From-SVN: r63400
2003-02-25 10:45:00 +00:00
Alexandre Oliva
ee03dc5e15 configure.in: Introduce --enable-maintainer-mode.
* configure.in: Introduce --enable-maintainer-mode.
* configure: Rebuilt.
* Makefile.tpl (Makefile.in, configure): Enable dependencies only
for maintainer mode.
* Makefile.in: Rebuilt.

From-SVN: r63134
2003-02-19 23:37:24 +00:00
Geoffrey Keating
c8e5d1afc5 configure.in (*-*-darwin*): Rename from powerpc*-*-darwin*, don't configure target-libobjc.
* configure.in (*-*-darwin*): Rename from powerpc*-*-darwin*,
	don't configure target-libobjc.
	* configure: Regenerate.

From-SVN: r62956
2003-02-16 01:09:27 +00:00
Keith R Seitz
61b56b2e4b Makefile.def: Remove "snavigator", "grep", and "db" modules.
* Makefile.def: Remove "snavigator", "grep", and "db" modules.
* Makefile.tpl: Remove "all-snavigator" and "all-grep".
* Makefile.in: Regenerated.
* configure.in: Remove all traces of snavigator, db, and grep.
* configure: Regenerated.

From-SVN: r62496
2003-02-06 15:55:11 -05:00
Phil Edwards
842e91ecd2 configure.in: Revert 24Jan change.
2003-01-27  Phil Edwards  <pme@gcc.gnu.org>

	* configure.in:  Revert 24Jan change.
	* configure:  Regenerate.

From-SVN: r61888
2003-01-27 14:56:12 +00:00
Nathanael Nerode
97286f7fe0 No, really this time.
From-SVN: r61689
2003-01-24 00:39:39 +00:00
Nathanael Nerode
806e09354f configure.in: Revert previous change.
2003-01-23  Nathanael Nerode  <neroden@gcc.gnu.org>

	* configure.in: Revert previous change.
	* configure: Regenerate.

From-SVN: r61676
2003-01-23 22:32:25 +00:00
Nathanael Nerode
307a98643c configure.in: Make rda native-only.
2003-01-23  Nathanael Nerode  <neroden@gcc.gnu.org>

	* configure.in: Make rda native-only.
	* configure: Regenerate.

From-SVN: r61668
2003-01-23 19:56:00 +00:00
Nathanael Nerode
77d187bc37 configure.in: Add missing \.
* configure.in: Add missing \.
	* configure: Rebuilt.

From-SVN: r61487
2003-01-19 23:44:28 +00:00
Jakub Jelinek
a94a2d4cfb configure.in (baseargs): Avoid using \| in sed regular expressions.
* configure.in (baseargs): Avoid using \| in sed regular
	expressions.
	* configure: Rebuilt.

From-SVN: r61431
2003-01-17 09:02:23 +01:00
Jakub Jelinek
73f849244a configure.in (baseargs): Remove all supported forms of --cache-file...
* configure.in (baseargs): Remove all supported forms of
	--cache-file, --srcdir, --host, --build and --target options
	from argument lists.
	* configure: Rebuilt.

From-SVN: r61397
2003-01-16 17:31:49 +01:00
Alexandre Oliva
7c005a3a45 configure.in (noconfigdirs): Don't skip gas on IRIX 6.
* configure.in (noconfigdirs): Don't skip gas on IRIX 6.
* configure: Rebuilt.

From-SVN: r61325
2003-01-15 11:24:15 +00:00
Nathanael Nerode
3dfabf6338 configure.in: Substitute TOPLEVEL_CONFIGURE_ARGUMENTS.
* configure.in: Substitute TOPLEVEL_CONFIGURE_ARGUMENTS.
	* Makefile.tpl: Pass TOPLEVEL_CONFIGURE_ARGUMENTS to gcc.
	* Makefile.in: Regenerate.
	* configure: Regenerate.

From-SVN: r61161
2003-01-10 16:41:48 +00:00
Alexandre Oliva
cf53ae10de configure.in: Remove Makefile in build...
* configure.in: Remove Makefile in build, host and target modules
unless configure was run with --no-recursion.
* configure: Rebuilt.

From-SVN: r61126
2003-01-09 20:44:53 +00:00
Christopher Faylor
d02c69bed7 * configure.in: Add AC_PREREQ for consistency.
From-SVN: r61015
2003-01-07 20:40:40 +00:00
Andrew Cagney
e914a57172 configure.in (GDB_TK): Add tcl directories conditional on gdb/gdbtk directory being present.
2003-01-06  Andrew Cagney  <ac131313@redhat.com>

	* configure.in (GDB_TK): Add tcl directories conditional on
	gdb/gdbtk directory being present.
	* configure: Regenerate.

From-SVN: r60943
2003-01-06 17:37:24 +00:00
John David Anglin
7057154564 configure.in (LD): Improve test for gcc.
* configure.in (LD): Improve test for gcc.  Try to set LD to the ld used
	by gcc if LD is not defined and we are not doing a Canadian Cross.
	* configure: Rebuilt.

From-SVN: r60891
2003-01-04 20:49:49 +00:00
Andreas Schwab
3f4f56e27a configure.in: Fix use of $program_transform_name.
* configure.in: Fix use of $program_transform_name.
	* configure: Regenerated.

From-SVN: r60704
2002-12-31 18:01:38 +00:00
Daniel Jacobowitz
6c1b8d0a73 * configure.in (baseargs): Don't remove first configure argument.
From-SVN: r60673
2002-12-31 03:12:53 +00:00
Alexandre Oliva
ade82b16ba configure.in (host_configargs): Replace reference to no-longer-defined buildopts with --build=${build_alias}.
* configure.in (host_configargs): Replace reference to
no-longer-defined buildopts with --build=${build_alias}.
* configure: Rebuilt.

From-SVN: r60606
2002-12-29 19:04:40 +00:00
Alexandre Oliva
903de29523 configure.in (host_configargs): Replace reference to no-longer-defined buildopts with --build=${build_alias}.
* configure.in (host_configargs): Replace reference to
no-longer-defined buildopts with --build=${build_alias}.
* configure: Rebuilt.

From-SVN: r60582
2002-12-28 17:57:14 +00:00
Nathanael Nerode
53fbfb580b Makefile.tpl: Fix dramatic bustage due to change in program_transform_name.
* Makefile.tpl: Fix dramatic bustage due to change in
	program_transform_name.
	* Makefile.in: Regenerate.

	* configure.in: Remove unnecessary PATH setting.
	* configure: Regnerate.

	* configure.in: Don't default to unprefixed tools unless
	the native tools will work.
	* configure: Regenerate.

From-SVN: r60568
2002-12-28 09:12:19 +00:00
Nathanael Nerode
671aa708d9 configure.in: Convert to autoconf script.
(toplev)
	* configure.in: Convert to autoconf script.  Blow away lots
	of now-redundant Makefile fragments.
	* configure: Generate using Autoconf.
	* Makefile.tpl: Rewrite to reflect autoconfiscation.
	* Makefile.in: Regenerate.
(config)
	* acx.m4: New.
	* mh-a68bsd, mh-aix386, mh-apollo68, mh-delta88, mh-hp300,
	mh-hpux, mh-hpux8, mh-irix5, mh-irix6, mh-ncrsvr43, mh-openedition,
	mh-riscos, mh-sysv: Delete.
	* mh-cxux, mh-dgux386, mh-interix, mh-lynxrs6k, mh-ncr3000,
	mh-necv4, mh-sco, mh-solaris, mh-sysv4, mh-sysv5, mt-v810: Simplify.

From-SVN: r60558
2002-12-28 06:57:50 +00:00
Nathanael Nerode
3fedb74514 configure: Fix stupid bug where RANLIB was mistakenly included.
* configure: Fix stupid bug where RANLIB was mistakenly included.

	* configure.in: Rename (buildargs, hostargs, targargs) to
	(build_configargs, host_configargs, target_configargs).

	* configure.in: Move logic out of sed statement.

From-SVN: r60551
2002-12-28 00:59:52 +00:00
Nathanael Nerode
88b5521b03 Makefile.tpl: Use shared multilib.out.
* Makefile.tpl: Use shared multilib.out.  Use move-if-change for it.
	Convert (cd foo; make) to (cd foo && make).  Clean up multilib.out.
	* Makefile.in: Regenerate.
	* configure.in: Remove unnecessary leftovers.

From-SVN: r60441
2002-12-23 16:54:15 +00:00
Geoffrey Keating
2a72691876 configure.in (extra_ranlibflags_for_target): New variable.
* configure.in (extra_ranlibflags_for_target): New variable.
	(*-*-darwin): Add -c to ranlib commands.
	* configure (tooldir): Handle extra_ranlibflags_for_target.

From-SVN: r60397
2002-12-22 06:46:41 +00:00
Nathanael Nerode
346b290d6d Makefile.tpl: Revert HJL's change.
* Makefile.tpl: Revert HJL's change.
	* Makefile.in: Regenerated.
	* configure.in: Put build_prefix before $(BUILD_SUBDIR) here, and
	always.

From-SVN: r60326
2002-12-19 20:23:50 +00:00
Andreas Schwab
f089514211 Makefile.tpl, [...]: Substitute libstdcxx_incdir.
* Makefile.tpl, configure.in: Substitute libstdcxx_incdir.
	* Makefile.in: Regenerate.

From-SVN: r60303
2002-12-19 11:01:21 +00:00
H.J. Lu
782d0c0231 Makefile.tpl: Add @build_prefix@ before $(BUILD_SUBDIR).
2002-12-18  H.J. Lu <hjl@gnu.org>

	* Makefile.tpl: Add @build_prefix@ before $(BUILD_SUBDIR).
	* Makefile.in: Regenerated.

	* configure.in (build_prefix): New. Substitute.

From-SVN: r60272
2002-12-18 16:51:33 -08:00
Hans-Peter Nilsson
d8437e1bb6 * configure.in (noconfigdirs) [mmix-*-*]: Disable libgloss and gdb.
From-SVN: r60192
2002-12-17 04:32:25 +00:00
Zack Weinberg
4977bab6ed Merge basic-improvements-branch to trunk
From-SVN: r60174
2002-12-16 18:23:00 +00:00
Geoffrey Keating
743f054e79 configure.in: Move host-specific darwin noconfigdirs into the host-specific section.
* configure.in: Move host-specific darwin noconfigdirs into
	the host-specific section.

From-SVN: r59614
2002-11-28 20:27:44 +00:00
Kevin Buettner
40673d2b88 Top level configury changes for RDA.
From-SVN: r58797
2002-11-04 18:40:27 +00:00
Hans-Peter Nilsson
d0af82b0ce configure.in (i[3456]86-*-linux*): Add check to disable ${libgcj} for glibc1.
* configure.in (i[3456]86-*-linux*): Add check to disable
	${libgcj} for glibc1.

From-SVN: r58511
2002-10-24 23:25:07 +00:00
Svein E. Seldal
a5a438f572 * configure.in: Add tic4x target.
From-SVN: r57907
2002-10-07 17:07:06 -04:00
Nathanael Nerode
aba8a49486 Makefile.tpl: Make SET_LIB_PATH substitution more autoconfy.
2002-10-03  Nathanael Nerode  <neroden@gcc.gnu.org>

	* Makefile.tpl: Make SET_LIB_PATH substitution more autoconfy.
	* configure.in: Make SET_LIB_PATH substitution more autoconfy.
	* Makefile.in: Regenerate.

From-SVN: r57783
2002-10-03 19:06:16 +00:00
Nathanael Nerode
fe3d5b7ff1 Makefile.tpl: Make RPATH_ENVVAR substitution more autoconfy.
2002-10-03  Nathanael Nerode  <neroden@gcc.gnu.org>

	* Makefile.tpl: Make RPATH_ENVVAR substitution more autoconfy.
	* configure.in: Make RPATH_ENVVAR substitution more autoconfy.
	* Makefile.in: Regenerate.

From-SVN: r57782
2002-10-03 18:50:19 +00:00
Ulrich Weigand
ca25149e05 * configure.in (s390*-*-linux*): Enable libgcj.
From-SVN: r57647
2002-09-30 12:15:00 +00:00
Richard Earnshaw
5831424ed7 configure.in (arm-*-coff, [...]): Use a single entry to handle all these.
* configure.in (arm-*-coff, strongarm-*-coff, xscale-*-coff): Use a
single entry to handle all these.
(arm-*-elf, strongarm-*-elf, xscale-*-elf): Likewise.  Also enable
libjava on arm-*-elf.

From-SVN: r57612
2002-09-28 12:19:19 +00:00
Geoffrey Keating
b7f3b15b05 configure.in (powerpc-*-darwin*): Don't configure BFD, TK, or the things that depend on them.
* configure.in (powerpc-*-darwin*): Don't configure BFD, TK, or the
	things that depend on them.

From-SVN: r57602
2002-09-28 01:43:37 +00:00
Nathanael Nerode
ec0461f681 Makefile.tpl: Rewrite substituted lines to look autoconfy.
2002-09-25  Nathanael Nerode  <neroden@gcc.gnu.org>

	* Makefile.tpl: Rewrite substituted lines to look autoconfy.
	* Makefile.in: Regenerate.
	* configure.in: Rewrite sed statements to look autoconfy.

From-SVN: r57503
2002-09-25 17:22:54 +00:00
Nathanael Nerode
95ddd785f6 Makefile.def: New file.
2002-09-22  Nathanael Nerode  <neroden@gcc.gnu.org>

	* Makefile.def: New file.
	* Makefile.tpl: New file.
	* Makefile.in: Generate from Makefile.tpl with 'autogen Makefile.def'.
	* contrib/gcc_update: Note that Makefile.in is a generated file.

	* configure.in: Minor rearrangement.  Simplify tests.

From-SVN: r57484
2002-09-24 22:51:57 +00:00