Changeset 1391 for branches/GNU/src/gcc/boehm-gc
- Timestamp:
- Apr 27, 2004, 8:39:34 PM (22 years ago)
- Location:
- branches/GNU/src/gcc
- Files:
-
- 23 edited
-
. (modified) (1 prop)
-
boehm-gc/ChangeLog (modified) (19 diffs, 1 prop)
-
boehm-gc/acinclude.m4 (modified) (2 diffs, 1 prop)
-
boehm-gc/aclocal.m4 (modified) (2 diffs, 1 prop)
-
boehm-gc/alloc.c (modified) (3 diffs, 1 prop)
-
boehm-gc/configure (modified) (32 diffs, 1 prop)
-
boehm-gc/configure.host (modified) (2 diffs, 1 prop)
-
boehm-gc/configure.in (modified) (6 diffs, 1 prop)
-
boehm-gc/dyn_load.c (modified) (8 diffs, 1 prop)
-
boehm-gc/include/Makefile.am (modified) (1 diff, 1 prop)
-
boehm-gc/include/Makefile.in (modified) (6 diffs, 1 prop)
-
boehm-gc/include/private/gc_locks.h (modified) (4 diffs, 1 prop)
-
boehm-gc/include/private/gc_priv.h (modified) (4 diffs, 1 prop)
-
boehm-gc/include/private/gcconfig.h (modified) (16 diffs, 1 prop)
-
boehm-gc/irix_threads.c (modified) (3 diffs, 1 prop)
-
boehm-gc/linux_threads.c (modified) (2 diffs, 1 prop)
-
boehm-gc/ltconfig (modified) (1 diff, 1 prop)
-
boehm-gc/ltmain.sh (modified) (1 diff, 1 prop)
-
boehm-gc/mach_dep.c (modified) (1 diff, 1 prop)
-
boehm-gc/mark_rts.c (modified) (4 diffs, 1 prop)
-
boehm-gc/misc.c (modified) (2 diffs, 1 prop)
-
boehm-gc/os_dep.c (modified) (1 diff, 1 prop)
-
boehm-gc/win32_threads.c (modified) (2 diffs, 1 prop)
Legend:
- Unmodified
- Added
- Removed
-
branches/GNU/src/gcc
- Property svn:ignore
-
old new 26 26 configure.vr 27 27 configure.vrs 28 dir.info 28 29 Makefile 29 dir.info30 30 lost+found 31 31 update.out
-
- Property svn:ignore
-
branches/GNU/src/gcc/boehm-gc/ChangeLog
-
Property cvs2svn:cvs-rev
changed from
1.1to1.1.1.2
r1390 r1391 1 2003-02-05 Release Manager 2 3 * GCC 3.2.2 Released. 1 2004-02-14 Release Manager 2 3 * GCC 3.3.3 Released. 4 5 2003-12-21 Roger Sayle <roger@eyesopen.com> 6 7 * configure.host: Backport/synchronize from mainline. 8 9 2003-10-16 Release Manager 10 11 * GCC 3.3.2 Released. 12 13 2003-10-01 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> 14 15 * configure.in: Remove wildcard from Solaris 8-9/Intel and Solaris 16 2.3/SPARC, there are no micro versions. 17 Treat Solaris 10 and up alike. 18 * configure: Regenerate. 19 20 2003-09-09 Alan Modra <amodra@bigpond.net.au> 21 22 * configure: Regenerate. 23 24 2003-08-04 Release Manager 25 26 * GCC 3.3.1 Released. 27 28 2003-08-04 Release Manager 29 30 * GCC 3.3.1 Released. 31 32 2003-05-13 Release Manager 33 34 * GCC 3.3 Released. 35 36 2003-05-13 Release Manager 37 38 * GCC 3.3 Released. 39 40 2003-05-13 Release Manager 41 42 * GCC 3.3 Released. 43 44 2003-05-13 Release Manager 45 46 * GCC 3.3 Released. 47 48 2003-04-28 Mohan Embar <gnustuff@thisiscool.com> 49 50 * configure.in: define GC_DLL under mingw if --enable-shared 51 * configure: rebuilt 52 * win32_threads.c: add #ifdef GC_DLL around DllMain 53 54 2003-04-09 Tom Tromey <tromey@redhat.com> 55 56 * include/private/gcconfig.h (LINUX_STACKBOTTOM): Define for 57 POWERPC. 58 (STACK_GRAN, HEURISTIC1): Don't define for POWERPC. 59 60 2003-03-04 Hans Boehm <Hans.Boehm@hp.com> 61 * include/private/gcconfig.h (GC_data_start): declare when needed. 62 * include/private/gc_priv.h: Include gcconfig.h after ptr_t 63 declaration. 64 65 2003-03-03 Hans Boehm <Hans.Boehm@hp.com> 66 * mark_rts.c (GC_cond_register_dynamic_libraries): add. 67 (GC_push_roots): explicitly mark free list headers, register 68 dynamic libraries only if !REGISTER_LIBRARIES_EARLY. 69 * alloc.c (GC_stopped_mark): Conditionally call 70 GC_cond_register_dynamic_libraries(). 71 (GC_collect_a_little_inner, GC_try_to_collect_inner): Check GC_dont_gc. 72 * dyn_load.c (GC_register_main_static_data): define. 73 (GC_register_dyn_libraries (Linux /proc, Linux ELF versions)): 74 no longer skip main data. Register main data for static executable. 75 * misc.c (GC_REGISTER_MAIN_STATIC_DATA): define. 76 (GC_init_inner): Make main data registration conditional. 77 * include/private/gc_priv.h (GC_register_main_static_data): declare. 78 * include/private/gcconfig.h (REGISTER_LIBRARIES_EARLY): define 79 for LINUX. 80 81 2003-02-20 Alexandre Oliva <aoliva@redhat.com> 82 83 * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to 84 config.status. 85 * configure: Rebuilt. 86 87 2003-02-11 Andreas Tobler <a.tobler@schweiz.ch> 88 89 * include/private/gcconfig.h: undefine MPROTECT_VDB for MACOSX 4 90 5 91 2003-01-27 Alexandre Oliva <aoliva@redhat.com> … … 10 96 * Makefile.in, configure: Rebuilt. 11 97 12 2002-11-19 Release Manager 13 14 * GCC 3.2.1 Released. 15 16 2002-11-19 Release Manager 17 18 * GCC 3.2.1 Released. 19 20 2002-11-18 Release Manager 21 22 * GCC 3.2.1 Released. 23 24 2002-10-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 98 2002-12-31 Tom Tromey <tromey@redhat.com> 99 100 For PR libgcj/8933: 101 * include/Makefile.in: Rebuilt. 102 * include/Makefile.am (noinst_HEADERS): Renamed from 103 include_HEADERS. 104 105 2002-11-19 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> 106 107 * ltconfig (osf[345]): Append $major to soname_spec. 108 Reflect this in library_names_spec. 109 * ltmain.sh (osf): Prefix $major with . for use as extension. 110 111 2002-10-02 Andreas Jaeger <aj@suse.de> 112 113 * include/private/gcconfig.h (HBLKSIZE): Define for x86-64. 114 115 2002-09-28 Richard Earnshaw <rearnsha@arm.com> 116 117 * include/private/gcconfig.h: Don't check for __XSCALE__. Instead 118 check for __arm__ or __thumb__. 119 120 2002-09-27 Ulrich Weigand <uweigand@de.ibm.com> 121 122 * include/private/gcconfig: Add machine type S390. Add s390x support. 123 * include/private/gc_locks.h (GC_test_and_set): Implement for s390. 124 (GC_compare_and_exchange): Likewise. 125 126 2002-09-24 Jason Thorpe <thorpej@wasabisystems.com> 127 128 * include/private/gcconfig.h: Fix NetBSD/mips parameters. 129 130 2002-08-23 Adam Megacz <adam@xwt.org> 131 132 * win32_threads.cc: Removed extraneous ABORT() 133 134 2002-09-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 25 135 26 136 * Makefile.am (all-multi): Fix multilib parallel build. 27 137 28 2002-08-23 Adam Megacz <adam@xwt.org> 29 30 * win32_threads.cc: Removed extraneous ABORT() 31 32 2002-08-14 Release Manager 33 34 * GCC 3.2 Released. 35 36 2002-07-25 Release Manager 37 38 * GCC 3.1.1 Released. 39 40 2002-06-28 Hans Boehm <Hans_Boehm@hp.com> 41 Jonathan Clark 42 43 * win32_threads.c (GC_push_all_stacks): Tolerate bad sp. 44 45 2002-05-14 Release Manager 46 47 * GCC 3.1 Released. 48 49 2002-05-14 Release Manager 50 51 * GCC 3.1 Released. 138 2002-07-18 Bo Thorsen <bo@suse.de> 139 140 * include/private/gcconfig.h: Add x86-64 definitions. 141 * os_dep.c: Add x86-64 support. 142 * configure.in: Likewise. 143 * configure: Regenerate. 144 145 2002-07-18 H.J. Lu <hjl@gnu.org> 146 147 * mach_dep.c (GC_push_regs): Remove the unused Linux/mips code. 148 149 2002-07-18 H.J. Lu (hjl@gnu.org) 150 151 * configure.in (machdep): Don't add mips_sgi_mach_dep.lo for 152 Linux/mips. 153 154 2002-06-28 Hans Boehm <Hans_Boehm@hp.com> 155 Jonathan Clark 156 157 * win32_threads.c (GC_push_all_stacks): Tolerate bad sp. 158 159 2002-06-09 H.J. Lu (hjl@gnu.org) 160 161 * include/private/gc_locks.h (GC_test_and_set): Support 162 Linux/mips. 163 (GC_TEST_AND_SET_DEFINED): Likewise. 164 165 * include/private/gcconfig.h (DYNAMIC_LOADING): Defined for 166 Linux/mips. 167 (DATAEND): Likewise. 168 (LINUX_STACKBOTTOM): Likewise. 169 (STACKBOTTOM): Removed for Linux/mips. 170 171 Sun May 19 11:32:03 2002 Mark P Mitchell <mark@codesourcery.com> 172 173 * irix_threads.cc (GC_pthread_detach): Do not use REAL_FUNC. 174 (GC_pthread_create): Fix typo. 175 (GC_TRY_LOCK): Likewise. 176 * include/private/gc_locks.h (GC_test_and_set): Only take one 177 one argument. 178 (LOCK): Adjust appropriately. 179 * include/private/gc_priv.h (SIG_SUSPEND): Use SIGRTMIN if 180 _SIGRTMIN is unavailable. 181 182 2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> 183 184 * acinclude.m4: Allow for PWDCMD to override hardcoded pwd. 185 * aclocal.m4: Regenerate. 186 * configure: Regenerate. 52 187 53 188 2002-05-08 Alexandre Oliva <aoliva@redhat.com> … … 80 215 81 216 2002-04-09 Loren J. Rittle <ljrittle@acm.org> 82 Richard Henderson <rth@redhat.com>83 217 84 218 * include/private/gcconfig.h (DATAEND): Update comment example 85 to match reality. Clarify comment.86 Change all likely references to linker script synthesized 87 symbols to use this idiom: extern int etext[]; etext 88 * os_dep.c (GC_init_linux_data_start): Fix references to 89 __data_start and _end.219 to match reality. 220 221 2002-04-08 Loren J. Rittle <ljrittle@acm.org> 222 223 * include/private/gcconfig.h (DATAEND): Clarify comment. 90 224 91 225 2002-04-08 Hans Boehm <Hans_Boehm@hp.com> 92 226 93 227 * include/private/gc_priv.h (WARN macro): Add "GC warning:" prefix. 94 228 (GC_large_alloc_warn_interval, GC_large_alloc_warn_suppressed): … … 98 232 * misc.c (GC_large_alloc_warn_interval, 99 233 GC_large_alloc_warn_suppressed): define. 100 (GC_init_inner): Check GC_NO_BLACKLIST_WARNING and 234 (GC_init_inner): Check GC_NO_BLACKLIST_WARNING and 101 235 GC_LARGE_ALLOC_WARN_INTERVAL environment variables. 102 236 * doc/README.environment (GC_NO_BLACKLIST_WARNING): Deprecate. … … 110 244 memory hole between the end of the initialized data segment 111 245 and the start of the BSS on FreeBSD/i386. 112 113 2002-04-01 Loren J. Rittle <ljrittle@acm.org>114 115 * include/private/gcconfig.h: Add unified test for FreeBSD.116 Support FreeBSD/alpha.117 * os_dep.c: Do not include <machine/trap.h> unless available.118 (GC_freebsd_stack_base): Fix types.119 246 120 247 2002-03-30 Krister Walfridsson <cato@df.lth.se> … … 135 262 Rearrange tse fields. 136 263 137 2002-03-24 Jeff Sturm <jsturm@one-point.com> 264 2002-03-27 Richard Henderson <rth@redhat.com> 265 266 * os_dep.c (GC_init_linux_data_start): Fix references to 267 __data_start and _end. 268 269 2002-03-25 Loren J. Rittle <ljrittle@acm.org> 270 271 * include/private/gcconfig.h: Change all likely references 272 to linker script synthesized symbols to use this idiom: 273 extern int etext[]; etext 274 275 2002-03-25 Jeff Sturm <jsturm@one-point.com> 138 276 139 277 * linux_threads.c (GC_get_nprocs): Close file descriptor. 278 279 2002-03-21 Loren J. Rittle <ljrittle@acm.org> 280 281 * include/private/gcconfig.h: Add unified test for FreeBSD. 282 Support FreeBSD/alpha. 283 * os_dep.c: Do not include <machine/trap.h> unless available. 284 (GC_freebsd_stack_base): Fix types. 285 286 2002-03-17 Bryce McKinlay <bryce@waitaki.otago.ac.nz> 287 288 * Makefile.am: Make a convenience library. 289 * Makefile.in: Rebuilt. 140 290 141 291 2002-03-15 Anthony Green <green@redhat.com> … … 156 306 * mark.c (GC_mark_some): We no longer use SEH if 157 307 compiling with GCC. 158 308 159 309 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz> 160 310 161 * include/gc_priv.h: Define ALIGN_DOUBLE on 32 bit targets if GCJ 311 * include/gc_priv.h: Define ALIGN_DOUBLE on 32 bit targets if GCJ 162 312 support is enabled, for hash synchronization. 163 164 2002-03-17 Bryce McKinlay <bryce@waitaki.otago.ac.nz>165 166 * Makefile.am: Make a convenience library.167 * Makefile.in: Rebuilt.168 313 169 314 2002-02-24 Adam Megacz <adam@xwt.org> … … 180 325 181 326 * dbg_mlc.c (GC_debug_generic_malloc): Removed. 182 183 * sparc_mach_dep.S: Rename from sparc_mach_dep.s as it is a 327 328 * sparc_mach_dep.S: Rename from sparc_mach_dep.s as it is a 184 329 preprocessor file. 185 330 * mips_sgi_mach_dep.S: Likewise. … … 228 373 * boehm-gc on win32 now automatically detects if it is being built 229 374 as a DLL; see http://gcc.gnu.org/ml/java/2001-12/msg00240.html 230 375 231 376 2002-01-25 David Edelsohn <edelsohn@gnu.org> 232 377 … … 249 394 250 395 PR other/3725 251 * configure.in: Add AC_SUBST(target_alias). 396 * configure.in: Add AC_SUBST(target_alias). 252 397 * configure: Regenerated. 253 398 … … 297 442 * solaris_threads.c (MAX_ORIG_STACK_SIZE) [I386]: Provide special 298 443 Solaris 2/Intel definition. 299 444 300 445 * configure.in (i?86-*-solaris2.[89]*): Define 301 446 SOLARIS25_PROC_VDB_BUG_FIXED. … … 482 627 * Makefile.in: Rebuilt. 483 628 * configure: Rebuilt. 484 485 * linux_thread.c (GC_thr_init, GC_suspend_handler): Add SIGABRT to the 629 630 * linux_thread.c (GC_thr_init, GC_suspend_handler): Add SIGABRT to the 486 631 list of signals which are not blocked during suspend in the NO_SIGNALS 487 632 case. … … 510 655 2000-09-30 Bryce McKinlay <bryce@albatross.co.nz> 511 656 512 * configure.in: Define GC_GCJ_SUPPORT. Define NO_DEBUGGING in 657 * configure.in: Define GC_GCJ_SUPPORT. Define NO_DEBUGGING in 513 658 cross-compile configuration only. 514 659 * Makefile.am: Build gcj_mlc.c. … … 593 738 * acinclude.m4: Bump version to 5.0a6. 594 739 * configure.in: Don't use alpha_mach_dep.s. 595 * include/private/config.h, irix_threads.c gc_watcom.asm: Delete 740 * include/private/config.h, irix_threads.c gc_watcom.asm: Delete 596 741 obsolete files. 597 742 * Makefile.am, Makefile.in: irix_threads.c is now … … 625 770 1999-12-19 Anthony Green <green@cygnus.com> 626 771 627 * gcconfig.h: Use libgcj hack for Alpha Linux. 772 * gcconfig.h: Use libgcj hack for Alpha Linux. 628 773 Undefine MPROTEXT_VDB (from Jeff Sturm). 629 774 * os_dep.c: Remove Alpha Linux hacks. … … 822 967 (LINK): Added libtool invocation. 823 968 (.s.o): use LTCOMPILE. 824 * configure.in: Call AM_PROG_LIBTOOL. 969 * configure.in: Call AM_PROG_LIBTOOL. 825 970 (target_all): Set to libgcjgc.la. 826 971 Mention `.lo' forms of object files. … … 906 1051 * misc.c (GC_write): add eCos support. 907 1052 * os_dep.c (tiny_sbrk): add eCos support. 908 1053 909 1054 Thu Dec 10 18:24:34 1998 Warren Levy <warrenl@cygnus.com> 910 1055 … … 918 1063 1998-11-20 Andrew Haley <aph@viagra.cygnus.co.uk> 919 1064 920 * Makefile.am, Makefile.in, configure.host: tx39 build option 1065 * Makefile.am, Makefile.in, configure.host: tx39 build option 921 1066 "-G 0" added. 922 1067 923 1068 1998-11-17 Tom Tromey <tromey@cygnus.com> 924 1069 … … 1107 1252 New files. 1108 1253 * Makefile.orig: Renamed from Makefile. 1109 -
Property cvs2svn:cvs-rev
changed from
-
branches/GNU/src/gcc/boehm-gc/acinclude.m4
-
Property cvs2svn:cvs-rev
changed from
1.1to1.1.1.2
r1390 r1391 1 # Copyright (c) 1999-2001 by Red Hat, Inc. All rights reserved.1 # Copyright (c) 1999-2001, 2002 by Red Hat, Inc. All rights reserved. 2 2 # 3 3 # THIS MATERIAL IS PROVIDED AS IS, WITH ABSOLUTELY NO WARRANTY EXPRESSED … … 53 53 54 54 # This works around an automake problem. 55 mkinstalldirs="`cd $ac_aux_dir && pwd`/mkinstalldirs"55 mkinstalldirs="`cd $ac_aux_dir && ${PWDCMD-pwd}`/mkinstalldirs" 56 56 AC_SUBST(mkinstalldirs) 57 57 -
Property cvs2svn:cvs-rev
changed from
-
branches/GNU/src/gcc/boehm-gc/aclocal.m4
-
Property cvs2svn:cvs-rev
changed from
1.1to1.1.1.2
r1390 r1391 11 11 dnl PARTICULAR PURPOSE. 12 12 13 # Copyright (c) 1999-2001 by Red Hat, Inc. All rights reserved.13 # Copyright (c) 1999-2001, 2002 by Red Hat, Inc. All rights reserved. 14 14 # 15 15 # THIS MATERIAL IS PROVIDED AS IS, WITH ABSOLUTELY NO WARRANTY EXPRESSED … … 65 65 66 66 # This works around an automake problem. 67 mkinstalldirs="`cd $ac_aux_dir && pwd`/mkinstalldirs"67 mkinstalldirs="`cd $ac_aux_dir && ${PWDCMD-pwd}`/mkinstalldirs" 68 68 AC_SUBST(mkinstalldirs) 69 69 -
Property cvs2svn:cvs-rev
changed from
-
branches/GNU/src/gcc/boehm-gc/alloc.c
-
Property cvs2svn:cvs-rev
changed from
1.1to1.1.1.2
r1390 r1391 307 307 GC_stop_func stop_func; 308 308 { 309 if (GC_dont_gc) return FALSE; 309 310 if (GC_incremental && GC_collection_in_progress()) { 310 311 # ifdef CONDPRINT … … 387 388 register int i; 388 389 390 if (GC_dont_gc) return; 389 391 if (GC_incremental && GC_collection_in_progress()) { 390 392 for (i = GC_deficit; i < GC_RATE*n; i++) { … … 447 449 # endif 448 450 451 # if defined(REGISTER_LIBRARIES_EARLY) 452 GC_cond_register_dynamic_libraries(); 453 # endif 449 454 STOP_WORLD(); 450 455 # ifdef PRINTTIMES -
Property cvs2svn:cvs-rev
changed from
-
branches/GNU/src/gcc/boehm-gc/configure
-
Property cvs2svn:cvs-rev
changed from
1.1to1.1.1.2
r1390 r1391 956 956 957 957 # This works around an automake problem. 958 mkinstalldirs="`cd $ac_aux_dir && pwd`/mkinstalldirs"958 mkinstalldirs="`cd $ac_aux_dir && ${PWDCMD-pwd}`/mkinstalldirs" 959 959 960 960 … … 1894 1894 1895 1895 hpux10.20*|hpux11*) 1896 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library' 1897 lt_cv_file_magic_cmd=/usr/bin/file 1898 lt_cv_file_magic_test_file=/usr/lib/libc.sl 1896 case $host_cpu in 1897 hppa*) 1898 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library' 1899 lt_cv_file_magic_cmd=/usr/bin/file 1900 lt_cv_file_magic_test_file=/usr/lib/libc.sl 1901 ;; 1902 ia64*) 1903 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' 1904 lt_cv_file_magic_cmd=/usr/bin/file 1905 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so 1906 ;; 1907 esac 1899 1908 ;; 1900 1909 … … 1986 1995 1987 1996 echo $ac_n "checking for object suffix""... $ac_c" 1>&6 1988 echo "configure:19 89: checking for object suffix" >&51997 echo "configure:1998: checking for object suffix" >&5 1989 1998 if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then 1990 1999 echo $ac_n "(cached) $ac_c" 1>&6 … … 1992 2001 rm -f conftest* 1993 2002 echo 'int i = 1;' > conftest.$ac_ext 1994 if { (eval echo configure: 1995: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then2003 if { (eval echo configure:2004: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1995 2004 for ac_file in conftest.*; do 1996 2005 case $ac_file in … … 2016 2025 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 2017 2026 echo $ac_n "checking for ${ac_tool_prefix}file""... $ac_c" 1>&6 2018 echo "configure:20 19: checking for ${ac_tool_prefix}file" >&52027 echo "configure:2028: checking for ${ac_tool_prefix}file" >&5 2019 2028 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then 2020 2029 echo $ac_n "(cached) $ac_c" 1>&6 … … 2078 2087 if test -n "$ac_tool_prefix"; then 2079 2088 echo $ac_n "checking for file""... $ac_c" 1>&6 2080 echo "configure:20 81: checking for file" >&52089 echo "configure:2090: checking for file" >&5 2081 2090 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then 2082 2091 echo $ac_n "(cached) $ac_c" 1>&6 … … 2149 2158 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 2150 2159 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2151 echo "configure:21 52: checking for $ac_word" >&52160 echo "configure:2161: checking for $ac_word" >&5 2152 2161 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then 2153 2162 echo $ac_n "(cached) $ac_c" 1>&6 … … 2181 2190 set dummy ranlib; ac_word=$2 2182 2191 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2183 echo "configure:21 84: checking for $ac_word" >&52192 echo "configure:2193: checking for $ac_word" >&5 2184 2193 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then 2185 2194 echo $ac_n "(cached) $ac_c" 1>&6 … … 2216 2225 set dummy ${ac_tool_prefix}strip; ac_word=$2 2217 2226 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2218 echo "configure:22 19: checking for $ac_word" >&52227 echo "configure:2228: checking for $ac_word" >&5 2219 2228 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then 2220 2229 echo $ac_n "(cached) $ac_c" 1>&6 … … 2248 2257 set dummy strip; ac_word=$2 2249 2258 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2250 echo "configure:22 51: checking for $ac_word" >&52259 echo "configure:2260: checking for $ac_word" >&5 2251 2260 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then 2252 2261 echo $ac_n "(cached) $ac_c" 1>&6 … … 2315 2324 *-*-irix6*) 2316 2325 # Find out which ABI we are using. 2317 echo '#line 2318 "configure"' > conftest.$ac_ext 2318 if { (eval echo configure:2319: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2326 echo '#line 2327 "configure"' > conftest.$ac_ext 2327 if { (eval echo configure:2328: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2328 if test "$lt_cv_prog_gnu_ld" = yes; then 2329 case `/usr/bin/file conftest.$ac_objext` in 2330 *32-bit*) 2331 LD="${LD-ld} -melf32bsmip" 2332 ;; 2333 *N32*) 2334 LD="${LD-ld} -melf32bmipn32" 2335 ;; 2336 *64-bit*) 2337 LD="${LD-ld} -melf64bmip" 2338 ;; 2339 esac 2340 else 2319 2341 case `/usr/bin/file conftest.$ac_objext` in 2320 2342 *32-bit*) … … 2328 2350 ;; 2329 2351 esac 2352 fi 2353 fi 2354 rm -rf conftest* 2355 ;; 2356 2357 ia64-*-hpux*) 2358 # Find out which ABI we are using. 2359 echo 'int i;' > conftest.$ac_ext 2360 if { (eval echo configure:2361: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2361 case "`/usr/bin/file conftest.o`" in 2362 *ELF-32*) 2363 HPUX_IA64_MODE="32" 2364 ;; 2365 *ELF-64*) 2366 HPUX_IA64_MODE="64" 2367 ;; 2368 esac 2369 fi 2370 rm -rf conftest* 2371 ;; 2372 2373 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*) 2374 # Find out which ABI we are using. 2375 echo 'int i;' > conftest.$ac_ext 2376 if { (eval echo configure:2377: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2377 case "`/usr/bin/file conftest.o`" in 2378 *32-bit*) 2379 case $host in 2380 x86_64-*linux*) 2381 LD="${LD-ld} -m elf_i386" 2382 ;; 2383 ppc64-*linux*|powerpc64-*linux*) 2384 LD="${LD-ld} -m elf32ppclinux" 2385 ;; 2386 s390x-*linux*) 2387 LD="${LD-ld} -m elf_s390" 2388 ;; 2389 sparc64-*linux*) 2390 LD="${LD-ld} -m elf32_sparc" 2391 ;; 2392 esac 2393 ;; 2394 *64-bit*) 2395 case $host in 2396 x86_64-*linux*) 2397 LD="${LD-ld} -m elf_x86_64" 2398 ;; 2399 ppc*-*linux*|powerpc*-*linux*) 2400 LD="${LD-ld} -m elf64ppc" 2401 ;; 2402 s390*-*linux*) 2403 LD="${LD-ld} -m elf64_s390" 2404 ;; 2405 sparc*-*linux*) 2406 LD="${LD-ld} -m elf64_sparc" 2407 ;; 2408 esac 2409 ;; 2410 esac 2330 2411 fi 2331 2412 rm -rf conftest* … … 2337 2418 CFLAGS="$CFLAGS -belf" 2338 2419 echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6 2339 echo "configure:2 340: checking whether the C compiler needs -belf" >&52420 echo "configure:2421: checking whether the C compiler needs -belf" >&5 2340 2421 if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then 2341 2422 echo $ac_n "(cached) $ac_c" 1>&6 … … 2350 2431 2351 2432 cat > conftest.$ac_ext <<EOF 2352 #line 2 353"configure"2433 #line 2434 "configure" 2353 2434 #include "confdefs.h" 2354 2435 … … 2357 2438 ; return 0; } 2358 2439 EOF 2359 if { (eval echo configure:2 360: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2440 if { (eval echo configure:2441: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2360 2441 rm -rf conftest* 2361 2442 lt_cv_cc_needs_belf=yes … … 2387 2468 2388 2469 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6 2389 echo "configure:2 390: checking how to run the C++ preprocessor" >&52470 echo "configure:2471: checking how to run the C++ preprocessor" >&5 2390 2471 if test -z "$CXXCPP"; then 2391 2472 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then … … 2400 2481 CXXCPP="${CXX-g++} -E" 2401 2482 cat > conftest.$ac_ext <<EOF 2402 #line 24 03"configure"2483 #line 2484 "configure" 2403 2484 #include "confdefs.h" 2404 2485 #include <stdlib.h> 2405 2486 EOF 2406 2487 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2407 { (eval echo configure:24 08: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2488 { (eval echo configure:2489: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2408 2489 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2409 2490 if test -z "$ac_err"; then … … 2552 2633 2553 2634 echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6 2554 echo "configure:2 555: checking whether to enable maintainer-specific portions of Makefiles" >&52635 echo "configure:2636: checking whether to enable maintainer-specific portions of Makefiles" >&5 2555 2636 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given. 2556 2637 if test "${enable_maintainer_mode+set}" = set; then … … 2585 2666 2586 2667 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6 2587 echo "configure:2 588: checking for executable suffix" >&52668 echo "configure:2669: checking for executable suffix" >&5 2588 2669 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then 2589 2670 echo $ac_n "(cached) $ac_c" 1>&6 … … 2595 2676 echo 'int main () { return 0; }' > conftest.$ac_ext 2596 2677 ac_cv_exeext= 2597 if { (eval echo configure:2 598: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then2678 if { (eval echo configure:2679: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then 2598 2679 for file in conftest.*; do 2599 2680 case $file in … … 2618 2699 2619 2700 echo $ac_n "checking for thread model used by GCC""... $ac_c" 1>&6 2620 echo "configure:2 621: checking for thread model used by GCC" >&52701 echo "configure:2702: checking for thread model used by GCC" >&5 2621 2702 THREADS=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'` 2622 2703 if test -z "$THREADS"; then … … 2647 2728 THREADLIBS=-lpthread 2648 2729 case "$host" in 2649 x86-*-linux* | ia64-*-linux* | i586-*-linux* | i686-*-linux* )2730 x86-*-linux* | ia64-*-linux* | i586-*-linux* | i686-*-linux* | x86_64-*-linux* ) 2650 2731 cat >> confdefs.h <<\EOF 2651 2732 #define GC_LINUX_THREADS 1 … … 2738 2819 EOF 2739 2820 2821 if test $enable_shared = yes; then 2822 cat >> confdefs.h <<\EOF 2823 #define GC_DLL 1 2824 EOF 2825 2826 fi 2740 2827 ;; 2741 2828 decosf1 | irix | mach | os2 | solaris | dce | vxworks) … … 2749 2836 2750 2837 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 2751 echo "configure:2 752: checking for dlopen in -ldl" >&52838 echo "configure:2839: checking for dlopen in -ldl" >&5 2752 2839 ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` 2753 2840 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 2757 2844 LIBS="-ldl $LIBS" 2758 2845 cat > conftest.$ac_ext <<EOF 2759 #line 2 760"configure"2846 #line 2847 "configure" 2760 2847 #include "confdefs.h" 2761 2848 /* Override any gcc2 internal prototype to avoid an error. */ … … 2768 2855 ; return 0; } 2769 2856 EOF 2770 if { (eval echo configure:2 771: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2857 if { (eval echo configure:2858: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2771 2858 rm -rf conftest* 2772 2859 eval "ac_cv_lib_$ac_lib_var=yes" … … 2856 2943 machdep="alpha_mach_dep.lo" 2857 2944 ;; 2858 i?86-*-solaris2.[89] *)2945 i?86-*-solaris2.[89] | i?86-*-solaris2.1?) 2859 2946 cat >> confdefs.h <<\EOF 2860 2947 #define SOLARIS25_PROC_VDB_BUG_FIXED 1 … … 2876 2963 machdep="mips_ultrix_mach-dep.lo" 2877 2964 ;; 2965 mips*-*-linux*) 2966 ;; 2878 2967 mips-*-*) 2879 2968 machdep="mips_sgi_mach_dep.lo" … … 2883 2972 2884 2973 ;; 2885 sparc-sun-solaris2.3 *)2974 sparc-sun-solaris2.3) 2886 2975 machdep="sparc_mach_dep.lo" 2887 2976 cat >> confdefs.h <<\EOF … … 2985 3074 2986 3075 ;; 2987 x86-*-linux* | i586-*-linux* | i686-*-linux* )3076 x86-*-linux* | i586-*-linux* | i686-*-linux* | x86_64-*-linux* ) 2988 3077 cat >> confdefs.h <<\EOF 2989 3078 #define MAKE_BACK_GRAPH 1 … … 3085 3174 # Protect against shell expansion while executing Makefile rules. 3086 3175 # Protect against Makefile macro expansion. 3087 # 3088 # If the first sed substitution is executed (which looks for macros that 3089 # take arguments), then we branch to the quote section. Otherwise, 3090 # look for a macro that doesn't take arguments. 3091 cat >confdef2opt.sed <<\_ACEOF 3092 t clear 3093 : clear 3094 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g 3095 t quote 3096 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g 3097 t quote 3098 d 3099 : quote 3100 s,[ `~#$^&*(){}\\|;'"<>?],\\&,g 3101 s,\[,\\&,g 3102 s,\],\\&,g 3103 s,\$,$$,g 3104 p 3105 _ACEOF 3106 # We use echo to avoid assuming a particular line-breaking character. 3107 # The extra dot is to prevent the shell from consuming trailing 3108 # line-breaks from the sub-command output. A line-break within 3109 # single-quotes doesn't work because, if this script is created in a 3110 # platform that uses two characters for line-breaks (e.g., DOS), tr 3111 # would break. 3112 ac_LF_and_DOT=`echo; echo .` 3113 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'` 3114 rm -f confdef2opt.sed 3176 cat > conftest.defs <<\EOF 3177 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%-D\1=\2%g 3178 s%[ `~#$^&*(){}\\|;'"<>?]%\\&%g 3179 s%\[%\\&%g 3180 s%\]%\\&%g 3181 s%\$%$$%g 3182 EOF 3183 DEFS=`sed -f conftest.defs confdefs.h | tr '\012' ' '` 3184 rm -f conftest.defs 3115 3185 3116 3186 … … 3345 3415 gc_basedir=${gc_basedir} 3346 3416 CC="${CC}" 3417 ORIGINAL_LD_FOR_MULTILIBS="${ORIGINAL_LD_FOR_MULTILIBS}" 3347 3418 DEFS="$DEFS" 3348 3419 -
Property cvs2svn:cvs-rev
changed from
-
branches/GNU/src/gcc/boehm-gc/configure.host
-
Property cvs2svn:cvs-rev
changed from
1.1to1.1.1.2
r1390 r1391 15 15 # host_cpu The configuration host CPU 16 16 # target_optspace --enable-target-optspace ("yes", "no", "") 17 # GCC should be "yes" if using gcc 17 18 18 19 # It sets the following shell variables: 19 20 # gc_cflags Special CFLAGS to use when building 20 21 22 gc_cflags="" 23 21 24 # We should set -fexceptions if we are using gcc and might be used 22 25 # inside something like gcj. This is the zeroth approximation: 23 case "$host" in 24 *-*-linux* ) 25 gc_cflags=-fexceptions 26 ;; 27 *-*-hpux* ) 28 gc_cflags=+ESdbgasm 29 ;; 30 esac 26 if test :"$GCC": = :yes: ; then 27 gc_cflags="${gc_cflags} -fexceptions" 28 else 29 case "$host" in 30 hppa*-*-hpux* ) 31 if test :$GCC: != :"yes": ; then 32 gc_cflags="${gc_flags} +ESdbgasm" 33 fi 34 # :TODO: actaully we should check using Autoconf if 35 # the compiler supports this option. 36 ;; 37 esac 38 fi 31 39 32 40 case "${target_optspace}:${host}" in … … 47 55 case "${host}" in 48 56 mips-tx39-*|mipstx39-unknown-*) 49 boehm_gc_cflags="${boehm_gc_cflags} -G 0"57 gc_cflags="${gc_cflags} -G 0" 50 58 ;; 51 59 *) -
Property cvs2svn:cvs-rev
changed from
-
branches/GNU/src/gcc/boehm-gc/configure.in
-
Property cvs2svn:cvs-rev
changed from
1.1to1.1.1.2
r1390 r1391 74 74 THREADLIBS=-lpthread 75 75 case "$host" in 76 x86-*-linux* | ia64-*-linux* | i586-*-linux* | i686-*-linux* )76 x86-*-linux* | ia64-*-linux* | i586-*-linux* | i686-*-linux* | x86_64-*-linux* ) 77 77 AC_DEFINE(GC_LINUX_THREADS) 78 78 AC_DEFINE(_REENTRANT) … … 117 117 AC_DEFINE(GC_WIN32_THREADS) 118 118 AC_DEFINE(NO_GETENV) 119 if test $enable_shared = yes; then 120 AC_DEFINE(GC_DLL) 121 fi 119 122 ;; 120 123 decosf1 | irix | mach | os2 | solaris | dce | vxworks) … … 172 175 machdep="alpha_mach_dep.lo" 173 176 ;; 174 i?86-*-solaris2.[[89]] *)177 i?86-*-solaris2.[[89]] | i?86-*-solaris2.1?) 175 178 AC_DEFINE(SOLARIS25_PROC_VDB_BUG_FIXED) 176 179 ;; … … 183 186 machdep="mips_ultrix_mach-dep.lo" 184 187 ;; 188 mips*-*-linux*) 189 ;; 185 190 mips-*-*) 186 191 machdep="mips_sgi_mach_dep.lo" 187 192 AC_DEFINE(NO_EXECUTE_PERMISSION) 188 193 ;; 189 sparc-sun-solaris2.3 *)194 sparc-sun-solaris2.3) 190 195 machdep="sparc_mach_dep.lo" 191 196 AC_DEFINE(SUNOS53_SHARED_LIB) … … 258 263 AC_DEFINE(MAKE_BACK_GRAPH) 259 264 ;; 260 x86-*-linux* | i586-*-linux* | i686-*-linux* )265 x86-*-linux* | i586-*-linux* | i686-*-linux* | x86_64-*-linux* ) 261 266 AC_DEFINE(MAKE_BACK_GRAPH) 262 267 AC_MSG_WARN("Client must not use -fomit-frame-pointer.") … … 300 305 gc_basedir=${gc_basedir} 301 306 CC="${CC}" 307 ORIGINAL_LD_FOR_MULTILIBS="${ORIGINAL_LD_FOR_MULTILIBS}" 302 308 DEFS="$DEFS" 303 309 ) -
Property cvs2svn:cvs-rev
changed from
-
branches/GNU/src/gcc/boehm-gc/dyn_load.c
-
Property cvs2svn:cvs-rev
changed from
1.1to1.1.1.2
r1390 r1391 356 356 continue; 357 357 } 358 if (start <= datastart && end > datastart && maj_dev != 0) {359 /* Main data segment; discard */360 continue;361 }362 358 # ifdef THREADS 363 359 if (GC_segment_is_thread_stack(start, end)) continue; … … 385 381 } 386 382 383 /* We now take care of the main data segment ourselves: */ 384 GC_bool GC_register_main_static_data() 385 { 386 return FALSE; 387 } 388 389 # define HAVE_REGISTER_MAIN_STATIC_DATA 387 390 // 388 391 // parse_map_entry parses an entry from /proc/self/maps so we can … … 470 473 return -1; 471 474 472 /* Skip the first object - it is the main program. */473 if (*(int *)ptr == 0)474 {475 *(int *)ptr = 1;476 return 0;477 }478 479 475 p = info->dlpi_phdr; 480 476 for( i = 0; i < (int)(info->dlpi_phnum); ((i++),(p++)) ) { … … 492 488 } 493 489 490 * (int *)ptr = 1; /* Signal that we were called */ 494 491 return 0; 495 492 } … … 501 498 GC_bool GC_register_dynamic_libraries_dl_iterate_phdr() 502 499 { 503 int tmp = 0;504 505 500 if (dl_iterate_phdr) { 506 dl_iterate_phdr(GC_register_dynlib_callback, &tmp); 501 int did_something = 0; 502 dl_iterate_phdr(GC_register_dynlib_callback, &did_something); 503 if (!did_something) { 504 /* dl_iterate_phdr may forget the static data segment in */ 505 /* statically linked executables. */ 506 GC_add_roots_inner(DATASTART, (char *)(DATAEND), TRUE); 507 # if defined(DATASTART2) 508 GC_add_roots_inner(DATASTART2, (char *)(DATAEND2), TRUE); 509 # endif 510 } 507 511 return TRUE; 508 512 } else { … … 510 514 } 511 515 } 516 517 /* Do we need to separately register the main static data segment? */ 518 GC_bool GC_register_main_static_data() 519 { 520 return (dl_iterate_phdr == 0); 521 } 522 523 #define HAVE_REGISTER_MAIN_STATIC_DATA 512 524 513 525 # else /* !LINUX || version(glibc) < 2.2.4 */ … … 776 788 # endif 777 789 778 # ifndef MSWINCE 790 # ifdef MSWINCE 791 /* Do we need to separately register the main static data segment? */ 792 GC_bool GC_register_main_static_data() 793 { 794 return FALSE; 795 } 796 # else /* win32 */ 779 797 extern GC_bool GC_no_win32_dlls; 780 # endif 798 799 GC_bool GC_register_main_static_data() 800 { 801 return GC_no_win32_dlls; 802 } 803 # endif /* win32 */ 781 804 805 # define HAVE_REGISTER_MAIN_STATIC_DATA 806 782 807 void GC_register_dynamic_libraries() 783 808 { … … 1080 1105 1081 1106 #endif /* !PCR */ 1107 1082 1108 #endif /* !DYNAMIC_LOADING */ 1109 1110 #ifndef HAVE_REGISTER_MAIN_STATIC_DATA 1111 1112 /* Do we need to separately register the main static data segment? */ 1113 GC_bool GC_register_main_static_data() 1114 { 1115 return TRUE; 1116 } 1117 #endif /* HAVE_REGISTER_MAIN_STATIC_DATA */ 1118 -
Property cvs2svn:cvs-rev
changed from
-
branches/GNU/src/gcc/boehm-gc/include/Makefile.am
-
Property cvs2svn:cvs-rev
changed from
1.1to1.1.1.2
r1390 r1391 1 1 AUTOMAKE_OPTIONS = foreign 2 2 3 include_HEADERS = gc.h gc_backptr.h gc_local_alloc.h \3 noinst_HEADERS = gc.h gc_backptr.h gc_local_alloc.h \ 4 4 gc_pthread_redirects.h gc_cpp.h 5 5 -
Property cvs2svn:cvs-rev
changed from
-
branches/GNU/src/gcc/boehm-gc/include/Makefile.in
-
Property cvs2svn:cvs-rev
changed from
1.1to1.1.1.2
r1390 r1391 97 97 AUTOMAKE_OPTIONS = foreign 98 98 99 include_HEADERS = gc.h gc_backptr.h gc_local_alloc.h \99 noinst_HEADERS = gc.h gc_backptr.h gc_local_alloc.h \ 100 100 gc_pthread_redirects.h gc_cpp.h 101 101 102 102 CONFIG_CLEAN_FILES = 103 HEADERS = $( include_HEADERS)103 HEADERS = $(noinst_HEADERS) 104 104 105 105 DIST_COMMON = Makefile.am Makefile.in … … 119 119 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status 120 120 121 122 install-includeHEADERS: $(include_HEADERS)123 @$(NORMAL_INSTALL)124 $(mkinstalldirs) $(DESTDIR)$(includedir)125 @list='$(include_HEADERS)'; for p in $$list; do \126 if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \127 echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir)/$$p"; \128 $(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir)/$$p; \129 done130 131 uninstall-includeHEADERS:132 @$(NORMAL_UNINSTALL)133 list='$(include_HEADERS)'; for p in $$list; do \134 rm -f $(DESTDIR)$(includedir)/$$p; \135 done136 121 137 122 tags: TAGS … … 192 177 install-exec: install-exec-am 193 178 194 install-data-am: install-includeHEADERS179 install-data-am: 195 180 install-data: install-data-am 196 181 … … 198 183 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am 199 184 install: install-am 200 uninstall-am: uninstall-includeHEADERS185 uninstall-am: 201 186 uninstall: uninstall-am 202 187 all-am: Makefile $(HEADERS) … … 205 190 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install 206 191 installdirs: 207 $(mkinstalldirs) $(DESTDIR)$(includedir)208 192 209 193 … … 237 221 maintainer-clean: maintainer-clean-am 238 222 239 .PHONY: uninstall-includeHEADERS install-includeHEADERS tags \ 240 mostlyclean-tags distclean-tags clean-tags maintainer-clean-tags \ 241 distdir info-am info dvi-am dvi check check-am installcheck-am \ 242 installcheck install-info-am install-info install-exec-am install-exec \ 243 install-data-am install-data install-am install uninstall-am uninstall \ 244 all-redirect all-am all installdirs mostlyclean-generic \ 245 distclean-generic clean-generic maintainer-clean-generic clean \ 246 mostlyclean distclean maintainer-clean 223 .PHONY: tags mostlyclean-tags distclean-tags clean-tags \ 224 maintainer-clean-tags distdir info-am info dvi-am dvi check check-am \ 225 installcheck-am installcheck install-info-am install-info \ 226 install-exec-am install-exec install-data-am install-data install-am \ 227 install uninstall-am uninstall all-redirect all-am all installdirs \ 228 mostlyclean-generic distclean-generic clean-generic \ 229 maintainer-clean-generic clean mostlyclean distclean maintainer-clean 247 230 248 231 -
Property cvs2svn:cvs-rev
changed from
-
branches/GNU/src/gcc/boehm-gc/include/private/gc_locks.h
-
Property cvs2svn:cvs-rev
changed from
1.1to1.1.1.2
r1390 r1391 210 210 # define GC_TEST_AND_SET_DEFINED 211 211 # endif /* ARM32 */ 212 # ifdef S390 213 inline static int GC_test_and_set(volatile unsigned int *addr) { 214 int ret; 215 __asm__ __volatile__ ( 216 " l %0,0(%2)\n" 217 "0: cs %0,%1,0(%2)\n" 218 " jl 0b" 219 : "=&d" (ret) 220 : "d" (1), "a" (addr) 221 : "cc", "memory"); 222 return ret; 223 } 224 # endif 212 225 # endif /* __GNUC__ */ 213 226 # if (defined(ALPHA) && !defined(__GNUC__)) … … 220 233 # endif 221 234 # ifdef MIPS 222 # if __mips < 3 || !(defined (_ABIN32) || defined(_ABI64)) \ 235 # ifdef LINUX 236 # include <sys/tas.h> 237 # define GC_test_and_set(addr) _test_and_set((int *) addr,1) 238 # define GC_TEST_AND_SET_DEFINED 239 # elif __mips < 3 || !(defined (_ABIN32) || defined(_ABI64)) \ 223 240 || !defined(_COMPILER_VERSION) || _COMPILER_VERSION < 700 224 # define GC_test_and_set(addr , v) test_and_set(addr,v)241 # define GC_test_and_set(addr) test_and_set(addr, 1) 225 242 # else 226 # define GC_test_and_set(addr , v) __test_and_set(addr,v)243 # define GC_test_and_set(addr) __test_and_set(addr,1) 227 244 # define GC_clear(addr) __lock_release(addr); 228 245 # define GC_CLEAR_DEFINED … … 327 344 # endif /* 0 */ 328 345 # endif /* IA64 */ 346 # if defined(S390) 347 # if !defined(GENERIC_COMPARE_AND_SWAP) 348 inline static GC_bool GC_compare_and_exchange(volatile C_word *addr, 349 GC_word old, GC_word new_val) 350 { 351 int retval; 352 __asm__ __volatile__ ( 353 # ifndef __s390x__ 354 " cs %1,%2,0(%3)\n" 355 # else 356 " csg %1,%2,0(%3)\n" 357 # endif 358 " ipm %0\n" 359 " srl %0,28\n" 360 : "=&d" (retval), "+d" (old) 361 : "d" (new_val), "a" (addr) 362 : "cc", "memory"); 363 return retval == 0; 364 } 365 # endif 366 # endif 329 367 # if !defined(GENERIC_COMPARE_AND_SWAP) 330 368 /* Returns the original value of *addr. */ … … 432 470 # define UNSET_LOCK_HOLDER() GC_lock_holder = NO_THREAD 433 471 # define I_HOLD_LOCK() (pthread_equal(GC_lock_holder, pthread_self())) 434 # define LOCK() { if (GC_test_and_set(&GC_allocate_lock , 1)) GC_lock(); }472 # define LOCK() { if (GC_test_and_set(&GC_allocate_lock)) GC_lock(); } 435 473 # define UNLOCK() GC_clear(&GC_allocate_lock); 436 474 extern VOLATILE GC_bool GC_collecting; -
Property cvs2svn:cvs-rev
changed from
-
branches/GNU/src/gcc/boehm-gc/include/private/gc_priv.h
-
Property cvs2svn:cvs-rev
changed from
1.1to1.1.1.2
r1390 r1391 45 45 # endif 46 46 47 # ifndef GCCONFIG_H48 # include "gcconfig.h"49 # endif50 51 47 typedef GC_word word; 52 48 typedef GC_signed_word signed_word; … … 61 57 /* exists. */ 62 58 59 # ifndef GCCONFIG_H 60 # include "gcconfig.h" 61 # endif 62 63 63 # ifndef HEADERS_H 64 64 # include "gc_hdrs.h" … … 1463 1463 void GC_register_dynamic_libraries GC_PROTO((void)); 1464 1464 /* Add dynamic library data sections to the root set. */ 1465 1466 GC_bool GC_register_main_static_data GC_PROTO((void)); 1467 /* We need to register the main data segment. Returns */ 1468 /* TRUE unless this is done implicitly as part of */ 1469 /* dynamic library registration. */ 1465 1470 1466 1471 /* Machine dependent startup routines */ … … 1917 1922 # endif 1918 1923 # else /* !GC_LINUX_THREADS */ 1919 # define SIG_SUSPEND _SIGRTMIN + 6 1924 # if defined(_SIGRTMIN) 1925 # define SIG_SUSPEND _SIGRTMIN + 6 1926 # else 1927 # define SIG_SUSPEND SIGRTMIN + 6 1928 # endif 1920 1929 # endif 1921 1930 # endif /* !SIG_SUSPEND */ -
Property cvs2svn:cvs-rev
changed from
-
branches/GNU/src/gcc/boehm-gc/include/private/gcconfig.h
-
Property cvs2svn:cvs-rev
changed from
1.1to1.1.1.2
r1390 r1391 45 45 46 46 /* Determine the machine type: */ 47 # if defined(__ XSCALE__)47 # if defined(__arm__) || defined(__thumb__) 48 48 # define ARM32 49 49 # if !defined(LINUX) … … 96 96 # define EWS4800 97 97 # endif 98 # if !defined(LINUX) && !defined(EWS4800) 99 # if defined(ultrix) || defined(__ultrix) || defined(__NetBSD__)98 # if !defined(LINUX) && !defined(EWS4800) && !defined(NETBSD) 99 # if defined(ultrix) || defined(__ultrix) 100 100 # define ULTRIX 101 101 # else … … 108 108 # endif 109 109 # endif /* !LINUX */ 110 # if defined(__NetBSD__) && defined(__MIPSEL__)111 # undef ULTRIX112 # endif113 110 # define mach_type_known 114 111 # endif … … 192 189 # if defined(LINUX) && (defined(i386) || defined(__i386__)) 193 190 # define I386 191 # define mach_type_known 192 # endif 193 # if defined(LINUX) && defined(__x86_64__) 194 # define X86_64 194 195 # define mach_type_known 195 196 # endif … … 370 371 # endif 371 372 # if defined(__s390__) && defined(LINUX) 372 # define S3 70373 # define S390 373 374 # define mach_type_known 374 375 # endif … … 419 420 /* S370 ==> 370-like machine */ 420 421 /* running Amdahl UTS4 */ 421 /* or a 390 running LINUX */ 422 /* S390 ==> 390-like machine */ 423 /* running LINUX */ 422 424 /* ARM32 ==> Intel StrongARM */ 423 425 /* IA64 ==> Intel IPF */ … … 428 430 /* SH ==> Hitachi SuperH */ 429 431 /* (LINUX & MSWINCE) */ 432 /* X86_64 ==> AMD x86-64 */ 430 433 431 434 … … 667 670 /* This was 2, but that didn't sound right. */ 668 671 # define OS_TYPE "LINUX" 669 # define HEURISTIC1670 672 # define DYNAMIC_LOADING 671 # undef STACK_GRAN 672 # define STACK_GRAN 0x10000000 673 # define LINUX_STACKBOTTOM 673 674 /* Stack usually starts at 0x80000000 */ 674 675 # define LINUX_DATA_START … … 683 684 # define STACKBOTTOM ((ptr_t) 0xc0000000) 684 685 # define DATAEND /* not needed */ 685 # defineMPROTECT_VDB686 # undef MPROTECT_VDB 686 687 # include <unistd.h> 687 688 # define GETPAGESIZE() getpagesize() … … 820 821 # define SVR4 821 822 # ifdef __arch64__ 822 # define DATASTART (ptr_t)GC_SysVGetDataStart(0x100000, _etext)823 823 /* libc_stack_end is not set reliably for sparc64 */ 824 824 # define STACKBOTTOM ((ptr_t) 0x80000000000) 825 # define DATASTART (ptr_t)GC_SysVGetDataStart(0x100000, _etext) 825 826 # else 827 # define LINUX_STACKBOTTOM 826 828 # define DATASTART (ptr_t)GC_SysVGetDataStart(0x10000, _etext) 827 # define LINUX_STACKBOTTOM828 829 # endif 829 830 # endif … … 1142 1143 /* needs to be tweaked for workstation class machines. */ 1143 1144 # define OS_TYPE "LINUX" 1145 # define DYNAMIC_LOADING 1146 extern int _end[]; 1147 # define DATAEND (_end) 1144 1148 extern int __data_start[]; 1145 1149 # define DATASTART ((ptr_t)(__data_start)) 1146 1150 # define ALIGNMENT 4 1147 1151 # define USE_GENERIC_PUSH_REGS 1148 # define STACKBOTTOM ((ptr_t)0x7fff8000) 1149 /* Older toolchains may need 0x80000000. */ 1150 /* In many cases, this should probably use LINUX_STACKBOTTOM */ 1151 /* instead. But some kernel versions seem to give the wrong */ 1152 /* value from /proc. */ 1152 # define LINUX_STACKBOTTOM 1153 1153 # endif /* Linux */ 1154 1154 # ifdef EWS4800 … … 1223 1223 # endif 1224 1224 # if defined(NETBSD) 1225 /* This also checked for __MIPSEL__ . Why? NETBSD recognition */ 1226 /* should be handled at the top of the file. */ 1225 # define OS_TYPE "NETBSD" 1227 1226 # define ALIGNMENT 4 1228 # define OS_TYPE "NETBSD"1229 1227 # define HEURISTIC2 1230 1228 # define USE_GENERIC_PUSH_REGS 1231 # ifdef __ELF__ 1232 extern int etext[]; 1233 # define DATASTART GC_data_start 1234 # define NEED_FIND_LIMIT 1235 # define DYNAMIC_LOADING 1236 # else 1237 # define DATASTART ((ptr_t) 0x10000000) 1238 # define STACKBOTTOM ((ptr_t) 0x7ffff000) 1239 # endif /* _ELF_ */ 1229 extern int _fdata[]; 1230 # define DATASTART ((ptr_t)(_fdata)) 1231 extern int _end[]; 1232 # define DATAEND ((ptr_t)(_end)) 1233 # define DYNAMIC_LOADING 1240 1234 # endif 1241 1235 # endif … … 1529 1523 # define HEURISTIC2 1530 1524 # endif 1525 # endif 1526 1527 # ifdef S390 1528 # define MACH_TYPE "S390" 1529 # define USE_GENERIC_PUSH_REGS 1530 # ifndef __s390x__ 1531 # define ALIGNMENT 4 1532 # define CPP_WORDSZ 32 1533 # else 1534 # define ALIGNMENT 8 1535 # define CPP_WORDSZ 64 1536 # define HBLKSIZE 4096 1537 # endif 1531 1538 # ifdef LINUX 1532 1539 # define OS_TYPE "LINUX" 1533 # define HEURISTIC11540 # define LINUX_STACKBOTTOM 1534 1541 # define DYNAMIC_LOADING 1535 1542 extern int __data_start[]; 1536 1543 # define DATASTART ((ptr_t)(__data_start)) 1544 extern int _end[]; 1545 # define DATAEND (_end) 1546 # define CACHE_LINE_SIZE 256 1547 # define GETPAGESIZE() 4096 1537 1548 # endif 1538 1549 # endif … … 1626 1637 # endif 1627 1638 1639 # ifdef X86_64 1640 # define MACH_TYPE "X86_64" 1641 # define ALIGNMENT 8 1642 # define CPP_WORDSZ 64 1643 # define HBLKSIZE 4096 1644 # define CACHE_LINE_SIZE 64 1645 # define USE_GENERIC_PUSH_REGS 1646 # ifdef LINUX 1647 # define OS_TYPE "LINUX" 1648 # define LINUX_STACKBOTTOM 1649 # if !defined(GC_LINUX_THREADS) || !defined(REDIRECT_MALLOC) 1650 # define MPROTECT_VDB 1651 # else 1652 /* We seem to get random errors in incremental mode, */ 1653 /* possibly because Linux threads is itself a malloc client */ 1654 /* and can't deal with the signals. */ 1655 # endif 1656 # ifdef __ELF__ 1657 # define DYNAMIC_LOADING 1658 # ifdef UNDEFINED /* includes ro data */ 1659 extern int _etext[]; 1660 # define DATASTART ((ptr_t)((((word) (_etext)) + 0xfff) & ~0xfff)) 1661 # endif 1662 # include <features.h> 1663 # define LINUX_DATA_START 1664 extern int _end[]; 1665 # define DATAEND (_end) 1666 # else 1667 extern int etext[]; 1668 # define DATASTART ((ptr_t)((((word) (etext)) + 0xfff) & ~0xfff)) 1669 # endif 1670 # define PREFETCH(x) \ 1671 __asm__ __volatile__ (" prefetch %0": : "m"(*(char *)(x))) 1672 # define PREFETCH_FOR_WRITE(x) \ 1673 __asm__ __volatile__ (" prefetchw %0": : "m"(*(char *)(x))) 1674 # endif 1675 # endif 1676 1628 1677 #ifdef LINUX_DATA_START 1629 1678 /* Some Linux distributions arrange to define __data_start. Some */ … … 1751 1800 # endif 1752 1801 1802 # ifdef LINUX 1803 # define REGISTER_LIBRARIES_EARLY 1804 /* We sometimes use dl_iterate_phdr, which may acquire an internal */ 1805 /* lock. This isn't safe after the world has stopped. So we must */ 1806 /* call GC_register_dynamic_libraries before stopping the world. */ 1807 /* For performance reasons, this may be beneficial on other */ 1808 /* platforms as well, though it should be avoided in win32. */ 1809 # endif /* LINUX */ 1810 1811 # if defined(SEARCH_FOR_DATA_START) && defined(GC_PRIVATE_H) 1812 extern ptr_t GC_data_start; 1813 # endif 1814 1753 1815 # ifndef CLEAR_DOUBLE 1754 1816 # define CLEAR_DOUBLE(x) \ … … 1819 1881 # define CAN_SAVE_CALL_ARGS 1820 1882 #endif 1821 #if defined(I386) && defined(LINUX)1883 #if (defined(I386) || defined(X86_64)) && defined(LINUX) 1822 1884 /* SAVE_CALL_CHAIN is supported if the code is compiled to save */ 1823 1885 /* frame pointers by default, i.e. no -fomit-frame-pointer flag. */ -
Property cvs2svn:cvs-rev
changed from
-
branches/GNU/src/gcc/boehm-gc/irix_threads.c
-
Property cvs2svn:cvs-rev
changed from
1.1to1.1.1.2
r1390 r1391 520 520 thread_gc_id = GC_lookup_thread(thread); 521 521 UNLOCK(); 522 result = REAL_FUNC(pthread_detach)(thread);522 result = pthread_detach(thread); 523 523 if (result == 0) { 524 524 LOCK(); … … 600 600 si -> arg = arg; 601 601 LOCK(); 602 if (!GC_i nitialized) GC_init();602 if (!GC_is_initialized) GC_init(); 603 603 if (NULL == attr) { 604 604 stack = 0; … … 656 656 657 657 unsigned long GC_allocate_lock = 0; 658 # define GC_TRY_LOCK() !GC_test_and_set(&GC_allocate_lock ,1)658 # define GC_TRY_LOCK() !GC_test_and_set(&GC_allocate_lock) 659 659 # define GC_LOCK_TAKEN GC_allocate_lock 660 660 -
Property cvs2svn:cvs-rev
changed from
-
branches/GNU/src/gcc/boehm-gc/linux_threads.c
-
Property cvs2svn:cvs-rev
changed from
1.1to1.1.1.2
r1390 r1391 1362 1362 # endif 1363 1363 start_arg = si -> arg; 1364 # ifdef DEBUG_THREADS 1365 GC_printf1("sem_post from 0x%lx\n", my_pthread); 1366 # endif 1364 1367 sem_post(&(si -> registered)); /* Last action on si. */ 1365 1368 /* OK to deallocate. */ … … 1430 1433 if (EINTR != errno) ABORT("sem_wait failed"); 1431 1434 } 1435 # ifdef DEBUG_THREADS 1436 GC_printf1("sem_wait complete from thread 0x%X\n", 1437 pthread_self()); 1438 # endif 1432 1439 sem_destroy(&(si -> registered)); 1433 1440 LOCK(); -
Property cvs2svn:cvs-rev
changed from
-
branches/GNU/src/gcc/boehm-gc/ltconfig
-
Property cvs2svn:cvs-rev
changed from
1.1to1.1.1.2
r1390 r1391 2018 2018 version_type=osf 2019 2019 need_version=no 2020 soname_spec='${libname}${release}.so '2021 library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so'2020 soname_spec='${libname}${release}.so$major' 2021 library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' 2022 2022 shlibpath_var=LD_LIBRARY_PATH 2023 2023 # this will be overridden with pass_all, but let us keep it just in case -
Property cvs2svn:cvs-rev
changed from
-
branches/GNU/src/gcc/boehm-gc/ltmain.sh
-
Property cvs2svn:cvs-rev
changed from
1.1to1.1.1.2
r1390 r1391 1716 1716 1717 1717 osf) 1718 major= `expr $current - $age`1718 major=.`expr $current - $age` 1719 1719 versuffix=".$current.$age.$revision" 1720 1720 verstring="$current.$age.$revision" -
Property cvs2svn:cvs-rev
changed from
-
branches/GNU/src/gcc/boehm-gc/mach_dep.c
-
Property cvs2svn:cvs-rev
changed from
1.1to1.1.1.2
r1390 r1391 81 81 register long TMP_SP; /* must be bound to r11 */ 82 82 # endif 83 84 # if defined(MIPS) && defined(LINUX)85 /* I'm not sure whether this has actually been tested. */86 # define call_push(x) asm("move $4," x ";"); asm("jal GC_push_one")87 call_push("$2");88 call_push("$3");89 call_push("$16");90 call_push("$17");91 call_push("$18");92 call_push("$19");93 call_push("$20");94 call_push("$21");95 call_push("$22");96 call_push("$23");97 call_push("$30");98 # undef call_push99 # endif /* MIPS && LINUX */100 83 101 84 # ifdef VAX -
Property cvs2svn:cvs-rev
changed from
-
branches/GNU/src/gcc/boehm-gc/mark_rts.c
-
Property cvs2svn:cvs-rev
changed from
1.1to1.1.1.2
r1390 r1391 507 507 #endif 508 508 509 void GC_cond_register_dynamic_libraries() 510 { 511 # if (defined(DYNAMIC_LOADING) || defined(MSWIN32) || defined(MSWINCE) \ 512 || defined(PCR)) && !defined(SRC_M3) 513 GC_remove_tmp_roots(); 514 if (!GC_no_dls) GC_register_dynamic_libraries(); 515 # else 516 GC_no_dls = TRUE; 517 # endif 518 } 519 509 520 /* 510 521 * Call the mark routines (GC_tl_push for a single pointer, GC_push_conditional … … 520 531 ptr_t cold_gc_frame; 521 532 { 522 register int i; 533 int i; 534 int kind; 523 535 524 536 /* … … 526 538 * not robust against mark stack overflow. 527 539 */ 528 /* Reregister dynamic libraries, in case one got added. */529 # if (defined(DYNAMIC_LOADING) || defined(MSWIN32) || defined(MSWINCE) \ 530 || defined(PCR)) && !defined(SRC_M3) 531 GC_remove_tmp_roots();532 if (!GC_no_dls) GC_register_dynamic_libraries();533 # else534 GC_no_dls = TRUE;540 /* Reregister dynamic libraries, in case one got added. */ 541 /* There is some argument for doing this as late as possible, */ 542 /* especially on win32, where it can change asynchronously. */ 543 /* In those cases, we do it here. But on other platforms, it's */ 544 /* not safe with the world stopped, so we do it earlier. */ 545 # if !defined(REGISTER_LIBRARIES_EARLY) 546 GC_cond_register_dynamic_libraries(); 535 547 # endif 536 548 … … 542 554 } 543 555 556 /* Mark all free list header blocks, if those were allocated from */ 557 /* the garbage collected heap. This makes sure they don't */ 558 /* disappear if we are not marking from static data. It also */ 559 /* saves us the trouble of scanning them, and possibly that of */ 560 /* marking the freelists. */ 561 for (kind = 0; kind < GC_n_kinds; kind++) { 562 GC_PTR base = GC_base(GC_obj_kinds[kind].ok_freelist); 563 if (0 != base) { 564 GC_set_mark_bit(base); 565 } 566 } 567 544 568 /* Mark from GC internal roots if those might otherwise have */ 545 569 /* been excluded. */ -
Property cvs2svn:cvs-rev
changed from
-
branches/GNU/src/gcc/boehm-gc/misc.c
-
Property cvs2svn:cvs-rev
changed from
1.1to1.1.1.2
r1390 r1391 74 74 #if defined(NOSYS) || defined(ECOS) 75 75 #undef STACKBASE 76 #endif 77 78 /* Dont unnecessarily call GC_register_main_static_data() in case */ 79 /* dyn_load.c isn't linked in. */ 80 #ifdef DYNAMIC_LOADING 81 # define GC_REGISTER_MAIN_STATIC_DATA() GC_register_main_static_data() 82 #else 83 # define GC_REGISTER_MAIN_STATIC_DATA() TRUE 76 84 #endif 77 85 … … 620 628 /* Add initial guess of root sets. Do this first, since sbrk(0) */ 621 629 /* might be used. */ 622 GC_register_data_segments();630 if (GC_REGISTER_MAIN_STATIC_DATA()) GC_register_data_segments(); 623 631 GC_init_headers(); 624 632 GC_bl_init(); -
Property cvs2svn:cvs-rev
changed from
-
branches/GNU/src/gcc/boehm-gc/os_dep.c
-
Property cvs2svn:cvs-rev
changed from
1.1to1.1.1.2
r1390 r1391 2175 2175 # endif 2176 2176 # ifdef LINUX 2177 # if def I3862177 # if defined(I386) || defined (X86_64) 2178 2178 char * addr = (char *) (sc.cr2); 2179 2179 # else -
Property cvs2svn:cvs-rev
changed from
-
branches/GNU/src/gcc/boehm-gc/win32_threads.c
-
Property cvs2svn:cvs-rev
changed from
1.1to1.1.1.2
r1390 r1391 528 528 LONG WINAPI GC_write_fault_handler(struct _EXCEPTION_POINTERS *exc_info); 529 529 530 #ifdef GC_DLL 531 530 532 /* 531 533 * This isn't generally safe, since DllMain is not premptible. … … 636 638 } 637 639 640 # endif /* GC_DLL */ 641 638 642 # endif /* !MSWINCE */ 639 643 -
Property cvs2svn:cvs-rev
changed from
Note:
See TracChangeset
for help on using the changeset viewer.
