From 56438155ece9f1d343db202b2570f008dbe8c518 Mon Sep 17 00:00:00 2001 From: Kevin Tew Date: Thu, 29 Sep 2011 14:42:04 -0600 Subject: [PATCH] Start of port to QNX --- include/private/gcconfig.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/include/private/gcconfig.h b/include/private/gcconfig.h index c8e60f3c..3eb01a4b 100644 --- a/include/private/gcconfig.h +++ b/include/private/gcconfig.h @@ -45,6 +45,20 @@ # endif # endif +/* PLTSCHEME: added QNX: */ +/* And one for QNX: */ +# if defined(__QNX__) +# define I386 +# define OS_TYPE "QNX" +# define SA_RESTART 0 +# define HEURISTIC1 + extern char etext[]; +# define DATASTART ((ptr_t)(etext)) + extern int _end[]; +# define DATAEND (_end) +# define mach_type_known +# endif + /* And one for NetBSD: */ # if defined(__NetBSD__) # define NETBSD -- 2.40.0