Message ID | 1454675970-24258-1-git-send-email-krebbel@linux.vnet.ibm.com |
---|---|
State | New |
Headers | show |
diff --git a/gcc/config/s390/s390.c b/gcc/config/s390/s390.c index 3be64de..c8f66c6 100644 --- a/gcc/config/s390/s390.c +++ b/gcc/config/s390/s390.c @@ -12470,7 +12470,7 @@ s390_emit_call (rtx addr_location, rtx tls_call, rtx result_reg, replace the symbol itself with the PLT stub. */ if (flag_pic && !SYMBOL_REF_LOCAL_P (addr_location)) { - if (retaddr_reg != NULL_RTX) + if (TARGET_64BIT || retaddr_reg != NULL_RTX) { addr_location = gen_rtx_UNSPEC (Pmode, gen_rtvec (1, addr_location),