Commit Graph

273 Commits

Author SHA1 Message Date
Kazu Hirata
df3d9c37f9 gc_locks.h (GC_test_and_set): Change the constraint of the first operand to '0'.
* include/private/gc_locks.h (GC_test_and_set): Change the
	constraint of the first operand to '0'.

From-SVN: r104329
2005-09-15 22:35:52 +00:00
Tom Tromey
d102ae00ef re PR boehm-gc/23662 (Binaries generated by arm-linux-gcj segfault on execution on arm target)
PR libgcj/23662:
	* include/private/gcconfig.h (LINUX_STACKBOTTOM): Use instead of
	HEURISTIC1 on ARM.

From-SVN: r103946
2005-09-06 14:22:01 +00:00
SUGIOKA Toshinobu
8caebfaaa6 * include/private/gcconfig.h (sh-linux): Use LINUX_STACKBOTTOM.
From-SVN: r102110
2005-07-17 07:33:58 +00:00
Andreas Tobler
9af9e7faa2 os_dep.c: Add FreeBSD/PowerPC bits.
2005-06-15  Andreas Tobler  <a.tobler@schweiz.ch>

	* os_dep.c: Add FreeBSD/PowerPC bits.
	(GC_SysVGetDataStart): Likewise.
	* include/private/gcconfig.h: Likewise.

From-SVN: r100997
2005-06-15 23:25:54 +02:00
Andrew Haley
5fa579d377 gcconfig.h (HBLKSIZE): Define to 4096 on powerpc64-linux.
2005-05-25  Andrew Haley  <aph@redhat.com>

	* include/private/gcconfig.h (HBLKSIZE): Define to 4096 on
	powerpc64-linux.

From-SVN: r100145
2005-05-25 15:10:00 +02:00
Mike Stump
f4c767fdc2 * configure: Regenerate.
From-SVN: r99498
2005-05-10 01:43:00 +00:00
Hans-Peter Nilsson
2586bf38d8 os_dep.c, gc_locks.h: Import CRIS port by Simon Posnjak from gc6.4.
* os_dep.c, include/private/gc_locks.h: Import CRIS port by
	Simon Posnjak from gc6.4.
	* include/private/gcconfig.h: Ditto.  Add M32R note from gc6.4.

From-SVN: r98414
2005-04-19 16:01:38 +00:00
David S. Miller
22d97adab5 gcconfig.h (sparc-linux): Use LINUX_STACKBOTTOM.
2005-04-17  David S. Miller  <davem@davemloft.net>

	* include/private/gcconfig.h (sparc-linux): Use LINUX_STACKBOTTOM.
	* os_dep.c (GC_linux_stack_base): Check for bug present in some
	Sparc glibc variants where __libc_stack_end is erroneously set
	to "1".  Fallback to procfs code in that case.

From-SVN: r98303
2005-04-17 15:01:21 -07:00
Mike Stump
6dab073ba7 * configure: Regenerate.
From-SVN: r98065
2005-04-13 01:41:26 +00:00
Richard Henderson
82052bec13 * include/private/gcconfig.h (alpha-linux): Use LINUX_STACKBOTTOM.
From-SVN: r98032
2005-04-12 12:48:18 -07:00
Mike Stump
97e095fdc7 darwin_stop_world.c: Update for -m64 multilib.
* darwin_stop_world.c: Update for -m64 multilib.
        * include/private/gcconfig.h: Likewise.
        * powerpc_darwin_mach_dep.s: Likewise.

From-SVN: r96968
2005-03-24 00:48:39 +00:00
Kelley Cook
e5aa6a0ae6 Makefile.in, [...]: Regenerate.
2005-03-01  Kelley Cook  <kcook@gcc.gnu.org>

	* Makefile.in, include/Makefile.in: Regenerate.

From-SVN: r95762
2005-03-01 23:25:50 +00:00
Richard Earnshaw
7bcf4240fd dyn_load.c: On NetBSD...
* dyn_load.c: On NetBSD, include machine/elf_machdep.h and define
	ELFSIZE in terms of ARCH_ELFSIZE (back-ported from gc7.0alpha1).

From-SVN: r95582
2005-02-26 15:40:07 +00:00
Bryce McKinlay
5909b0346c re PR libgcj/19823 (java fails with non-executable memory)
2005-02-15  Bryce McKinlay  <mckinlay@redhat.com>

	PR libgcj/19823
	* configure.host: Set gc_use_mmap on *-linux*.
	* configure.ac: Define USE_MMAP if gc_use_mmap is set.
	* include/private/gc_priv.h: Include gc_config.h.
	* configure, include/gc_config.h.in: Rebuilt.

From-SVN: r95094
2005-02-16 04:10:42 +00:00
Hans Boehm
328d1d4c1c allchblk.c (GC_allochblk_nth): Dont overlook available space if GC disabled...
* allchblk.c (GC_allochblk_nth): Dont overlook available space if
	  GC disabled, correctly convert GC_finalizer_mem_freed to byte,
  	  total_size to words.
  	* dyn_load.c (win32 GC_register_dynamic_libraries): Consider only
	  MEM_IMAGE regions.
  	* mach_dep.c (GC_with_callee_saves_pushed): separate into new function,
	  and indent appropriately.
  	* mark_rts.c (GC_approx_sp): Access stack.
	* pthread_stop_world.c: (GC_suspend_handler): Explicitly push
	  callee-saves registers when appropriate.
  	  (GC_stop_world): Handle EINTR from sem_wait (sync with Mono GC).

From-SVN: r94776
2005-02-09 21:33:02 +00:00
Bryce McKinlay
9a060b37a1 boehm-gc.h: Include gc_ext_config.h, not gc_config.h.
2005-01-01  Bryce McKinlay  <mckinlay@redhat.com>

	* include/boehm-gc.h: Include gc_ext_config.h, not gc_config.h.

2005-01-01  Bryce McKinlay  <mckinlay@redhat.com>

	* configure.ac (AC_CONFIG_HEADERS): Build both include/gc_config.h
	and include/gc_ext_config.h.
	* include/gc_ext_config.h: New file. Define only THREAD_LOCAL_ALLOC.
	* include/gc.h: Undef PACKAGE_* before including gc_config.h.

From-SVN: r92801
2005-01-02 03:35:57 +00:00
Kelley Cook
76ecaf0945 configure: Regenerate.
2004-12-13  Kelley Cook  <kcook@gcc.gnu.org>

	* configure: Regenerate.

From-SVN: r92087
2004-12-13 13:18:22 +00:00
Bryce McKinlay
c54d30fae2 re PR libgcj/18699 (SIGSEGV in GC_local_gcj_malloc)
2004-11-29  Bryce McKinlay  <mckinlay@redhat.com>

        PR libgcj/18699
        Revert patches of 2004-11-26 and 2004-11-27.

From-SVN: r91505
2004-11-30 00:38:57 +00:00
Kelley Cook
2539bffe37 libtool.m4 (AC_DEPLIBS_CHECK_METHOD): Re-import linux-gnu case from CVS libtool to always pass_all.
2004-11-29  Kelley Cook  <kcook@gcc.gnu.org>

	* libtool.m4 (AC_DEPLIBS_CHECK_METHOD): Re-import linux-gnu case
	from CVS libtool to always pass_all.

	* libjava/configure, libffi/configure, libjava/configure,
	libobjc/configure, boehm-gc/configure: Regenerated.

From-SVN: r91495
2004-11-29 23:45:23 +00:00
Bryce McKinlay
d4edf85f2b gc_config.h.in: Add comment.
2004-11-27  Bryce McKinlay  <mckinlay@redhat.com>

        * include/gc_config.h.in: Add comment. Define only THREAD_LOCAL_ALLOC.

From-SVN: r91387
2004-11-27 17:44:31 +00:00
Bryce McKinlay
504832c13e Fix "PACKAGE_NAME redefined" errors.
2004-11-26  Bryce McKinlay  <mckinlay@redhat.com>

	Fix "PACKAGE_NAME redefined" errors.
	* configure.ac (AC_CONFIG_HEADERS): Build both include/config.h
	and include/gc_config.h.
	* configure: Regenerated.
	* include/gc_config.h.in: No longer auto-generated. Define only the
	macros needed by libjava.
	* include/config.h.in: Generated by autoheader.
	* include/gc.h: Include config.h, not gc_config.h.

From-SVN: r91330
2004-11-26 05:31:48 +00:00
Kelley Cook
767f726e10 libtool.m4 (AC_DEPLIBS_CHECK_METHOD): Revert previous change.
2004-11-24  Kelley Cook  <kcook@gcc.gnu.org>

	* libtool.m4 (AC_DEPLIBS_CHECK_METHOD): Revert previous change.
	* boehm-gc/configure: Regenerate.
	* libffi/configure: Regenerate.
	* libgfortran/configure: Regenerate.
	* libjava/configure: Regenerate.
	* libobjc/configure: Regenerate.
	* libstdc++-v3/configure: Regenerate.
	* zlib/configure: Regenerate.

From-SVN: r91293
2004-11-25 13:43:43 +00:00
Kelley Cook
2c92e90fa5 libtool.m4 (AC_DEPLIBS_CHECK_METHOD): Import linux-gnu case from CVS libtool to always pass_all.
2004-11-24  Kelley Cook  <kcook@gcc.gnu.org>

	* libtool.m4 (AC_DEPLIBS_CHECK_METHOD): Import linux-gnu case
	from CVS libtool to always pass_all.
	* boehm-gc/configure: Regenerate.
	* libffi/configure: Regenerate.
	* libgfortran/configure: Regenerate.
	* libjava/configure: Regenerate.
	* libobjc/configure: Regenerate.
	* libstdc++-v3/configure: Regenerate.
	* zlib/configure: Regenerate.

From-SVN: r91200
2004-11-24 22:04:38 +00:00
Eric Botcazou
ab52d20776 configure.ac (machdep): Use sparc_mach_dep.lo on sparc64-sun-solaris2.* too.
* configure.ac (machdep): Use sparc_mach_dep.lo on
	sparc64-sun-solaris2.* too.
	(Solaris gcc optimization fix): Disable on sparc*-sun-solaris2.*.
	* configure: Regenerate.

From-SVN: r91047
2004-11-22 23:32:13 +00:00
Eric Botcazou
f3968b056e re PR target/18444 (Multithreading broken on Unix95-class platforms)
PR target/18444
	* configure.ac (threading): Accept 'posix95'.
	* configure: Regenerate.

From-SVN: r91042
2004-11-22 22:30:14 +00:00
Kelley Cook
97ee7627a9 Makefile.am: Define ACLOCAL_AMFLAGS.
2004-11-04  Kelley Cook  <kcook@gcc.gnu.org>

	* Makefile.am: Define ACLOCAL_AMFLAGS.
	* configure.ac: Remove redundant sinclude.
	* acinclude.m4: Delete file.
	* aclocal.m4: Regenerate.
	* Makefile.in, include/Makefile.in: Regenerate.
	* configure: Regenerate.

From-SVN: r90103
2004-11-05 01:51:50 +00:00
Ulrich Weigand
e5fa845c7b gc_priv.h (GC_generic_malloc_words_small_inner): Add prototype.
* include/private/gc_priv.h (GC_generic_malloc_words_small_inner):
	Add prototype.

From-SVN: r89283
2004-10-19 17:47:54 +00:00
Kazuhiro Inaoka
66c0e3b596 Add support for M32R
From-SVN: r88976
2004-10-13 10:34:21 +00:00
Kelley Cook
5572488da4 configure.ac: Update all AC_DEFINEs to newer style.
2004-09-27  Kelley Cook  <kcook@gcc.gnu.org>

	* configure.ac: Update all AC_DEFINEs to newer style.
	* configure: Regenerate.
	* include/gc_config.h.in: Regenerate.

From-SVN: r88206
2004-09-27 22:58:02 +00:00
Hans Boehm
3c1cbf58a6 backgraph.c, gc_priv.h (GC_traverse_back_graph, [...]): split GC_traverse_back_graph.
* backgraph.c, gc_priv.h (GC_traverse_back_graph,
	GC_print_back_graph_stats): split GC_traverse_back_graph.
	* backgraph.c: Dynamically grow in_progress_space.
	* finalize.c (GC_notify_or_invoke_finalizers): also call
	GC_print_back_graph_stats.
	* alloc.c, finalize.c, gc_priv.h (GC_generate_random_backtrace_no_gc,
	GC_print_back_height): Move delarations to header file.
	* configure.ac: rename --enable-full-debug to --enable-gc-debug.
	* configure: Regenerate.

From-SVN: r86685
2004-08-28 00:41:41 +00:00
Hans Boehm
9a870e6c4c aix_irix_threads.c: Move _THREADS checks after gc_priv.h include.
* aix_irix_threads.c: Move _THREADS checks after gc_priv.h include.
	* backgraph.c, include/private/gc_pmark.h: Always include gc.h.

From-SVN: r86442
2004-08-23 21:40:17 +00:00
Bryce McKinlay
92f61b6eac win32_threads.c: Move GC_WIN32_THREADS check after gc_priv.h include.
2004-08-23  Bryce McKinlay  <mckinlay@redhat.com>

	* win32_threads.c: Move GC_WIN32_THREADS check after gc_priv.h
	include. Reported by Danny Smith.

From-SVN: r86427
2004-08-23 16:07:00 +01:00
Danny Smith
8f63f56bd1 misc.c (GC_init): Replace lhs cast with rhs cast.
From-SVN: r86356
2004-08-21 07:49:17 +00:00
Bryce McKinlay
28f2ebcf3c specific.c: Check GC_LINUX_THREADS before including private/specific.h.
2004-08-16  Bryce McKinlay  <mckinlay@redhat.com>

	* specific.c: Check GC_LINUX_THREADS before including
	private/specific.h. From Richard Earnshaw.

From-SVN: r86084
2004-08-17 00:06:46 +01:00
Nathanael Nerode
13b040f150 aclocal.m4: Remove obsolete construct for old automake.
2004-08-16  Nathanael Nerode  <neroden@gcc.gnu.org>

	* aclocal.m4: Remove obsolete construct for old automake.
	* acinclude.m4: Regenerate with aclocal 1.9.1.
	* configure.ac:  Remove duplicate AC_WITH calls.  Replace
	AC_CANONICAL_SYSTEM with AC_CANONICAL_HOST, AC_CANONICAL_TARGET.
	Replace _GCC_TOPLEV_NONCANONICAL calls with ACX_NONCANONICAL_TARGET.
	Remove now-redundant subst of target_noncanonical.  Remove
	now-gratuitous m4 quoting around $.  Replace AM_PROG_LIBTOOL with
	AC_PROG_LIBTOOL and remove second, redundant AC_PROG_LIBTOOL.
	Use slightly more modern form of AC_INIT.
	* configure: Rebuild with autoconf 2.59.
	* Makefile.in, include/Makefile.in: Rebuild with automake 1.9.1.

From-SVN: r86071
2004-08-16 18:58:05 +00:00
Andreas Tobler
461b08b8bc solaris_threads.c: Remove ifdef around #include "private/gc_priv.h" since they're not known at...
2004-08-16  Andreas Tobler  <a.tobler@schweiz.ch>

	* solaris_threads.c: Remove ifdef around #include "private/gc_priv.h"
	since they're not known at this time.
	* solaris_pthreads.c: Likewise.

From-SVN: r86062
2004-08-16 18:32:26 +02:00
Andreas Tobler
cbaaa7db2c re PR target/14931 (ASM file in GCC for PPC darwin should use the new stub style)
2004-08-15  Andreas Tobler  <a.tobler@schweiz.ch>

	PR target/14931
	* powerpc_darwin_mach_dep.s (_GC_push_regs): Change to new stub style.

From-SVN: r86029
2004-08-15 23:32:11 +02:00
Bryce McKinlay
4109fe8594 configure.in (GCINCS): Don't use "boehm-cflags".
libjava:
2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>

	* configure.in (GCINCS): Don't use "boehm-cflags". Instead, -I
	boehm-gc's include dirs.
	* configure: Rebuilt.
	* include/boehm-gc.h: Include gc_config.h.

boehm-gc:
2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>

	* configure.ac (gc_cflags): Add -Iinclude.
	(AC_CONFIG_HEADERS): New. Configure gc_config.h header.
	Don't write DEFS to boehm-cflags file.
	* configure: Rebuilt.
	* gcj_mlc.c: Check #ifdef GC_GCJ_SUPPORT after including headers.
	* specific.c: Check #ifdef GC_LINUX_THREADS after including headers.
	* include/gc_config_macros.h: Remove backward-compatibility
	redefinitions of GC_ names.
	* include/gc.h: Include <gc_config.h>.

2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>

	Import Boehm GC version 6.3.

From-SVN: r85972
2004-08-14 00:05:36 +01:00
Bryce McKinlay
aa7a966b44 This commit was generated by cvs2svn to compensate for changes in r85899,
which included commits to RCS files with non-trunk default branches.

From-SVN: r85900
2004-08-12 22:14:30 +01:00
Bryce McKinlay
5c4dc10837 Initial revision
From-SVN: r85897
2004-08-12 22:14:23 +01:00
Kelley Cook
db24c53d55 Makefile.in: Regenerate
2004-08-12  Kelley Cook  <kcook@gcc.gnu.org>

	* include/Makefile.in: Regenerate

From-SVN: r85870
2004-08-12 12:13:14 +00:00
Andrew Pinski
634330f5e3 os-dep.c (GC_task_self): Declare as static and remove the second declaration.
2004-07-06  Andrew Pinski  <apinski@apple.com>

        * os-dep.c (GC_task_self): Declare as static
        and remove the second declaration.

From-SVN: r84188
2004-07-06 20:08:14 -07:00
Andreas Tobler
500e12641f Makefile.am: Add rule for .S files to fix bootstrap on solaris and alpha.
2004-06-20  Andreas Tobler  <a.tobler@schweiz.ch>

	* Makefile.am: Add rule for .S files to fix bootstrap on
	solaris and alpha.
	* Makefile.in: Regenerate.

From-SVN: r83406
2004-06-20 11:14:17 +02:00
R. Kelley Cook
9463204774 Fix incorrect year for some ChangeLog entries.
From-SVN: r83335
2004-06-18 02:24:43 +00:00
Paolo Bonzini
bf9a420e62 configure.ac: New name of configure.in.
boehm-gc/ChangeLog:
2005-06-16  Paolo Bonzini  <bonzini@gnu.org>

	* boehm-gc/configure.ac: New name of configure.in.
	Remove useless multilib stuff.  Change uses of
	INCLUDES and CXXINCLUDES to AM_CPPFLAGS.
	* boehm-gc/configure.in: New name of configure.in.
	* boehm-gc/Makefile.am: Update for automake 1.8.5.
	* boehm-gc/acinclude.m4: Include ../config/acx.m4.
	* boehm-gc/aclocal.m4: Regenerate.
	* boehm-gc/configure: Regenerate.

contrib/ChangeLog:
2004-06-16  Paolo Bonzini  <bonzini@gnu.org>

	* gcc_update (boehm-gc/configure): Depend on
	boehm-gc/configure.ac instead of boehm-gc/configure.in

gcc/ChangeLog:
2004-06-16  Paolo Bonzini  <bonzini@gnu.org>

	* doc/install.texi: boehm-gc now uses automake 1.8.5.

From-SVN: r83227
2004-06-16 07:35:00 +00:00
Paolo Bonzini
9ac926b197 Added .cvsignore entry for autom4te.cache to boehm-gc, libffi and
libmudflap.

From-SVN: r83169
2004-06-15 07:42:08 +00:00
Kaz Kojima
c779c42fc3 re PR bootstrap/15120 ([3.3 only] [libtool bug] hidden symbol `__sdivsi3_i4' is referenced by DSO)
PR bootstrap/15120
	* libtool.m4 (lt_cv_deplibs_check_method): Use pass_all on sh*.
	* */configure: Rebuilt.

From-SVN: r81980
2004-05-18 10:11:38 +00:00
Andreas Jaeger
ececf1b919 * mark.c (GC_mark_from): Use pointer as prefetch argument.
From-SVN: r81155
2004-04-25 06:17:51 +02:00
H.J. Lu
652466353b gcconfig.h (PREFETCH): Use __builtin_prefetch for gcc >= 3.0.
2004-04-06  H.J. Lu  <hongjiu.lu@intel.com>

	* include/private/gcconfig.h (PREFETCH): Use __builtin_prefetch
	for gcc >= 3.0.
	(PREFETCH_FOR_WRITE): Likewise.

From-SVN: r80459
2004-04-06 11:05:05 -07:00
Kelley Cook
8ab705be38 configure.ac: Bump AC_PREREQ to 2.59.
boehm-gc/
2004-03-10  Kelley Cook  <kcook@gcc.gnu.org>

	* configure.ac: Bump AC_PREREQ to 2.59.
	* configure: Regenerate.
	* config.in: Regenerate.

fastjar/
2004-03-10  Kelley Cook  <kcook@gcc.gnu.org>

	* configure.ac: Bump AC_PREREQ to 2.59.
	* configure: Regenerate.

intl/
2004-03-10  Kelley Cook  <kcook@gcc.gnu.org>

	* configure.ac: Bump AC_PREREQ to 2.59.
	* configure: Regenerate.
	* config.h.in: Regenerate.

gcc/
2004-03-10  Kelley Cook  <kcook@gcc.gnu.org>

	* configure.ac: Bump AC_PREREQ to 2.59.
	* configure: Regenerate.

libada/
2004-03-10  Kelley Cook  <kcook@gcc.gnu.org>

	* configure.in: Rename file to ...
	* configure.ac: .. to this. Bump AC_PREREQ to 2.59.
	* configure: Regenerate.

libjava/libltdl/
2004-03-10  Kelley Cook  <kcook@gcc.gnu.org>

	* configure.ac: Bump AC_PREREQ to 2.59.
	* configure: Regenerate.
	* config-h.in: Regenerate.

libstdc++-v3/
2004-03-10  Kelley Cook  <kcook@gcc.gnu.org>

	* configure.ac: Bump AC_PREREQ to 2.59.

contrib/
2004-03-10  Kelley Cook  <kcook@gcc.gnu.org>

	* gcc_update (files_and_dependencies): Insert libada/configure.

From-SVN: r79285
2004-03-11 00:27:41 +00:00