summaryrefslogtreecommitdiffstats
path: root/make/custom/psim.cfg
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--make/custom/psim.cfg15
1 files changed, 1 insertions, 14 deletions
diff --git a/make/custom/psim.cfg b/make/custom/psim.cfg
index 29dd21717c..b6b06d4815 100644
--- a/make/custom/psim.cfg
+++ b/make/custom/psim.cfg
@@ -15,7 +15,7 @@ RTEMS_BSP_FAMILY=psim
# This contains the compiler options necessary to select the CPU model
# and (hopefully) optimize for it.
#
-CPU_CFLAGS = -mcpu=603
+CPU_CFLAGS = -mcpu=603 -D_OLD_EXCEPTIONS -Dppc603e
#-ffunction-sections
# optimize flag: typically -0, could use -O4 or -fast
@@ -23,19 +23,6 @@ CPU_CFLAGS = -mcpu=603
# NOTE: some level of -O may be actually required by inline assembler
CFLAGS_OPTIMIZE_V=-O4 -fno-keep-inline-functions
-# The following is a linkcmds file which will work without using the
-# -specs system in gcc 2.8.
-# $(LD) $(XLDFLAGS) -T $(LINKCMDS) \
-# -o $@ -u atexit -u __vectors -u download_entry $(LINK_FILES)
-# $(LD) $(XLDFLAGS) -Ttext 0x20000 \
-# -o $@ -u atexit -u __vectors -u download_entry $(LINK_FILES)
-
-# $(CC) -mmvme -mrtems -nostartfiles -mcpu=603 \
-# -o $(basename $@).exe -L $(PROJECT_RELEASE)/lib \
-# $(START_FILE) $(LINK_OBJS) \
-# $(LD_LIBS) \
-# -Wl,-\( -Wl,-lc -Wl,-lrtemsall -Wl,-lgcc -Wl,-\)
-# -Wl,--gc-sections
define make-exe
$(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $(basename $@).exe \
$(LINK_OBJS) $(LINK_LIBS)