diff options
Diffstat (limited to 'translate/grt')
-rw-r--r-- | translate/grt/Makefile.inc | 7 | ||||
-rw-r--r--[-rwxr-xr-x] | translate/grt/config/clock.c | 0 | ||||
-rw-r--r-- | translate/grt/config/linux.c | 5 |
3 files changed, 11 insertions, 1 deletions
diff --git a/translate/grt/Makefile.inc b/translate/grt/Makefile.inc index ef5c260..ec1b0df 100644 --- a/translate/grt/Makefile.inc +++ b/translate/grt/Makefile.inc @@ -56,7 +56,12 @@ endif ifeq ($(filter-out i%86 freebsd%,$(arch) $(osys)),) GRT_TARGET_OBJS=i386.o linux.o times.o GRT_EXTRA_LIB=-lm $(GRT_ELF_OPTS) - ADAC=gnatgcc + ADAC=ada +endif +ifeq ($(filter-out x86_64 freebsd%,$(arch) $(osys)),) + GRT_TARGET_OBJS=amd64.o linux.o times.o + GRT_EXTRA_LIB=-lm $(GRT_ELF_OPTS) + ADAC=ada endif ifeq ($(filter-out i%86 darwin%,$(arch) $(osys)),) GRT_TARGET_OBJS=i386.o linux.o times.o 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 |