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
This commit is contained in:
Ulrich Weigand 2004-11-25 17:28:10 +00:00 committed by Ulrich Weigand
parent 5ae9ba3e45
commit 6aea2f6dfe
2 changed files with 9 additions and 4 deletions

View File

@ -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

View File

@ -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;
}
}