diff options
| author | uweigand <uweigand@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-11-25 17:28:10 +0000 |
|---|---|---|
| committer | uweigand <uweigand@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-11-25 17:28:10 +0000 |
| commit | 35d04dd3a46bdaec41bf8d154bd3bf2f09410d20 (patch) | |
| tree | bc687dd02223219104e6858f44935d2c280d17d4 | |
| parent | ab6bb71403e003cd006220ed24f340436fc58b4e (diff) | |
| download | ppe42-gcc-35d04dd3a46bdaec41bf8d154bd3bf2f09410d20.tar.gz ppe42-gcc-35d04dd3a46bdaec41bf8d154bd3bf2f09410d20.zip | |
* config/s390/s390.c (legitimize_pic_address): Use s390_load_address
to load addresses.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91302 138bc75d-0d04-0410-961f-82ee72b054a4
| -rw-r--r-- | gcc/ChangeLog | 5 | ||||
| -rw-r--r-- | gcc/config/s390/s390.c | 8 |
2 files changed, 9 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 0f8ebea5cc5..586b35aa2b9 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2004-11-25 Ulrich Weigand <uweigand@de.ibm.com> + + * config/s390/s390.c (legitimize_pic_address): Use s390_load_address + to load addresses. + 2004-11-25 Mark Mitchell <mark@codesourcery.com> PR c++/18001 diff --git a/gcc/config/s390/s390.c b/gcc/config/s390/s390.c index 54d2b1edb10..cca3d87ba8b 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; } } |

