From: Jason Merrill Date: Mon, 13 Mar 1995 23:11:08 +0000 (+0000) Subject: Use -fPIC instead of -fpic X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a9cd52eb9d9d565fe64b5dd84615e8888a02b18a;p=gcc.git Use -fPIC instead of -fpic From-SVN: r9178 --- diff --git a/gcc/config/i386/t-crtpic b/gcc/config/i386/t-crtpic index d8398e357fd..f5dd073a664 100644 --- a/gcc/config/i386/t-crtpic +++ b/gcc/config/i386/t-crtpic @@ -1,9 +1,9 @@ # The pushl in CTOR initialization interferes with frame pointer elimination. -# We need to use -fpic when we are using gcc to compile the routines in +# We need to use -fPIC when we are using gcc to compile the routines in # crtstuff.c. This is only really needed when we are going to use gcc/g++ # to produce a shared library, but since we don't know ahead of time when -# we will be doing that, we just always use -fpic when compiling the +# we will be doing that, we just always use -fPIC when compiling the # routines in crtstuff.c. -CRTSTUFF_T_CFLAGS = -fpic -fno-omit-frame-pointer +CRTSTUFF_T_CFLAGS = -fPIC -fno-omit-frame-pointer diff --git a/gcc/config/i386/t-sol2 b/gcc/config/i386/t-sol2 index eddad5d535e..f79f6ca05fb 100644 --- a/gcc/config/i386/t-sol2 +++ b/gcc/config/i386/t-sol2 @@ -23,10 +23,10 @@ crtn.o: $(srcdir)/config/i386/sol2-cn.asm sed -e '/^!/d' <$(srcdir)/config/i386/sol2-cn.asm >crtn.s $(AS) -o crtn.o crtn.s -# We need to use -fpic when we are using gcc to compile the routines in +# We need to use -fPIC when we are using gcc to compile the routines in # crtstuff.c. This is only really needed when we are going to use gcc/g++ # to produce a shared library, but since we don't know ahead of time when -# we will be doing that, we just always use -fpic when compiling the +# we will be doing that, we just always use -fPIC when compiling the # routines in crtstuff.c. -CRTSTUFF_T_CFLAGS = -fpic +CRTSTUFF_T_CFLAGS = -fPIC diff --git a/gcc/config/sparc/t-sol2 b/gcc/config/sparc/t-sol2 index cfc588f5706..ccafc00384d 100644 --- a/gcc/config/sparc/t-sol2 +++ b/gcc/config/sparc/t-sol2 @@ -17,14 +17,14 @@ crti.o: $(srcdir)/config/sparc/sol2-ci.asm crtn.o: $(srcdir)/config/sparc/sol2-cn.asm $(AS) -o crtn.o $(srcdir)/config/sparc/sol2-cn.asm -# We need to use -fpic when we are using gcc to compile the routines in +# We need to use -fPIC when we are using gcc to compile the routines in # crtstuff.c. This is only really needed when we are going to use gcc/g++ # to produce a shared library, but since we don't know ahead of time when -# we will be doing that, we just always use -fpic when compiling the +# we will be doing that, we just always use -fPIC when compiling the # routines in crtstuff.c. # Since the GNU assembler doesn't support PIC yet, we need to force gcc to # use the native assembler when building crtstuff. If we're a # cross-compiler, just give up on using PIC. -CRTSTUFF_T_CFLAGS = `if [ -z "$(CROSS)" ]; then echo -fpic -B/usr/ccs/bin/; fi` +CRTSTUFF_T_CFLAGS = `if [ -z "$(CROSS)" ]; then echo -fPIC -B/usr/ccs/bin/; fi` diff --git a/gcc/config/t-svr4 b/gcc/config/t-svr4 index 7b3a64148ae..d4abf488905 100644 --- a/gcc/config/t-svr4 +++ b/gcc/config/t-svr4 @@ -1,7 +1,7 @@ -# We need to use -fpic when we are using gcc to compile the routines in +# We need to use -fPIC when we are using gcc to compile the routines in # crtstuff.c. This is only really needed when we are going to use gcc/g++ # to produce a shared library, but since we don't know ahead of time when -# we will be doing that, we just always use -fpic when compiling the +# we will be doing that, we just always use -fPIC when compiling the # routines in crtstuff.c. -CRTSTUFF_T_CFLAGS = -fpic +CRTSTUFF_T_CFLAGS = -fPIC