From 6359bc35a921eda86709739754e21bb95d45399d Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Sun, 20 Nov 1994 07:00:14 -0500 Subject: [PATCH] Initial revision From-SVN: r8531 --- gcc/config/i386/t-crtpic | 9 +++++++++ gcc/config/i386/t-crtstuff | 2 ++ 2 files changed, 11 insertions(+) create mode 100644 gcc/config/i386/t-crtpic create mode 100644 gcc/config/i386/t-crtstuff diff --git a/gcc/config/i386/t-crtpic b/gcc/config/i386/t-crtpic new file mode 100644 index 00000000000..d8398e357fd --- /dev/null +++ b/gcc/config/i386/t-crtpic @@ -0,0 +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 +# 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 +# routines in crtstuff.c. + +CRTSTUFF_T_CFLAGS = -fpic -fno-omit-frame-pointer diff --git a/gcc/config/i386/t-crtstuff b/gcc/config/i386/t-crtstuff new file mode 100644 index 00000000000..a202df6653f --- /dev/null +++ b/gcc/config/i386/t-crtstuff @@ -0,0 +1,2 @@ +# The pushl in CTOR initialization interferes with frame pointer elimination. +CRTSTUFF_T_CFLAGS = -fno-omit-frame-pointer -- 2.30.2