X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=includes%2FRtsConfig.h;h=2f683cb00f73429cd32a6c95adc36eb1b932da7f;hb=9f35f6715879b9e81ffd538c3049e2dd243f807e;hp=c40924a5e73a99162ef743a97f528050aa8fd73b;hpb=8c2549461d624ad5cfec9be3266bdfd016371658;p=ghc-hetmet.git diff --git a/includes/RtsConfig.h b/includes/RtsConfig.h index c40924a..2f683cb 100644 --- a/includes/RtsConfig.h +++ b/includes/RtsConfig.h @@ -24,28 +24,10 @@ /* * Whether the runtime system will use libbfd for debugging purposes. */ -#if defined(DEBUG) && defined(HAVE_BFD_H) && !defined(_WIN32) && !defined(PAR) && !defined(GRAN) +#if defined(DEBUG) && defined(HAVE_BFD_H) && defined(HAVE_LIBBFD) && !defined(_WIN32) && !defined(PAR) && !defined(GRAN) #define USING_LIBBFD 1 #endif -/* Turn lazy blackholing and eager blackholing on/off. - * - * Using eager blackholing makes things easier to debug because - * the blackholes are more predictable - but it's slower and less sexy. - * - * For now, do lazy and not eager. - */ - -/* TICKY_TICKY needs EAGER_BLACKHOLING to verify no double-entries of - * single-entry thunks. - */ -/* #if defined(TICKY_TICKY) || defined(THREADED_RTS) */ -#if defined(TICKY_TICKY) -# define EAGER_BLACKHOLING -#else -# define LAZY_BLACKHOLING -#endif - /* ----------------------------------------------------------------------------- Labels - entry labels & info labels point to the same place in TABLES_NEXT_TO_CODE, so we only generate the _info label. Jumps @@ -77,4 +59,8 @@ #define RTS_USER_SIGNALS 1 #endif +/* Profile spin locks */ + +#define PROF_SPIN + #endif /* RTSCONFIG_H */