From: Ulrich Weigand Date: Thu, 25 Nov 2004 17:28:10 +0000 (+0000) Subject: s390.c (legitimize_pic_address): Use s390_load_address to load addresses. X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6aea2f6dfeb4c674321733faafd8e71393fa54ba;p=platform%2Fupstream%2Fgcc.git s390.c (legitimize_pic_address): Use s390_load_address to load addresses. * config/s390/s390.c (legitimize_pic_address): Use s390_load_address to load addresses. From-SVN: r91302 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 0f8ebea..586b35a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2004-11-25 Ulrich Weigand + + * config/s390/s390.c (legitimize_pic_address): Use s390_load_address + to load addresses. + 2004-11-25 Mark Mitchell PR c++/18001 diff --git a/gcc/config/s390/s390.c b/gcc/config/s390/s390.c index 54d2b1e..cca3d87 100644 --- a/gcc/config/s390/s390.c +++ b/gcc/config/s390/s390.c @@ -2810,7 +2810,7 @@ legitimize_pic_address (rtx orig, rtx reg) new = gen_rtx_PLUS (Pmode, pic_offset_table_rtx, temp); if (reg != 0) { - emit_move_insn (reg, new); + s390_load_address (reg, new); new = reg; } } @@ -2919,7 +2919,7 @@ legitimize_pic_address (rtx orig, rtx reg) new = gen_rtx_PLUS (Pmode, pic_offset_table_rtx, temp); if (reg != 0) { - emit_move_insn (reg, new); + s390_load_address (reg, new); new = reg; } } @@ -2963,7 +2963,7 @@ legitimize_pic_address (rtx orig, rtx reg) if (reg != 0) { - emit_move_insn (reg, new); + s390_load_address (reg, new); new = reg; } } @@ -2992,7 +2992,7 @@ legitimize_pic_address (rtx orig, rtx reg) new = gen_rtx_PLUS (Pmode, pic_offset_table_rtx, temp); if (reg != 0) { - emit_move_insn (reg, new); + s390_load_address (reg, new); new = reg; } }