PPC -fpic bug introduced recently

Franz Sirl Franz.Sirl-kernel@lauterbach.com
Sat Oct 2 17:32:00 GMT 1999


Hi,

this change:

Wed Sep  8 14:34:42 1999  Ian Piumarta  <piumarta@prof.inria.fr>
                          Melissa O'Neill  <oneill@cs.sfu.ca>
                          Geoffrey Keating  <geoffk@cygnus.com>

        * config/rs6000/rs6000.c (first_reg_to_save): Don't save fixed or
        call-used registers (call-saved registers must still be contiguous
        and end with r31, of course).

breaks compilation with -fpic (shared libs on Linux/PPC are completely broken
now), cause PIC_OFFSET_TABLE_REGNUM will no longer be saved across calls. Please
revert or correct it.

Franz.


More information about the Gcc-bugs mailing list