summaryrefslogtreecommitdiff
path: root/cg.c
diff options
context:
space:
mode:
authorJohn van Groningen2013-06-25 09:40:16 +0000
committerJohn van Groningen2013-06-25 09:40:16 +0000
commit18cd4c7dd6fed30add56eb8300e9246cd8dbafa6 (patch)
tree8639718b05576e2331b640992f959e5662758739 /cg.c
parentuse pc relative addressing for move from or to P_LABEL or lea of P_LABEL on 6... (diff)
add pic_flag for 64 bit linux
Diffstat (limited to 'cg.c')
-rw-r--r--cg.c7
1 files changed, 7 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;