From 49ee38ff3cfb161fb49c2b57216b8aaa1d6dc6fa Mon Sep 17 00:00:00 2001 From: John van Groningen Date: Tue, 25 Jun 2013 10:23:07 +0000 Subject: use pc relative lea instruction for eval_upd_.. on 64 bit linux --- cgaas.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'cgaas.c') 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); -- cgit v1.2.3