2 * Copyright (c) 1994 by Xerox Corporation. All rights reserved.
3 * Copyright (c) 1996 by Silicon Graphics. All rights reserved.
4 * Copyright (c) 1998 by Fergus Henderson. All rights reserved.
5 * Copyright (c) 2000-2009 by Hewlett-Packard Development Company.
8 * THIS MATERIAL IS PROVIDED AS IS, WITH ABSOLUTELY NO WARRANTY EXPRESSED
9 * OR IMPLIED. ANY USE IS AT YOUR OWN RISK.
11 * Permission is hereby granted to use or copy this program
12 * for any purpose, provided the above notices are retained on all copies.
13 * Permission to modify the code and to distribute modified code is granted,
14 * provided the above notices are retained, and a notice that the code was
15 * modified is included with the above copyright notice.
18 /* This file could be used for the following purposes: */
19 /* - get the complete GC as a single link object file (module); */
20 /* - enable more compiler optimizations. */
22 /* Tip: to get the highest level of compiler optimizations, the typical */
23 /* compiler options (GCC) to use are: */
24 /* -O3 -fno-strict-aliasing -march=native -Wall -fprofile-generate/use */
26 /* This file is not well tested (for now). */
29 #define GC_INNER STATIC
30 #define GC_EXTERN GC_INNER
31 /* STATIC is defined in gcconfig.h. */
33 /* Small files go first... */
34 #include "../backgraph.c"
35 #include "../blacklst.c"
36 #include "../checksums.c"
37 #include "../gcj_mlc.c"
38 #include "../headers.c"
39 #include "../malloc.c"
40 #include "../new_hblk.c"
41 #include "../obj_map.c"
42 #include "../ptr_chck.c"
43 #include "../stubborn.c"
45 #include "../allchblk.c"
47 #include "../dbg_mlc.c"
48 #include "../finalize.c"
49 #include "../mallocx.c"
51 #include "../mark_rts.c"
52 #include "../reclaim.c"
53 #include "../typd_mlc.c"
56 #include "../os_dep.c"
57 #include "../thread_local_alloc.c"
59 /* Most platform-specific files go here... */
60 #include "../darwin_stop_world.c"
61 #include "../dyn_load.c"
62 #include "../gc_dlopen.c"
63 #include "../mach_dep.c"
64 #include "../pcr_interface.c"
65 #include "../pthread_stop_world.c"
66 #include "../pthread_support.c"
67 #include "../specific.c"
68 #include "../win32_threads.c"
70 /* real_malloc.c, extra/MacOS.c, extra/msvc_dbg.c are not included. */