summaryrefslogtreecommitdiff
path: root/boehm-gc/os_dep.c
Commit message (Collapse)AuthorAgeFilesLines
* * os_dep.c, include/private/gc_locks.h: Import CRIS port byhp2005-04-191-1/+5
| | | | | | | | Simon Posnjak from gc6.4. * include/private/gcconfig.h: Ditto. Add M32R note from gc6.4. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98414 138bc75d-0d04-0410-961f-82ee72b054a4
* 2005-04-17 David S. Miller <davem@davemloft.net>davem2005-04-171-0/+9
| | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98303 138bc75d-0d04-0410-961f-82ee72b054a4
* libjava:bryce2004-08-131-148/+247
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85972 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-07-06 Andrew Pinski <apinski@apple.com>pinskia2004-07-071-3/+1
| | | | | | | | * os-dep.c (GC_task_self): Declare as static and remove the second declaration. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@84188 138bc75d-0d04-0410-961f-82ee72b054a4
* Another newlib fixgreen2003-09-221-2/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71654 138bc75d-0d04-0410-961f-82ee72b054a4
* * os_dep.c: Remove redundancy introduced in last merge.ljrittle2003-07-291-4/+0
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69912 138bc75d-0d04-0410-961f-82ee72b054a4
* Import GC 6.3alpha1.jsturm2003-07-281-296/+1176
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * BCC_MAKEFILE: Merge with GC 6.3alpha1 release. * ChangeLog: Likewise. * Makefile.am: Likewise. * Makefile.direct: Likewise. * Makefile.dj: Likewise. * allchblk.c: Likewise. * alloc.c: Likewise. * backgraph.c: Likewise. * configure.host: Likewise. * configure.in: Likewise. * dbg_mlc.c: Likewise. * dyn_load.c: Likewise. * finalize.c: Likewise. * gc_cpp.cc: Likewise. * gc_dlopen.c: Likewise. * gcj_mlc.c: Likewise. * if_mach.c: Likewise. * mach_dep.c: Likewise. * malloc.c: Likewise. * mallocx.c: Likewise. * mark.c: Likewise. * mark_rts.c: Likewise. * misc.c: Likewise. * os_dep.c: Likewise. * ptr_chck.c: Likewise. * reclaim.c: Likewise. * solaris_pthreads.c: Likewise. * solaris_threads.c: Likewise. * sparc_mach_dep.S: Likewise. * threadlibs.c: Likewise. * typd_mlc.c: Likewise. * version.h: Likewise. * win32_threads.c: Likewise. * Mac_files/MacOS_Test_config.h: Likewise. * Mac_files/MacOS_config.h: Likewise. * cord/cordbscs.c: Likewise. * cord/cordprnt.c: Likewise. * cord/de_win.c: Likewise. * doc/README: Likewise. * doc/README.MacOSX: Likewise. * doc/README.changes: Likewise. * doc/README.environment: Likewise. * doc/README.ews4800: Likewise. * doc/README.linux: Likewise. * doc/README.macros: Likewise. * doc/README.win32: Likewise. * doc/debugging.html: Likewise. * doc/gcdescr.html: Likewise. * doc/tree.html: Likewise. * include/Makefile.in: Likewise. * include/gc.h: Likewise. * include/gc_cpp.h: Likewise. * include/gc_local_alloc.h: Likewise. * include/gc_mark.h: Likewise. * include/gc_pthread_redirects.h: Likewise. * include/gc_typed.h: Likewise. * include/new_gc_alloc.h: Likewise. * include/private/dbg_mlc.h: Likewise. * include/private/gc_hdrs.h: Likewise. * include/private/gc_locks.h: Likewise. * include/private/gc_pmark.h: Likewise. * include/private/gc_priv.h: Likewise. * include/private/gcconfig.h: Likewise. * include/private/solaris_threads.h: Likewise. * include/private/specific.h: Likewise. * tests/test.c: Likewise. * tests/test_cpp.cc: Likewise. * configure: Rebuild. * Makefile.in: Rebuild. * mips_sgi_mach_dep.s: Add. * alpha_mach_dep.s: Remove. * irix_threads.c: Remove. * linux_threads.c: Remove. * mips_sgi_mach_dep.S: Remove. * missing: Remove. * powerpc_macosx_mach_dep.s: Remove. * doc/Makefile.am: Remove. * doc/Makefile.in: Remove. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69880 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-07-18 Bo Thorsen <bo@suse.de>bo2002-07-191-1/+1
| | | | | | | | | | | | * include/private/gcconfig.h: Add x86-64 definitions. * os_dep.c: Add x86-64 support. * configure.in: Likewise. * configure: Regenerate. Approved by Hans Boehm. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55584 138bc75d-0d04-0410-961f-82ee72b054a4
* * os_dep.c (GC_init_linux_data_start): Fix references torth2002-03-271-8/+8
| | | | | | | __data_start and _end. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@51467 138bc75d-0d04-0410-961f-82ee72b054a4
* * include/private/gcconfig.h: Add unified test for FreeBSD.ljrittle2002-03-221-6/+6
| | | | | | | | | Support FreeBSD/alpha. * os_dep.c: Do not include <machine/trap.h> unless available. (GC_freebsd_stack_base): Fix types. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@51159 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-03-12 Adam Megacz <adam@xwt.org>megacz2002-03-121-13/+11
| | | | | | | | | | | | | | * dyn_load.c: Renamed GC_win32s to GC_no_win32_dlls. * misc.c: Renamed GC_is_win32s() to GC_no_win32_dlls * os_dep.c: Renamed GC_win32s to GC_no_win32_dlls and statically initialized it to TRUE if compiling with GCC. * win32_threads.c (thread_start): We no longer use SEH if compiling with GCC. * mark.c (GC_mark_some): We no longer use SEH if compiling with GCC. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50671 138bc75d-0d04-0410-961f-82ee72b054a4
* Imported GC 6.1 Alpha 3. Finally.bryce2002-02-121-34/+167
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49698 138bc75d-0d04-0410-961f-82ee72b054a4
* xscale-elf supportgreen2002-02-091-51/+50
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49626 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.am, acinclude.m4, configure.in: Imported GC 6.1 Alpha 1bryce2001-10-161-27/+27
| | | | | | | and merged local changes. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46283 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.am, acinclude.m4, configure.in: Imported GC 6.0 andtromey2001-08-181-39/+83
| | | | | | | merged local changes. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44994 138bc75d-0d04-0410-961f-82ee72b054a4
* Imported version version 6.0alpha7.bryce2001-05-211-323/+693
| | | | | | | | | | | | | | | | | | * README, README.Mac, README.OS2, README.QUICK, README.alpha, README.amiga, README.debugging, README.dj, README.hp, README.linux, README.rs6000, README.sgi, README.solaris2, README.uts, README.win32, SCoptions.amiga, backptr.h, barrett_diagram, dbg_mlc.h, gc.h, gc.man, gc_alloc.h, gc_cpp.h, gc_hdrs.h, gc_mark.h, gc_priv.h, gc_private.h, gc_typed.h, gcconfig.h, hpux_irix_threads.c, makefile.depend, nursery.c, solaris_threads.h, test.c, test_cpp.cc, weakpointer.h, cord/README, cord/SCOPTIONS.amiga, cord/SMakefile.amiga, cord/cord.h, cord/ec.h, cord/gc.h, cord/private/cord_pos.h, include/backptr.h, include/gc_copy_descr.h, include/gc_nursery.h: Remove obsolete/moved files. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42379 138bc75d-0d04-0410-961f-82ee72b054a4
* 2001-04-04 Hans Boehm <hans_boehm@hp.com>tromey2001-04-051-4/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * finalize.c: - Accomodate finalization requests for static objects. (Will be required by hash synchronization. May be needed in some configurations now.) * gc_priv.h: - Define MIN_WORDS. All allocation requests are rounded up to at least this size. Removes a subtle assumption that Java objects have a 2 word header. * gcconfig.h: - Adjust Linux/IA64 configuration for non-ancient kernels. (Necessary fix for IA64.) * linux_threads.c: - Fix syntax error in currently unused code. Will be needed for Linux/PA-RISC. * malloc.c: - Handle MIN_WORDS. * misc.c: - Handle MIN_WORDS. - Change stack cleaning code to typically clear about one tenth the memory it used to in the threads configuration. Occasionally still clear more. (This is really a fix for a long-standing and fairly significant performance bug with threads.) * os_dep.c: - Fix the code for finding the beginning of the data segment under Linux. I believe this is necessary for some IA64 Linux distributions. It will also helo other platforms, though those may additionally require a gcconfig.h adjustment. (This basically works around the absence of a data_start or __data_start definition in glibc.) * test.c: - Handle rounding due to MIN_WORDS. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41102 138bc75d-0d04-0410-961f-82ee72b054a4
* 2000-06-19 Andrew Haley <aph@cygnus.com>aph2000-06-191-1/+4
| | | | | | | * os_dep.c (read): Pass two dummy args to syscall(). git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34598 138bc75d-0d04-0410-961f-82ee72b054a4
* 2000-05-11 Bryce McKinlay <bryce@albatross.co.nz>bryce2000-05-101-1/+1
| | | | | | | | Imported 5.0 release version. * acinclude.m4: Increment version to 5.0. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33832 138bc75d-0d04-0410-961f-82ee72b054a4
* 2000-05-07 Bryce McKinlay <bryce@albatross.co.nz>bryce2000-05-071-9/+26
| | | | | | | | Imported version 5.0alpha7. * acinclude.m4: Update version to 5.0a7. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33750 138bc75d-0d04-0410-961f-82ee72b054a4
* <<<<<<< ChangeLogtromey2000-04-271-19/+41
| | | | | | | | | | | | | | | | | | | | | 2000-04-26 Jakub Jelinek <jakub@redhat.com> * gcconfig.h (SPARC): Define ALIGNMENT to 8 for 64bit SPARC. (SPARC/LINUX): Use GC_SysVGetDataStart instead of LINUX_DATA_START - sparc glibc does not provide it. (SAVE_CALL_CHAIN, ASM_CLEAR_CODE): Define on sparc*-linux*. Make STACKBOTTOM depend on the wordsize. * os_dep.c (GC_SysVGetDataStart): Compile in on sparc*-linux*. (struct frame): Declare on sparc*-linux*. (GC_save_callers): Bias the frame pointers if needed (sparc64). * mach_dep.c (GC_save_regs_in_stack): Optimize on sparc32. Implement on sparc64. (GC_clear_stack_inner): Implement on sparc64. * gc_priv.h (GC_test_and_set): Implement for sparc. * linux_threads.c (GC_suspend_handler, GC_push_all_stacks): Use git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33452 138bc75d-0d04-0410-961f-82ee72b054a4
* Imported version version 5.0alpha6.bryce2000-04-191-11/+39
| | | | | | | | | | * acinclude.m4: Bump version to 5.0a6. * configure.in: Don't use alpha_mach_dep.s. * include/private/config.h, irix_threads.c gc_watcom.asm: Delete obsolete files. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33251 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcconfig.h: Use libgcj hack for Alpha Linux.green1999-12-201-2/+2
| | | | | | | | | Undefine MPROTEXT_VDB (from Jeff Sturm). * os_dep.c: Remove Alpha Linux hacks. * misc.c: Ditto. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31028 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcconfig.h (DATASTART): Define as (&data_start) for PowerPCgreen1999-12-121-3/+2
| | | | | | | | | | | Linux. (DYNAMIC_LOADING): Define for PowerPC Linux. * os_dep.c: Remove some special cases for PowerPC Linux. * misc.c (GC_init_inner): Don't call GC_init_linux_data_start for PowerPC Linux. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30873 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure: Rebuilt.tromey1999-11-041-2/+1
| | | | | | | | | | | | | * configure.in: Removed qt threads case. * dyn_load.c: Don't mention QUICK_THREADS. * os_dep.c: Don't mention QUICK_THREADS. * misc.c: Don't mention QUICK_THREADS. * gcconfig.h: Don't mention QUICK_THREADS. * gc_priv.h: Removed QUICK_THREADS code. * quick_threads.c: Removed. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30394 138bc75d-0d04-0410-961f-82ee72b054a4
* Merged GC 5.0alpha4 with local changes, plus:tromey1999-11-011-134/+440
| | | | | | | | | | | * Makefile.in: Rebuilt. * Makefile.am (gctest_LDADD): Added THREADLIB. (TESTS): New macro. * configure: Rebuilt. * configure.in (INCLUDES): New subst. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30332 138bc75d-0d04-0410-961f-82ee72b054a4
* Alpha patch from Jeff Sturm:tromey1999-06-211-1/+77
| | | | | | | | | | * os_dep.c (GC_init_linuxalpha): New function. * misc.c: Initialize for alpha linux. * gc_priv.h (GC_test_and_set): Define for alpha. * config.h: Don't assume __data_start on alpha. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27670 138bc75d-0d04-0410-961f-82ee72b054a4
* * os_dep.c: glibc 2.1 requires asm/sigcontext.h, nottromey1999-04-211-1/+1
| | | | | | | sigcontext.h. From Matthias Klose <doko@itso.de>. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26574 138bc75d-0d04-0410-961f-82ee72b054a4
* Cygnus/libgcj changes to Boehm GC.tromey1999-04-071-3/+53
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26257 138bc75d-0d04-0410-961f-82ee72b054a4
* Initial revisiontromey1999-04-071-0/+2181
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26255 138bc75d-0d04-0410-961f-82ee72b054a4