From e66e1c68069bbc63a5bdf1db079c3db248d4fabb Mon Sep 17 00:00:00 2001 From: Daniel Jacobowitz Date: Mon, 14 Nov 2005 16:32:49 +0000 Subject: [PATCH] arm.c (legitimize_tls_address): Use correct rtx for REQ_EQUIV note. * config/arm/arm.c (legitimize_tls_address): Use correct rtx for REQ_EQUIV note. From-SVN: r106892 --- gcc/ChangeLog | 5 +++++ gcc/config/arm/arm.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 96f12b38418..d3b10b04a9f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2005-11-14 Daniel Jacobowitz + + * config/arm/arm.c (legitimize_tls_address): Use correct rtx for + REQ_EQUIV note. + 2005-11-14 Richard Earnshaw * loop-invariant.c: Include tm_p.h. diff --git a/gcc/config/arm/arm.c b/gcc/config/arm/arm.c index 958d8800c21..4702efa2fb5 100644 --- a/gcc/config/arm/arm.c +++ b/gcc/config/arm/arm.c @@ -3870,7 +3870,7 @@ legitimize_tls_address (rtx x, rtx reg) eqv = gen_rtx_UNSPEC (Pmode, gen_rtvec (1, const1_rtx), UNSPEC_TLS); dest = gen_reg_rtx (Pmode); - emit_libcall_block (insns, dest, ret, x); + emit_libcall_block (insns, dest, ret, eqv); /* Load the addend. */ addend = gen_rtx_UNSPEC (Pmode, gen_rtvec (2, x, GEN_INT (TLS_LDO32)),