$NetBSD: patch-av,v 1.1 2002/03/14 14:54:55 wiz Exp $ --- ../gcc-2.95.2/gcc/config/sparc/t-netbsd.orig Tue Feb 27 14:37:27 2001 +++ ../gcc-2.95.2/gcc/config/sparc/t-netbsd @@ -0,0 +1,9 @@ +# We have to include libgcc.a also in shared libraries, so +# let's compile the code position independent + +TARGET_LIBGCC2_CFLAGS = -fPIC + +# Same for crtbeginS.o and crtendS.o . All code that goes into a shared +# library has to be PIC + +CRTSTUFF_T_CFLAGS_S = -fPIC