diff options
Diffstat (limited to 'bsps/sh/shsim/config/simsh2e.cfg')
-rw-r--r-- | bsps/sh/shsim/config/simsh2e.cfg | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/bsps/sh/shsim/config/simsh2e.cfg b/bsps/sh/shsim/config/simsh2e.cfg new file mode 100644 index 0000000000..ce34d26d78 --- /dev/null +++ b/bsps/sh/shsim/config/simsh2e.cfg @@ -0,0 +1,17 @@ +# +# Config file for the sh simulator in gdb as SH2E +# + +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 = -m2e -ml + +# optimize flag: typically -O2 +CFLAGS_OPTIMIZE_V = -O2 -g +CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections + +LDFLAGS = -Wl,--gc-sections |