Ignore:
Timestamp:
Apr 27, 2004, 8:39:34 PM (22 years ago)
Author:
bird
Message:

GCC v3.3.3 sources.

Location:
branches/GNU/src/gcc
Files:
23 edited

Legend:

Unmodified
Added
Removed
  • branches/GNU/src/gcc

    • Property svn:ignore
      •  

        old new  
        2626configure.vr
        2727configure.vrs
         28dir.info
        2829Makefile
        29 dir.info
        3030lost+found
        3131update.out
  • branches/GNU/src/gcc/boehm-gc/ChangeLog

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.1.1.2
    r1390 r1391  
    1 2003-02-05  Release Manager
    2 
    3         * GCC 3.2.2 Released.
     12004-02-14  Release Manager
     2
     3        * GCC 3.3.3 Released.
     4
     52003-12-21  Roger Sayle  <roger@eyesopen.com>
     6
     7        * configure.host: Backport/synchronize from mainline.
     8
     92003-10-16  Release Manager
     10
     11        * GCC 3.3.2 Released.
     12
     132003-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
     202003-09-09  Alan Modra  <amodra@bigpond.net.au>
     21
     22        * configure: Regenerate.
     23
     242003-08-04  Release Manager
     25
     26        * GCC 3.3.1 Released.
     27
     282003-08-04  Release Manager
     29
     30        * GCC 3.3.1 Released.
     31
     322003-05-13  Release Manager
     33
     34        * GCC 3.3 Released.
     35
     362003-05-13  Release Manager
     37
     38        * GCC 3.3 Released.
     39
     402003-05-13  Release Manager
     41
     42        * GCC 3.3 Released.
     43
     442003-05-13  Release Manager
     45
     46        * GCC 3.3 Released.
     47
     482003-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
     542003-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
     602003-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
     652003-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
     812003-02-20  Alexandre Oliva  <aoliva@redhat.com>
     82
     83        * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
     84        config.status.
     85        * configure: Rebuilt.
     86
     872003-02-11  Andreas Tobler  <a.tobler@schweiz.ch>
     88
     89        * include/private/gcconfig.h: undefine MPROTECT_VDB for MACOSX
    490
    5912003-01-27  Alexandre Oliva  <aoliva@redhat.com>
     
    1096        * Makefile.in, configure: Rebuilt.
    1197
    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>
     982002-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
     1052002-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
     1112002-10-02  Andreas Jaeger  <aj@suse.de>
     112
     113        * include/private/gcconfig.h (HBLKSIZE): Define for x86-64.
     114
     1152002-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
     1202002-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
     1262002-09-24  Jason Thorpe  <thorpej@wasabisystems.com>
     127
     128        * include/private/gcconfig.h: Fix NetBSD/mips parameters.
     129
     1302002-08-23  Adam Megacz <adam@xwt.org>
     131
     132        * win32_threads.cc: Removed extraneous ABORT()
     133
     1342002-09-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
    25135
    26136        * Makefile.am (all-multi): Fix multilib parallel build.
    27137
    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.
     1382002-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
     1452002-07-18  H.J. Lu <hjl@gnu.org>
     146
     147        * mach_dep.c (GC_push_regs): Remove the unused Linux/mips code.
     148
     1492002-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
     1542002-06-28  Hans Boehm <Hans_Boehm@hp.com>
     155            Jonathan Clark
     156
     157        * win32_threads.c (GC_push_all_stacks): Tolerate bad sp.
     158
     1592002-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
     171Sun 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
     1822002-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.
    52187
    531882002-05-08  Alexandre Oliva  <aoliva@redhat.com>
     
    80215
    812162002-04-09  Loren J. Rittle  <ljrittle@acm.org>
    82             Richard Henderson  <rth@redhat.com>
    83217
    84218        * 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
     2212002-04-08  Loren J. Rittle  <ljrittle@acm.org>
     222
     223        * include/private/gcconfig.h (DATAEND): Clarify comment.
    90224
    912252002-04-08  Hans Boehm  <Hans_Boehm@hp.com>
    92        
     226
    93227        * include/private/gc_priv.h (WARN macro): Add "GC warning:" prefix.
    94228        (GC_large_alloc_warn_interval, GC_large_alloc_warn_suppressed):
     
    98232        * misc.c (GC_large_alloc_warn_interval,
    99233        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
    101235        GC_LARGE_ALLOC_WARN_INTERVAL environment variables.
    102236        * doc/README.environment (GC_NO_BLACKLIST_WARNING): Deprecate.
     
    110244        memory hole between the end of the initialized data segment
    111245        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.
    119246
    1202472002-03-30  Krister Walfridsson  <cato@df.lth.se>
     
    135262        Rearrange tse fields.
    136263
    137 2002-03-24  Jeff Sturm  <jsturm@one-point.com>
     2642002-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
     2692002-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
     2752002-03-25  Jeff Sturm  <jsturm@one-point.com>
    138276
    139277        * linux_threads.c (GC_get_nprocs): Close file descriptor.
     278
     2792002-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
     2862002-03-17  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
     287
     288        * Makefile.am: Make a convenience library.
     289        * Makefile.in: Rebuilt.
    140290
    1412912002-03-15  Anthony Green  <green@redhat.com>
     
    156306        * mark.c (GC_mark_some): We no longer use SEH if
    157307        compiling with GCC.
    158        
     308
    1593092002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
    160310
    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
    162312        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.
    168313
    1693142002-02-24  Adam Megacz  <adam@xwt.org>
     
    180325
    181326        * 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
    184329        preprocessor file.
    185330        * mips_sgi_mach_dep.S: Likewise.
     
    228373        * boehm-gc on win32 now automatically detects if it is being built
    229374        as a DLL; see http://gcc.gnu.org/ml/java/2001-12/msg00240.html
    230        
     375
    2313762002-01-25  David Edelsohn  <edelsohn@gnu.org>
    232377
     
    249394
    250395        PR other/3725
    251         * configure.in: Add AC_SUBST(target_alias). 
     396        * configure.in: Add AC_SUBST(target_alias).
    252397        * configure: Regenerated.
    253398
     
    297442        * solaris_threads.c (MAX_ORIG_STACK_SIZE) [I386]: Provide special
    298443        Solaris 2/Intel definition.
    299        
     444
    300445        * configure.in (i?86-*-solaris2.[89]*): Define
    301446        SOLARIS25_PROC_VDB_BUG_FIXED.
     
    482627        * Makefile.in: Rebuilt.
    483628        * 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
    486631        list of signals which are not blocked during suspend in the NO_SIGNALS
    487632        case.
     
    5106552000-09-30  Bryce McKinlay  <bryce@albatross.co.nz>
    511656
    512         * configure.in: Define GC_GCJ_SUPPORT. Define NO_DEBUGGING in 
     657        * configure.in: Define GC_GCJ_SUPPORT. Define NO_DEBUGGING in
    513658        cross-compile configuration only.
    514659        * Makefile.am: Build gcj_mlc.c.
     
    593738        * acinclude.m4: Bump version to 5.0a6.
    594739        * 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
    596741        obsolete files.
    597742        * Makefile.am, Makefile.in: irix_threads.c is now
     
    6257701999-12-19  Anthony Green  <green@cygnus.com>
    626771
    627         * gcconfig.h: Use libgcj hack for Alpha Linux. 
     772        * gcconfig.h: Use libgcj hack for Alpha Linux.
    628773        Undefine MPROTEXT_VDB (from Jeff Sturm).
    629774        * os_dep.c: Remove Alpha Linux hacks.
     
    822967        (LINK): Added libtool invocation.
    823968        (.s.o): use LTCOMPILE.
    824         * configure.in: Call AM_PROG_LIBTOOL. 
     969        * configure.in: Call AM_PROG_LIBTOOL.
    825970        (target_all): Set to libgcjgc.la.
    826971        Mention `.lo' forms of object files.
     
    9061051        * misc.c (GC_write): add eCos support.
    9071052        * os_dep.c (tiny_sbrk): add eCos support.
    908        
     1053
    9091054Thu Dec 10 18:24:34 1998  Warren Levy  <warrenl@cygnus.com>
    9101055
     
    91810631998-11-20  Andrew Haley  <aph@viagra.cygnus.co.uk>
    9191064
    920         * Makefile.am, Makefile.in, configure.host: tx39 build option 
     1065        * Makefile.am, Makefile.in, configure.host: tx39 build option
    9211066        "-G 0" added.
    922        
     1067
    92310681998-11-17  Tom Tromey  <tromey@cygnus.com>
    9241069
     
    11071252        New files.
    11081253        * Makefile.orig: Renamed from Makefile.
    1109 
  • branches/GNU/src/gcc/boehm-gc/acinclude.m4

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.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.
    22#
    33# THIS MATERIAL IS PROVIDED AS IS, WITH ABSOLUTELY NO WARRANTY EXPRESSED
     
    5353
    5454# This works around an automake problem.
    55 mkinstalldirs="`cd $ac_aux_dir && pwd`/mkinstalldirs"
     55mkinstalldirs="`cd $ac_aux_dir && ${PWDCMD-pwd}`/mkinstalldirs"
    5656AC_SUBST(mkinstalldirs)
    5757
  • branches/GNU/src/gcc/boehm-gc/aclocal.m4

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.1.1.2
    r1390 r1391  
    1111dnl PARTICULAR PURPOSE.
    1212
    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.
    1414#
    1515# THIS MATERIAL IS PROVIDED AS IS, WITH ABSOLUTELY NO WARRANTY EXPRESSED
     
    6565
    6666# This works around an automake problem.
    67 mkinstalldirs="`cd $ac_aux_dir && pwd`/mkinstalldirs"
     67mkinstalldirs="`cd $ac_aux_dir && ${PWDCMD-pwd}`/mkinstalldirs"
    6868AC_SUBST(mkinstalldirs)
    6969
  • branches/GNU/src/gcc/boehm-gc/alloc.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.1.1.2
    r1390 r1391  
    307307GC_stop_func stop_func;
    308308{
     309    if (GC_dont_gc) return FALSE;
    309310    if (GC_incremental && GC_collection_in_progress()) {
    310311#   ifdef CONDPRINT
     
    387388    register int i;
    388389   
     390    if (GC_dont_gc) return;
    389391    if (GC_incremental && GC_collection_in_progress()) {
    390392        for (i = GC_deficit; i < GC_RATE*n; i++) {
     
    447449#   endif
    448450       
     451#   if defined(REGISTER_LIBRARIES_EARLY)
     452        GC_cond_register_dynamic_libraries();
     453#   endif
    449454    STOP_WORLD();
    450455#   ifdef PRINTTIMES
  • branches/GNU/src/gcc/boehm-gc/configure

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.1.1.2
    r1390 r1391  
    956956
    957957# This works around an automake problem.
    958 mkinstalldirs="`cd $ac_aux_dir && pwd`/mkinstalldirs"
     958mkinstalldirs="`cd $ac_aux_dir && ${PWDCMD-pwd}`/mkinstalldirs"
    959959
    960960
     
    18941894
    18951895hpux10.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
    18991908  ;;
    19001909
     
    19861995
    19871996echo $ac_n "checking for object suffix""... $ac_c" 1>&6
    1988 echo "configure:1989: checking for object suffix" >&5
     1997echo "configure:1998: checking for object suffix" >&5
    19891998if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then
    19901999  echo $ac_n "(cached) $ac_c" 1>&6
     
    19922001  rm -f conftest*
    19932002echo 'int i = 1;' > conftest.$ac_ext
    1994 if { (eval echo configure:1995: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     2003if { (eval echo configure:2004: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    19952004  for ac_file in conftest.*; do
    19962005    case $ac_file in
     
    20162025  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
    20172026    echo $ac_n "checking for ${ac_tool_prefix}file""... $ac_c" 1>&6
    2018 echo "configure:2019: checking for ${ac_tool_prefix}file" >&5
     2027echo "configure:2028: checking for ${ac_tool_prefix}file" >&5
    20192028if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
    20202029  echo $ac_n "(cached) $ac_c" 1>&6
     
    20782087  if test -n "$ac_tool_prefix"; then
    20792088    echo $ac_n "checking for file""... $ac_c" 1>&6
    2080 echo "configure:2081: checking for file" >&5
     2089echo "configure:2090: checking for file" >&5
    20812090if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
    20822091  echo $ac_n "(cached) $ac_c" 1>&6
     
    21492158set dummy ${ac_tool_prefix}ranlib; ac_word=$2
    21502159echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2151 echo "configure:2152: checking for $ac_word" >&5
     2160echo "configure:2161: checking for $ac_word" >&5
    21522161if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
    21532162  echo $ac_n "(cached) $ac_c" 1>&6
     
    21812190set dummy ranlib; ac_word=$2
    21822191echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2183 echo "configure:2184: checking for $ac_word" >&5
     2192echo "configure:2193: checking for $ac_word" >&5
    21842193if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
    21852194  echo $ac_n "(cached) $ac_c" 1>&6
     
    22162225set dummy ${ac_tool_prefix}strip; ac_word=$2
    22172226echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2218 echo "configure:2219: checking for $ac_word" >&5
     2227echo "configure:2228: checking for $ac_word" >&5
    22192228if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
    22202229  echo $ac_n "(cached) $ac_c" 1>&6
     
    22482257set dummy strip; ac_word=$2
    22492258echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2250 echo "configure:2251: checking for $ac_word" >&5
     2259echo "configure:2260: checking for $ac_word" >&5
    22512260if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
    22522261  echo $ac_n "(cached) $ac_c" 1>&6
     
    23152324*-*-irix6*)
    23162325  # 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
    23192341    case `/usr/bin/file conftest.$ac_objext` in
    23202342    *32-bit*)
     
    23282350      ;;
    23292351    esac
     2352   fi
     2353  fi
     2354  rm -rf conftest*
     2355  ;;
     2356
     2357ia64-*-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
     2373x86_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
    23302411  fi
    23312412  rm -rf conftest*
     
    23372418  CFLAGS="$CFLAGS -belf"
    23382419  echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6
    2339 echo "configure:2340: checking whether the C compiler needs -belf" >&5
     2420echo "configure:2421: checking whether the C compiler needs -belf" >&5
    23402421if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
    23412422  echo $ac_n "(cached) $ac_c" 1>&6
     
    23502431
    23512432     cat > conftest.$ac_ext <<EOF
    2352 #line 2353 "configure"
     2433#line 2434 "configure"
    23532434#include "confdefs.h"
    23542435
     
    23572438; return 0; }
    23582439EOF
    2359 if { (eval echo configure:2360: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2440if { (eval echo configure:2441: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    23602441  rm -rf conftest*
    23612442  lt_cv_cc_needs_belf=yes
     
    23872468
    23882469echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
    2389 echo "configure:2390: checking how to run the C++ preprocessor" >&5
     2470echo "configure:2471: checking how to run the C++ preprocessor" >&5
    23902471if test -z "$CXXCPP"; then
    23912472if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
     
    24002481  CXXCPP="${CXX-g++} -E"
    24012482  cat > conftest.$ac_ext <<EOF
    2402 #line 2403 "configure"
     2483#line 2484 "configure"
    24032484#include "confdefs.h"
    24042485#include <stdlib.h>
    24052486EOF
    24062487ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    2407 { (eval echo configure:2408: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     2488{ (eval echo configure:2489: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    24082489ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    24092490if test -z "$ac_err"; then
     
    25522633
    25532634echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6
    2554 echo "configure:2555: checking whether to enable maintainer-specific portions of Makefiles" >&5
     2635echo "configure:2636: checking whether to enable maintainer-specific portions of Makefiles" >&5
    25552636    # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
    25562637if test "${enable_maintainer_mode+set}" = set; then
     
    25852666
    25862667echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
    2587 echo "configure:2588: checking for executable suffix" >&5
     2668echo "configure:2669: checking for executable suffix" >&5
    25882669if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
    25892670  echo $ac_n "(cached) $ac_c" 1>&6
     
    25952676  echo 'int main () { return 0; }' > conftest.$ac_ext
    25962677  ac_cv_exeext=
    2597   if { (eval echo configure:2598: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
     2678  if { (eval echo configure:2679: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
    25982679    for file in conftest.*; do
    25992680      case $file in
     
    26182699
    26192700echo $ac_n "checking for thread model used by GCC""... $ac_c" 1>&6
    2620 echo "configure:2621: checking for thread model used by GCC" >&5
     2701echo "configure:2702: checking for thread model used by GCC" >&5
    26212702THREADS=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
    26222703if test -z "$THREADS"; then
     
    26472728    THREADLIBS=-lpthread
    26482729    case "$host" in
    2649      x86-*-linux* | ia64-*-linux* | i586-*-linux* | i686-*-linux*)
     2730     x86-*-linux* | ia64-*-linux* | i586-*-linux* | i686-*-linux* | x86_64-*-linux* )
    26502731        cat >> confdefs.h <<\EOF
    26512732#define GC_LINUX_THREADS 1
     
    27382819EOF
    27392820
     2821    if test $enable_shared = yes; then
     2822      cat >> confdefs.h <<\EOF
     2823#define GC_DLL 1
     2824EOF
     2825
     2826    fi
    27402827    ;;
    27412828 decosf1 | irix | mach | os2 | solaris | dce | vxworks)
     
    27492836
    27502837echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
    2751 echo "configure:2752: checking for dlopen in -ldl" >&5
     2838echo "configure:2839: checking for dlopen in -ldl" >&5
    27522839ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
    27532840if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    27572844LIBS="-ldl  $LIBS"
    27582845cat > conftest.$ac_ext <<EOF
    2759 #line 2760 "configure"
     2846#line 2847 "configure"
    27602847#include "confdefs.h"
    27612848/* Override any gcc2 internal prototype to avoid an error.  */
     
    27682855; return 0; }
    27692856EOF
    2770 if { (eval echo configure:2771: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2857if { (eval echo configure:2858: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    27712858  rm -rf conftest*
    27722859  eval "ac_cv_lib_$ac_lib_var=yes"
     
    28562943    machdep="alpha_mach_dep.lo"
    28572944    ;;
    2858  i?86-*-solaris2.[89]*)
     2945 i?86-*-solaris2.[89] | i?86-*-solaris2.1?)
    28592946    cat >> confdefs.h <<\EOF
    28602947#define SOLARIS25_PROC_VDB_BUG_FIXED 1
     
    28762963    machdep="mips_ultrix_mach-dep.lo"
    28772964    ;;
     2965 mips*-*-linux*)
     2966    ;;
    28782967 mips-*-*)
    28792968    machdep="mips_sgi_mach_dep.lo"
     
    28832972
    28842973    ;;
    2885  sparc-sun-solaris2.3*)
     2974 sparc-sun-solaris2.3)
    28862975    machdep="sparc_mach_dep.lo"
    28872976    cat >> confdefs.h <<\EOF
     
    29853074
    29863075      ;;
    2987       x86-*-linux* | i586-*-linux* | i686-*-linux* )
     3076      x86-*-linux* | i586-*-linux* | i686-*-linux* | x86_64-*-linux* )
    29883077        cat >> confdefs.h <<\EOF
    29893078#define MAKE_BACK_GRAPH 1
     
    30853174# Protect against shell expansion while executing Makefile rules.
    30863175# 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
     3176cat > conftest.defs <<\EOF
     3177s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%-D\1=\2%g
     3178s%[     `~#$^&*(){}\\|;'"<>?]%\\&%g
     3179s%\[%\\&%g
     3180s%\]%\\&%g
     3181s%\$%$$%g
     3182EOF
     3183DEFS=`sed -f conftest.defs confdefs.h | tr '\012' ' '`
     3184rm -f conftest.defs
    31153185
    31163186
     
    33453415gc_basedir=${gc_basedir}
    33463416CC="${CC}"
     3417ORIGINAL_LD_FOR_MULTILIBS="${ORIGINAL_LD_FOR_MULTILIBS}"
    33473418DEFS="$DEFS"
    33483419
  • branches/GNU/src/gcc/boehm-gc/configure.host

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.1.1.2
    r1390 r1391  
    1515#   host_cpu            The configuration host CPU
    1616#   target_optspace     --enable-target-optspace ("yes", "no", "")
     17#   GCC                 should be "yes" if using gcc
    1718
    1819# It sets the following shell variables:
    1920#   gc_cflags   Special CFLAGS to use when building
    2021
     22gc_cflags=""
     23
    2124# We should set -fexceptions if we are using gcc and might be used
    2225# 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
     26if test :"$GCC": = :yes: ; then
     27    gc_cflags="${gc_cflags} -fexceptions"
     28else
     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
     38fi
    3139
    3240case "${target_optspace}:${host}" in
     
    4755case "${host}" in
    4856  mips-tx39-*|mipstx39-unknown-*)
    49         boehm_gc_cflags="${boehm_gc_cflags} -G 0"
     57        gc_cflags="${gc_cflags} -G 0"
    5058        ;;
    5159  *)
  • branches/GNU/src/gcc/boehm-gc/configure.in

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.1.1.2
    r1390 r1391  
    7474    THREADLIBS=-lpthread
    7575    case "$host" in
    76      x86-*-linux* | ia64-*-linux* | i586-*-linux* | i686-*-linux*)
     76     x86-*-linux* | ia64-*-linux* | i586-*-linux* | i686-*-linux* | x86_64-*-linux* )
    7777        AC_DEFINE(GC_LINUX_THREADS)
    7878        AC_DEFINE(_REENTRANT)
     
    117117    AC_DEFINE(GC_WIN32_THREADS)
    118118    AC_DEFINE(NO_GETENV)
     119    if test $enable_shared = yes; then
     120      AC_DEFINE(GC_DLL)
     121    fi
    119122    ;;
    120123 decosf1 | irix | mach | os2 | solaris | dce | vxworks)
     
    172175    machdep="alpha_mach_dep.lo"
    173176    ;;
    174  i?86-*-solaris2.[[89]]*)
     177 i?86-*-solaris2.[[89]] | i?86-*-solaris2.1?)
    175178    AC_DEFINE(SOLARIS25_PROC_VDB_BUG_FIXED)
    176179    ;;
     
    183186    machdep="mips_ultrix_mach-dep.lo"
    184187    ;;
     188 mips*-*-linux*)
     189    ;;
    185190 mips-*-*)
    186191    machdep="mips_sgi_mach_dep.lo"
    187192    AC_DEFINE(NO_EXECUTE_PERMISSION)
    188193    ;;
    189  sparc-sun-solaris2.3*)
     194 sparc-sun-solaris2.3)
    190195    machdep="sparc_mach_dep.lo"
    191196    AC_DEFINE(SUNOS53_SHARED_LIB)
     
    258263        AC_DEFINE(MAKE_BACK_GRAPH)
    259264      ;;
    260       x86-*-linux* | i586-*-linux* | i686-*-linux* )
     265      x86-*-linux* | i586-*-linux* | i686-*-linux* | x86_64-*-linux* )
    261266        AC_DEFINE(MAKE_BACK_GRAPH)
    262267        AC_MSG_WARN("Client must not use -fomit-frame-pointer.")
     
    300305gc_basedir=${gc_basedir}
    301306CC="${CC}"
     307ORIGINAL_LD_FOR_MULTILIBS="${ORIGINAL_LD_FOR_MULTILIBS}"
    302308DEFS="$DEFS"
    303309)
  • branches/GNU/src/gcc/boehm-gc/dyn_load.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.1.1.2
    r1390 r1391  
    356356                continue;
    357357            }
    358             if (start <= datastart && end > datastart && maj_dev != 0) {
    359                 /* Main data segment; discard   */
    360                 continue;
    361             }
    362358#           ifdef THREADS
    363359              if (GC_segment_is_thread_stack(start, end)) continue;
     
    385381}
    386382
     383/* We now take care of the main data segment ourselves: */
     384GC_bool GC_register_main_static_data()
     385{
     386  return FALSE;
     387}
     388 
     389# define HAVE_REGISTER_MAIN_STATIC_DATA
    387390//
    388391//  parse_map_entry parses an entry from /proc/self/maps so we can
     
    470473    return -1;
    471474
    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 
    479475  p = info->dlpi_phdr;
    480476  for( i = 0; i < (int)(info->dlpi_phnum); ((i++),(p++)) ) {
     
    492488  }
    493489
     490  * (int *)ptr = 1;     /* Signal that we were called */
    494491  return 0;
    495492}     
     
    501498GC_bool GC_register_dynamic_libraries_dl_iterate_phdr()
    502499{
    503   int tmp = 0;
    504 
    505500  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    }
    507511    return TRUE;
    508512  } else {
     
    510514  }
    511515}
     516
     517/* Do we need to separately register the main static data segment? */
     518GC_bool GC_register_main_static_data()
     519{
     520  return (dl_iterate_phdr == 0);
     521}
     522
     523#define HAVE_REGISTER_MAIN_STATIC_DATA
    512524
    513525# else /* !LINUX || version(glibc) < 2.2.4 */
     
    776788# endif
    777789
    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 */
    779797  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 */
    781804 
     805# define HAVE_REGISTER_MAIN_STATIC_DATA
     806
    782807  void GC_register_dynamic_libraries()
    783808  {
     
    10801105
    10811106#endif /* !PCR */
     1107
    10821108#endif /* !DYNAMIC_LOADING */
     1109
     1110#ifndef HAVE_REGISTER_MAIN_STATIC_DATA
     1111
     1112/* Do we need to separately register the main static data segment? */
     1113GC_bool GC_register_main_static_data()
     1114{
     1115  return TRUE;
     1116}
     1117#endif /* HAVE_REGISTER_MAIN_STATIC_DATA */
     1118
  • branches/GNU/src/gcc/boehm-gc/include/Makefile.am

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.1.1.2
    r1390 r1391  
    11AUTOMAKE_OPTIONS = foreign
    22
    3 include_HEADERS = gc.h gc_backptr.h gc_local_alloc.h \
     3noinst_HEADERS = gc.h gc_backptr.h gc_local_alloc.h \
    44  gc_pthread_redirects.h gc_cpp.h
    55
  • branches/GNU/src/gcc/boehm-gc/include/Makefile.in

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.1.1.2
    r1390 r1391  
    9797AUTOMAKE_OPTIONS = foreign
    9898
    99 include_HEADERS = gc.h gc_backptr.h gc_local_alloc.h \
     99noinst_HEADERS = gc.h gc_backptr.h gc_local_alloc.h \
    100100  gc_pthread_redirects.h gc_cpp.h
    101101
    102102CONFIG_CLEAN_FILES =
    103 HEADERS =  $(include_HEADERS)
     103HEADERS =  $(noinst_HEADERS)
    104104
    105105DIST_COMMON =  Makefile.am Makefile.in
     
    119119          && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
    120120
    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         done
    130 
    131 uninstall-includeHEADERS:
    132         @$(NORMAL_UNINSTALL)
    133         list='$(include_HEADERS)'; for p in $$list; do \
    134           rm -f $(DESTDIR)$(includedir)/$$p; \
    135         done
    136121
    137122tags: TAGS
     
    192177install-exec: install-exec-am
    193178
    194 install-data-am: install-includeHEADERS
     179install-data-am:
    195180install-data: install-data-am
    196181
     
    198183        @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
    199184install: install-am
    200 uninstall-am: uninstall-includeHEADERS
     185uninstall-am:
    201186uninstall: uninstall-am
    202187all-am: Makefile $(HEADERS)
     
    205190        $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
    206191installdirs:
    207         $(mkinstalldirs)  $(DESTDIR)$(includedir)
    208192
    209193
     
    237221maintainer-clean: maintainer-clean-am
    238222
    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 \
     224maintainer-clean-tags distdir info-am info dvi-am dvi check check-am \
     225installcheck-am installcheck install-info-am install-info \
     226install-exec-am install-exec install-data-am install-data install-am \
     227install uninstall-am uninstall all-redirect all-am all installdirs \
     228mostlyclean-generic distclean-generic clean-generic \
     229maintainer-clean-generic clean mostlyclean distclean maintainer-clean
    247230
    248231
  • branches/GNU/src/gcc/boehm-gc/include/private/gc_locks.h

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.1.1.2
    r1390 r1391  
    210210#       define GC_TEST_AND_SET_DEFINED
    211211#    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
    212225#  endif /* __GNUC__ */
    213226#  if (defined(ALPHA) && !defined(__GNUC__))
     
    220233#  endif
    221234#  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)) \
    223240        || !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)
    225242#    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)
    227244#        define GC_clear(addr) __lock_release(addr);
    228245#        define GC_CLEAR_DEFINED
     
    327344#      endif /* 0 */
    328345#     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
    329367#     if !defined(GENERIC_COMPARE_AND_SWAP)
    330368        /* Returns the original value of *addr. */
     
    432470#    define UNSET_LOCK_HOLDER() GC_lock_holder = NO_THREAD
    433471#    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(); }
    435473#    define UNLOCK() GC_clear(&GC_allocate_lock);
    436474     extern VOLATILE GC_bool GC_collecting;
  • branches/GNU/src/gcc/boehm-gc/include/private/gc_priv.h

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.1.1.2
    r1390 r1391  
    4545# endif
    4646
    47 # ifndef GCCONFIG_H
    48 #   include "gcconfig.h"
    49 # endif
    50 
    5147typedef GC_word word;
    5248typedef GC_signed_word signed_word;
     
    6157                        /* exists.                                      */
    6258                       
     59# ifndef GCCONFIG_H
     60#   include "gcconfig.h"
     61# endif
     62
    6363# ifndef HEADERS_H
    6464#   include "gc_hdrs.h"
     
    14631463void GC_register_dynamic_libraries GC_PROTO((void));
    14641464                /* Add dynamic library data sections to the root set. */
     1465
     1466GC_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.                        */
    14651470 
    14661471/* Machine dependent startup routines */
     
    19171922#    endif
    19181923#   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       
    19201929#   endif
    19211930#  endif /* !SIG_SUSPEND */
  • branches/GNU/src/gcc/boehm-gc/include/private/gcconfig.h

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.1.1.2
    r1390 r1391  
    4545
    4646/* Determine the machine type: */
    47 # if defined(__XSCALE__)
     47# if defined(__arm__) || defined(__thumb__)
    4848#    define ARM32
    4949#    if !defined(LINUX)
     
    9696#      define EWS4800
    9797#    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)
    100100#        define ULTRIX
    101101#      else
     
    108108#      endif
    109109#    endif /* !LINUX */
    110 #    if defined(__NetBSD__) && defined(__MIPSEL__)
    111 #      undef ULTRIX
    112 #    endif
    113110#    define mach_type_known
    114111# endif
     
    192189# if defined(LINUX) && (defined(i386) || defined(__i386__))
    193190#    define I386
     191#    define mach_type_known
     192# endif
     193# if defined(LINUX) && defined(__x86_64__)
     194#    define X86_64
    194195#    define mach_type_known
    195196# endif
     
    370371# endif
    371372# if defined(__s390__) && defined(LINUX)
    372 #    define S370
     373#    define S390
    373374#    define mach_type_known
    374375# endif
     
    419420                    /*             S370       ==> 370-like machine      */
    420421                    /*                  running Amdahl UTS4             */
    421                     /*                  or a 390 running LINUX          */
     422                    /*             S390       ==> 390-like machine      */
     423                    /*                  running LINUX                   */
    422424                    /*             ARM32      ==> Intel StrongARM       */
    423425                    /*             IA64       ==> Intel IPF             */
     
    428430                    /*             SH         ==> Hitachi SuperH        */
    429431                    /*                  (LINUX & MSWINCE)               */
     432                    /*             X86_64     ==> AMD x86-64            */
    430433
    431434
     
    667670                                /* This was 2, but that didn't sound right. */
    668671#     define OS_TYPE "LINUX"
    669 #     define HEURISTIC1
    670672#     define DYNAMIC_LOADING
    671 #     undef STACK_GRAN
    672 #     define STACK_GRAN 0x10000000
     673#     define LINUX_STACKBOTTOM
    673674        /* Stack usually starts at 0x80000000 */
    674675#     define LINUX_DATA_START
     
    683684#     define STACKBOTTOM ((ptr_t) 0xc0000000)
    684685#     define DATAEND    /* not needed */
    685 #     define MPROTECT_VDB
     686#     undef MPROTECT_VDB
    686687#     include <unistd.h>
    687688#     define GETPAGESIZE() getpagesize()
     
    820821#     define SVR4
    821822#     ifdef __arch64__
    822 #       define DATASTART (ptr_t)GC_SysVGetDataStart(0x100000, _etext)
    823823        /* libc_stack_end is not set reliably for sparc64 */
    824824#       define STACKBOTTOM ((ptr_t) 0x80000000000)
     825#       define DATASTART (ptr_t)GC_SysVGetDataStart(0x100000, _etext)
    825826#     else
     827#       define LINUX_STACKBOTTOM
    826828#       define DATASTART (ptr_t)GC_SysVGetDataStart(0x10000, _etext)
    827 #       define LINUX_STACKBOTTOM
    828829#     endif
    829830#   endif
     
    11421143      /* needs to be tweaked for workstation class machines.            */
    11431144#     define OS_TYPE "LINUX"
     1145#     define DYNAMIC_LOADING
     1146      extern int _end[];
     1147#     define DATAEND (_end)
    11441148      extern int __data_start[];
    11451149#     define DATASTART ((ptr_t)(__data_start))
    11461150#     define ALIGNMENT 4
    11471151#     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
    11531153#   endif /* Linux */
    11541154#   ifdef EWS4800
     
    12231223#   endif
    12241224#   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"
    12271226#     define ALIGNMENT 4
    1228 #     define OS_TYPE "NETBSD"
    12291227#     define HEURISTIC2
    12301228#     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
    12401234#  endif
    12411235# endif
     
    15291523#       define HEURISTIC2
    15301524#   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
    15311538#   ifdef LINUX
    15321539#       define OS_TYPE "LINUX"
    1533 #       define HEURISTIC1
     1540#       define LINUX_STACKBOTTOM
    15341541#       define DYNAMIC_LOADING
    15351542        extern int __data_start[];
    15361543#       define DATASTART ((ptr_t)(__data_start))
     1544        extern int _end[];
     1545#       define DATAEND (_end)
     1546#       define CACHE_LINE_SIZE 256
     1547#       define GETPAGESIZE() 4096
    15371548#   endif
    15381549# endif
     
    16261637# endif
    16271638
     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
    16281677#ifdef LINUX_DATA_START
    16291678    /* Some Linux distributions arrange to define __data_start.  Some   */
     
    17511800# endif
    17521801
     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
    17531815# ifndef CLEAR_DOUBLE
    17541816#   define CLEAR_DOUBLE(x) \
     
    18191881# define CAN_SAVE_CALL_ARGS
    18201882#endif
    1821 #if defined(I386) && defined(LINUX)
     1883#if (defined(I386) || defined(X86_64)) && defined(LINUX)
    18221884    /* SAVE_CALL_CHAIN is supported if the code is compiled to save     */
    18231885    /* frame pointers by default, i.e. no -fomit-frame-pointer flag.    */
  • branches/GNU/src/gcc/boehm-gc/irix_threads.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.1.1.2
    r1390 r1391  
    520520    thread_gc_id = GC_lookup_thread(thread);
    521521    UNLOCK();
    522     result = REAL_FUNC(pthread_detach)(thread);
     522    result = pthread_detach(thread);
    523523    if (result == 0) {
    524524      LOCK();
     
    600600    si -> arg = arg;
    601601    LOCK();
    602     if (!GC_initialized) GC_init();
     602    if (!GC_is_initialized) GC_init();
    603603    if (NULL == attr) {
    604604        stack = 0;
     
    656656
    657657unsigned 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)
    659659# define GC_LOCK_TAKEN GC_allocate_lock
    660660
  • branches/GNU/src/gcc/boehm-gc/linux_threads.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.1.1.2
    r1390 r1391  
    13621362#   endif
    13631363    start_arg = si -> arg;
     1364#   ifdef DEBUG_THREADS
     1365        GC_printf1("sem_post from 0x%lx\n", my_pthread);
     1366#   endif
    13641367    sem_post(&(si -> registered));      /* Last action on si.   */
    13651368                                        /* OK to deallocate.    */
     
    14301433            if (EINTR != errno) ABORT("sem_wait failed");
    14311434        }
     1435#   ifdef DEBUG_THREADS
     1436        GC_printf1("sem_wait complete from thread 0x%X\n",
     1437                   pthread_self());
     1438#   endif
    14321439        sem_destroy(&(si -> registered));
    14331440        LOCK();
  • branches/GNU/src/gcc/boehm-gc/ltconfig

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.1.1.2
    r1390 r1391  
    20182018  version_type=osf
    20192019  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'
    20222022  shlibpath_var=LD_LIBRARY_PATH
    20232023  # this will be overridden with pass_all, but let us keep it just in case
  • branches/GNU/src/gcc/boehm-gc/ltmain.sh

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.1.1.2
    r1390 r1391  
    17161716
    17171717        osf)
    1718           major=`expr $current - $age`
     1718          major=.`expr $current - $age`
    17191719          versuffix=".$current.$age.$revision"
    17201720          verstring="$current.$age.$revision"
  • branches/GNU/src/gcc/boehm-gc/mach_dep.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.1.1.2
    r1390 r1391  
    8181          register long TMP_SP; /* must be bound to r11 */
    8282#       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_push
    99 #       endif   /* MIPS && LINUX */
    10083
    10184#       ifdef VAX
  • branches/GNU/src/gcc/boehm-gc/mark_rts.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.1.1.2
    r1390 r1391  
    507507#endif
    508508
     509void 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
    509520/*
    510521 * Call the mark routines (GC_tl_push for a single pointer, GC_push_conditional
     
    520531ptr_t cold_gc_frame;
    521532{
    522     register int i;
     533    int i;
     534    int kind;
    523535
    524536    /*
     
    526538     * not robust against mark stack overflow.
    527539     */
    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 #      else
    534          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();
    535547#      endif
    536548
     
    542554       }
    543555
     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       
    544568     /* Mark from GC internal roots if those might otherwise have       */
    545569     /* been excluded.                                                  */
  • branches/GNU/src/gcc/boehm-gc/misc.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.1.1.2
    r1390 r1391  
    7474#if defined(NOSYS) || defined(ECOS)
    7575#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
    7684#endif
    7785
     
    620628    /* Add initial guess of root sets.  Do this first, since sbrk(0)    */
    621629    /* might be used.                                                   */
    622       GC_register_data_segments();
     630      if (GC_REGISTER_MAIN_STATIC_DATA()) GC_register_data_segments();
    623631    GC_init_headers();
    624632    GC_bl_init();
  • branches/GNU/src/gcc/boehm-gc/os_dep.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.1.1.2
    r1390 r1391  
    21752175#   endif
    21762176#   ifdef LINUX
    2177 #     ifdef I386
     2177#     if defined(I386) || defined (X86_64)
    21782178        char * addr = (char *) (sc.cr2);
    21792179#     else
  • branches/GNU/src/gcc/boehm-gc/win32_threads.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.1.1.2
    r1390 r1391  
    528528LONG WINAPI GC_write_fault_handler(struct _EXCEPTION_POINTERS *exc_info);
    529529
     530#ifdef GC_DLL
     531
    530532/*
    531533 * This isn't generally safe, since DllMain is not premptible.
     
    636638}
    637639
     640#   endif /* GC_DLL */
     641
    638642# endif /* !MSWINCE */
    639643
Note: See TracChangeset for help on using the changeset viewer.