diff options
author | Tristan Gingold <tgingold@free.fr> | 2014-01-22 01:55:56 +0100 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2014-01-22 01:55:56 +0100 |
commit | dc7353c95fcd28574dd995cb45144e764c44b924 (patch) | |
tree | 440971623035ebdd476134a9d8eca7f76f8ef01d /translate/grt/config/linux.c | |
parent | 92371d706f42cbee5e72ad706a30202c7468f992 (diff) | |
download | ghdl-dc7353c95fcd28574dd995cb45144e764c44b924.tar.gz ghdl-dc7353c95fcd28574dd995cb45144e764c44b924.tar.bz2 ghdl-dc7353c95fcd28574dd995cb45144e764c44b924.zip |
Add support for FreeBSD x86_64 (From Adam Jensen)
Diffstat (limited to 'translate/grt/config/linux.c')
-rw-r--r-- | translate/grt/config/linux.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/translate/grt/config/linux.c b/translate/grt/config/linux.c index e586e54e9..cd495fed7 100644 --- a/translate/grt/config/linux.c +++ b/translate/grt/config/linux.c @@ -37,6 +37,11 @@ #define EXTEND_STACK 1 #define STACK_SIGNAL SIGSEGV #endif +#ifdef __FreeBSD__ +/* If set, SIGSEGV is caught in order to automatically grow the stacks. */ +#define EXTEND_STACK 1 +#define STACK_SIGNAL SIGSEGV +#endif #ifdef __APPLE__ /* If set, SIGSEGV is caught in order to automatically grow the stacks. */ #define EXTEND_STACK 1 |