summaryrefslogtreecommitdiff
path: root/translate/grt/config
diff options
context:
space:
mode:
authorTristan Gingold2014-01-22 01:55:56 +0100
committerTristan Gingold2014-01-22 01:55:56 +0100
commitdc7353c95fcd28574dd995cb45144e764c44b924 (patch)
tree440971623035ebdd476134a9d8eca7f76f8ef01d /translate/grt/config
parent92371d706f42cbee5e72ad706a30202c7468f992 (diff)
downloadghdl-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')
-rw-r--r--[-rwxr-xr-x]translate/grt/config/clock.c0
-rw-r--r--translate/grt/config/linux.c5
2 files changed, 5 insertions, 0 deletions
diff --git a/translate/grt/config/clock.c b/translate/grt/config/clock.c
index 038ce22..038ce22 100755..100644
--- a/translate/grt/config/clock.c
+++ b/translate/grt/config/clock.c
diff --git a/translate/grt/config/linux.c b/translate/grt/config/linux.c
index e586e54..cd495fe 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