Commit df59fef7 by Jeffrey A Law Committed by Jeff Law

m68k.c (output_function_prologue): Fix computation of save mask when generating PIC code.


        * m68k.c (output_function_prologue): Fix computation of save mask
        when generating PIC code.

From-SVN: r28119
parent 3cda32a1
Fri Jul 16 01:39:57 1999 Jeffrey A Law (law@cygnus.com)
* m68k.c (output_function_prologue): Fix computation of save mask
when generating PIC code.
Thu Jul 15 15:40:09 1999 Jim Wilson <wilson@cygnus.com>
* tree.c (build_type_attribute_variant): Move current_obstack restore
......
......@@ -358,7 +358,10 @@ output_function_prologue (stream, size)
num_saved_regs--;
}
if (flag_pic && regs_ever_live[PIC_OFFSET_TABLE_REGNUM])
mask |= 1 << PIC_OFFSET_TABLE_REGNUM;
{
mask |= 1 << (15 - PIC_OFFSET_TABLE_REGNUM);
num_saved_regs++;
}
#if NEED_PROBE
#ifdef MOTOROLA
......
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