Index: gcc/config/rs6000/t-ppccomm =================================================================== RCS file: /cvs/gcc/gcc/gcc/config/rs6000/t-ppccomm,v retrieving revision 1.8.6.2 diff -u -p -r1.8.6.2 t-ppccomm --- t-ppccomm 2001/10/27 18:59:59 1.8.6.2 +++ t-ppccomm 2001/12/01 18:25:58 @@ -101,6 +101,6 @@ $(T)scrt0$(objext): scrt0.c # It is important that crtbegin.o, etc., aren't surprised by stuff in .sdata. CRTSTUFF_T_CFLAGS = -msdata=none -# There is no need to add -fPIC here because crtstuff is multilibbed -# and so automatically gets -fPIC when needed. -CRTSTUFF_T_CFLAGS_S = -msdata=none +# Make sure the shared libgcc is built with -fPIC even for +# --disable-multilib --enable-shared configurations. +CRTSTUFF_T_CFLAGS_S = -fPIC -msdata=none