summaryrefslogtreecommitdiffstats
path: root/make
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1999-05-14 14:34:39 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1999-05-14 14:34:39 +0000
commit123d4b7dc1c8c78eea2a0b6218983d7e508934f4 (patch)
tree29c6cc1d4146edaa4886ddcafdbc8a82cfe69cbe /make
parentFix based on bug report from Jay Kulpinski <jskulpin@eng01.gdds.com> (diff)
downloadrtems-123d4b7dc1c8c78eea2a0b6218983d7e508934f4.tar.bz2
Removed -fomit-frame-pointer from all i386 BSPs since it breaks C++
exceptions and makes debug stack traces impossible.
Diffstat (limited to 'make')
-rw-r--r--make/custom/force386.cfg3
-rw-r--r--make/custom/go32.cfg3
-rw-r--r--make/custom/i386ex.cfg3
-rw-r--r--make/custom/pc386.cfg3
-rw-r--r--make/custom/ts_386ex.cfg3
5 files changed, 10 insertions, 5 deletions
diff --git a/make/custom/force386.cfg b/make/custom/force386.cfg
index 57c832e2b9..cf01c4cf78 100644
--- a/make/custom/force386.cfg
+++ b/make/custom/force386.cfg
@@ -19,7 +19,8 @@ CPU_CFLAGS =
# optimize flag: typically -0, could use -O4 or -fast
# -O4 is ok for RTEMS
-CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer
+# -fomit-frame-pointer breaks debugging and C++ exceptions
+CFLAGS_OPTIMIZE_V=-O4
# This target does NOT support the TCP/IP stack so ignore requests
# to enable it.
diff --git a/make/custom/go32.cfg b/make/custom/go32.cfg
index a9c4de6617..30a5d6e4e3 100644
--- a/make/custom/go32.cfg
+++ b/make/custom/go32.cfg
@@ -51,7 +51,8 @@ endif # i486dx
# optimize flag: typically -0, could use -O4 or -fast
# -O4 is ok for RTEMS
-CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer
+# -fomit-frame-pointer breaks debugging and C++ exceptions
+CFLAGS_OPTIMIZE_V=-O4
# This target does NOT support the TCP/IP stack so ignore requests
# to enable it.
diff --git a/make/custom/i386ex.cfg b/make/custom/i386ex.cfg
index a3dee793eb..0e9499ad9a 100644
--- a/make/custom/i386ex.cfg
+++ b/make/custom/i386ex.cfg
@@ -19,7 +19,8 @@ CPU_CFLAGS =
# optimize flag: typically -0, could use -O4 or -fast
# -O4 is ok for RTEMS
-CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer
+# -fomit-frame-pointer breaks debugging and C++ exceptions
+CFLAGS_OPTIMIZE_V=-O4
# This BSP does not support librdbg
HAS_RDBG=no
diff --git a/make/custom/pc386.cfg b/make/custom/pc386.cfg
index 8a1b95dcad..a80abe2d2e 100644
--- a/make/custom/pc386.cfg
+++ b/make/custom/pc386.cfg
@@ -19,7 +19,8 @@ CPU_CFLAGS =
# optimize flag: typically -0, could use -O4 or -fast
# -O4 is ok for RTEMS
-CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer
+# -fomit-frame-pointer breaks debugging and C++ exceptions
+CFLAGS_OPTIMIZE_V=-O4
# Define this to yes if this target supports multiprocessor environments.
HAS_MP=no
diff --git a/make/custom/ts_386ex.cfg b/make/custom/ts_386ex.cfg
index e64b72a5d6..ad18e98b2f 100644
--- a/make/custom/ts_386ex.cfg
+++ b/make/custom/ts_386ex.cfg
@@ -20,7 +20,8 @@ CPU_CFLAGS =-msoft-float -mno-fp-ret-in-387
# optimize flag: typically -0, could use -O4 or -fast
# -O4 is ok for RTEMS
-CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer
+# -fomit-frame-pointer breaks debugging and C++ exceptions
+CFLAGS_OPTIMIZE_V=-O4
# This target does support the TCP/IP stack so honour requests
# to enable it.