summaryrefslogtreecommitdiff
path: root/cgaas.c
diff options
context:
space:
mode:
authorJohn van Groningen2013-06-25 10:23:07 +0000
committerJohn van Groningen2013-06-25 10:23:07 +0000
commit49ee38ff3cfb161fb49c2b57216b8aaa1d6dc6fa (patch)
tree103b32ffbedd33112c17015bdd5db2f9f77a7a9e /cgaas.c
parentuse pc relative lea instruction for eval_fill on 64 bit linux (diff)
use pc relative lea instruction for eval_upd_.. on 64 bit linux
Diffstat (limited to 'cgaas.c')
-rw-r--r--cgaas.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/cgaas.c b/cgaas.c
index 17a739e..11fe90c 100644
--- a/cgaas.c
+++ b/cgaas.c
@@ -4887,6 +4887,11 @@ static void write_code (void)
if (n_node_arguments>=0 && block->block_ea_label!=eval_fill_label){
if (!block->block_profile){
+#ifdef LINUX
+ if (pic_flag)
+ as_move_d_r (block->block_ea_label,0,REGISTER_A4);
+ else
+#endif
as_move_l_r (block->block_ea_label,REGISTER_A4);
store_c (0351);