We want to use -fPIC, not -fpic, for libgcc.a and crt{begin,end}S.o, since they may be linked into a shared library with more then 32K of GOT. Apart from libgcc only libiberty and libada are still using _GCC_PICFLAG instead of libtool, so just remove the special case for m68k. Tested on m68k-suse-linux and installed in trunk.
Andreas. config/ * picflag.m4 (m68k-*-*): Use default PIC flag. gcc/ * configure: Regenerate. libada/ * configure: Regenerate. libgcc/ * configure: Regenerate. libiberty/ * configure: Regenerate. diff --git a/config/picflag.m4 b/config/picflag.m4 index 2ee5cd0..3bcdbf1 100644 --- a/config/picflag.m4 +++ b/config/picflag.m4 @@ -50,9 +50,6 @@ case "${$2}" in i[[34567]]86-*-* | x86_64-*-*) $1=-fpic ;; - m68k-*-*) - $1=-fpic - ;; # FIXME: Override -fPIC default in libgcc only? sh-*-linux* | sh[[2346lbe]]*-*-linux*) $1=-fpic -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."