Initial revision
authorRichard Kenner <kenner@gcc.gnu.org>
Sun, 20 Nov 1994 12:00:14 +0000 (07:00 -0500)
committerRichard Kenner <kenner@gcc.gnu.org>
Sun, 20 Nov 1994 12:00:14 +0000 (07:00 -0500)
From-SVN: r8531

gcc/config/i386/t-crtpic [new file with mode: 0644]
gcc/config/i386/t-crtstuff [new file with mode: 0644]

diff --git a/gcc/config/i386/t-crtpic b/gcc/config/i386/t-crtpic
new file mode 100644 (file)
index 0000000..d8398e3
--- /dev/null
@@ -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 (file)
index 0000000..a202df6
--- /dev/null
@@ -0,0 +1,2 @@
+# The pushl in CTOR initialization interferes with frame pointer elimination.
+CRTSTUFF_T_CFLAGS = -fno-omit-frame-pointer