diff options
Diffstat (limited to 'bsps/sh/shsim/config/simsh2.cfg')
-rw-r--r-- | bsps/sh/shsim/config/simsh2.cfg | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/bsps/sh/shsim/config/simsh2.cfg b/bsps/sh/shsim/config/simsh2.cfg new file mode 100644 index 0000000000..cde1fb2fbf --- /dev/null +++ b/bsps/sh/shsim/config/simsh2.cfg @@ -0,0 +1,18 @@ +# +# simsh2.cfg +# +# default configuration for gdb-simulation of Hitachi sh2 processors + +include $(RTEMS_ROOT)/make/custom/default.cfg + +RTEMS_CPU=sh + +# This contains the compiler options necessary to select the CPU model +# and (hopefully) optimize for it. +CPU_CFLAGS = -m2 + +# optimize flag: typically -O2 +CFLAGS_OPTIMIZE_V = -O2 -g +CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections + +LDFLAGS = -Wl,--gc-sections |