mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-22 08:54:44 +08:00
Removed -fomit-frame-pointer from all i386 BSPs since it breaks C++
exceptions and makes debug stack traces impossible.
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user