aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1994-11-20 07:00:14 -0500
committerRichard Kenner <kenner@gcc.gnu.org>1994-11-20 07:00:14 -0500
commit6359bc35a921eda86709739754e21bb95d45399d (patch)
treeef529909a317585cc0ef30fe596b57b466c21aba
parent6999b6b25adf6e11fcae14f556dc6955ed6e9110 (diff)
downloadgcc-6359bc35a921eda86709739754e21bb95d45399d.zip
gcc-6359bc35a921eda86709739754e21bb95d45399d.tar.gz
gcc-6359bc35a921eda86709739754e21bb95d45399d.tar.bz2
Initial revision
From-SVN: r8531
-rw-r--r--gcc/config/i386/t-crtpic9
-rw-r--r--gcc/config/i386/t-crtstuff2
2 files changed, 11 insertions, 0 deletions
diff --git a/gcc/config/i386/t-crtpic b/gcc/config/i386/t-crtpic
new file mode 100644
index 0000000..d8398e3
--- /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 0000000..a202df6
--- /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