summaryrefslogtreecommitdiff
path: root/cginstructions.c
diff options
context:
space:
mode:
Diffstat (limited to 'cginstructions.c')
-rw-r--r--cginstructions.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/cginstructions.c b/cginstructions.c
index 45dab01..ebbbf8f 100644
--- a/cginstructions.c
+++ b/cginstructions.c
@@ -866,6 +866,11 @@ INSTRUCTION_GRAPH g_load_des_i (LABEL *descriptor_label,int arity)
# ifdef MACH_O64
instruction->instruction_parameters[1].i=(arity<<4)+2;
# else
+# if defined (G_A64) && defined (LINUX)
+ if (pic_flag)
+ instruction->instruction_parameters[1].i=(arity<<4)+2;
+ else
+# endif
instruction->instruction_parameters[1].i=(arity<<3)+2;
# endif
#else