summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cg.c7
-rw-r--r--cg.h4
2 files changed, 11 insertions, 0 deletions
diff --git a/cg.c b/cg.c
index 439f53c..80fc090 100644
--- a/cg.c
+++ b/cg.c
@@ -107,6 +107,9 @@ int profile_table_flag;
#ifdef G_POWER
int fmadd_flag=1;
#endif
+#if defined (LINUX) && defined (G_AI64)
+int pic_flag=0;
+#endif
#ifdef USER_INTERFACE
# define print_error(s1) FPrintF (StdError,"%s\n",s1)
@@ -713,6 +716,10 @@ int main (int argc,char **argv)
else if (!strcmp (s,"sse64"))
sse_128=0;
#endif
+#if defined (LINUX) && defined (G_AI64)
+ else if (!strcmp (s,"pic"))
+ pic_flag=1;
+#endif
else if (!strcmp (s,"mc68000")){
mc68000_flag=1;
mc68881_flag=0;
diff --git a/cg.h b/cg.h
index 32ab55d..694fe10 100644
--- a/cg.h
+++ b/cg.h
@@ -34,4 +34,8 @@ extern int profile_table_flag;
extern int fmadd_flag;
#endif
+#if defined (LINUX) && defined (G_AI64)
+extern int pic_flag;
+#endif
+
extern char *this_module_name;