Commit 6f3113ed by Steve Ellcey Committed by Steve Ellcey

* config/ia64/ia64.c (ia64_output_dwarf_dtprel): Support ILP32 mode.

From-SVN: r102031
parent 3fefd019
2005-07-14 Steve Ellcey <sje@cup.hp.com>
* config/ia64/ia64.c (ia64_output_dwarf_dtprel): Support ILP32 mode.
2005-07-14 Richard Guenther <rguenther@suse.de>
PR middle-end/22347
......
......@@ -4267,8 +4267,11 @@ ia64_function_value (tree valtype, tree func ATTRIBUTE_UNUSED)
static void
ia64_output_dwarf_dtprel (FILE *file, int size, rtx x)
{
gcc_assert (size == 8);
fputs ("\tdata8.ua\t@dtprel(", file);
gcc_assert (size == 4 || size == 8);
if (size == 4)
fputs ("\tdata4.ua\t@dtprel(", file);
else
fputs ("\tdata8.ua\t@dtprel(", file);
output_addr_const (file, x);
fputs (")", file);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment