diff options
author | John van Groningen | 2013-12-03 16:41:32 +0000 |
---|---|---|
committer | John van Groningen | 2013-12-03 16:41:32 +0000 |
commit | 6083fd01b12457472626ce5f28db5e4fcdc71afe (patch) | |
tree | e0c49fe6b5a813967d9d30e0f21fb2bf46adedbf /cgaas.c | |
parent | implement position independent code generation on 64 bit linux (fix __ARRAY__... (diff) |
implement position independent code generation on 64 bit linux (fix code for jsr GOT label)
Diffstat (limited to 'cgaas.c')
-rw-r--r-- | cgaas.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -2569,12 +2569,13 @@ static void as_jsr_instruction (struct instruction *instruction) store_c (0x15); store_l (0); store_pc_rel_got_label_in_code_section (label); + return; } else if (label->label_flags & USE_PLT_LABEL){ store_c (0350); store_l (0); store_pc_rel_got_or_plt_label_in_code_section (label,PLT_PC_RELATIVE_RELOCATION); + return; } - return; } #endif store_c (0350); |