diff options
author | ivmai <ivmai> | 2009-10-19 10:56:20 +0000 |
---|---|---|
committer | Ivan Maidanski <ivmai@mail.ru> | 2011-07-26 21:06:50 +0400 |
commit | f9dc6d51977f86cc5651c95747714cf3ec3a4919 (patch) | |
tree | 8d96a2f1e2c8702cdc3c74109845f5c75ec50d87 /extra | |
parent | 0760205b668cafea34e110e510a77e0712ba12ff (diff) | |
download | bdwgc-f9dc6d51977f86cc5651c95747714cf3ec3a4919.tar.gz |
2009-10-19 Ivan Maidanski <ivmai@mail.ru>
* extra/gc.c: New file.
* Makefile.am (EXTRA_DIST): Add "extra/gc.c".
* configure: Regenerate.
* Makefile.in: Ditto.
Diffstat (limited to 'extra')
-rw-r--r-- | extra/gc.c | 66 |
1 files changed, 66 insertions, 0 deletions
diff --git a/extra/gc.c b/extra/gc.c new file mode 100644 index 00000000..3baa4e51 --- /dev/null +++ b/extra/gc.c @@ -0,0 +1,66 @@ +/* + * Copyright (c) 1994 by Xerox Corporation. All rights reserved. + * Copyright (c) 1996 by Silicon Graphics. All rights reserved. + * Copyright (c) 1998 by Fergus Henderson. All rights reserved. + * Copyright (c) 2000-2009 by Hewlett-Packard Development Company. + * All rights reserved. + * + * THIS MATERIAL IS PROVIDED AS IS, WITH ABSOLUTELY NO WARRANTY EXPRESSED + * OR IMPLIED. ANY USE IS AT YOUR OWN RISK. + * + * Permission is hereby granted to use or copy this program + * for any purpose, provided the above notices are retained on all copies. + * Permission to modify the code and to distribute modified code is granted, + * provided the above notices are retained, and a notice that the code was + * modified is included with the above copyright notice. + */ + +/* This file could be used for the following purposes: */ +/* - get the complete GC as a single link object file (module); */ +/* - enable more compiler optimizations. */ + +/* Tip: to get the highest level of compiler optimizations, the typical */ +/* compiler options (GCC) to use are: */ +/* -O3 -fno-strict-aliasing -march=native -Wall -fprofile-generate/use */ + +/* This file is not well tested (for now). */ + + +/* Small files go first... */ +#include "../backgraph.c" +#include "../blacklst.c" +#include "../checksums.c" +#include "../gcj_mlc.c" +#include "../headers.c" +#include "../malloc.c" +#include "../new_hblk.c" +#include "../obj_map.c" +#include "../ptr_chck.c" +#include "../stubborn.c" + +#include "../allchblk.c" +#include "../alloc.c" +#include "../dbg_mlc.c" +#include "../finalize.c" +#include "../mallocx.c" +#include "../mark.c" +#include "../mark_rts.c" +#include "../reclaim.c" +#include "../typd_mlc.c" + +#include "../misc.c" +#include "../os_dep.c" +#include "../thread_local_alloc.c" + +/* Most platform-specific files go here... */ +#include "../darwin_stop_world.c" +#include "../dyn_load.c" +#include "../gc_dlopen.c" +#include "../mach_dep.c" +#include "../pcr_interface.c" +#include "../pthread_stop_world.c" +#include "../pthread_support.c" +#include "../specific.c" +#include "../win32_threads.c" + +/* real_malloc.c, extra/MacOS.c, extra/msvc_dbg.c are not included. */ |