summaryrefslogtreecommitdiffstats
path: root/make/custom/psim.cfg
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2002-04-18 13:07:35 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2002-04-18 13:07:35 +0000
commit8b9f8b8b1d314ab431528e7d78d35012a89caa06 (patch)
treebe5b679325cbcd775453e5c65a3f9f08e053ad12 /make/custom/psim.cfg
parent2001-04-17 Joel Sherrill <joel@OARcorp.com> (diff)
downloadrtems-8b9f8b8b1d314ab431528e7d78d35012a89caa06.tar.bz2
2002-04-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* custom/dmv177.cfg: Add -D_OLD_EXCEPTIONS -Dppc603e to CPU_CFLAGS. Remove obsolete comments. * custom/eth_comm.cfg: Remove make-target-options. Add -Dmpc$(CPU_TYPE) -DPPC_ABI=PPC_ABI_EABI -DPPC_ASM=PPC_ASM_ELF to CPU_CFLAGS. * custom/gen405.cfg: Add -D_OLD_EXCEPTIONS -Dppc405 to CPU_CFLAGS. * custom/helas403.cfg: Add -D_OLD_EXCEPTIONS -Dppc403 to CPU_CFLAGS. * custom/mbx8xx.cfg: Remove make-target-options. Add -Dmpc$(CPU_TYPE) -D$(RTEMS_MBX_MODEL) to CPU_CFLAGS. Remove obsolete comments. * custom/mcp750.cfg: Add -Dmpc750 to CPU_CFLAGS. Remove obsolete comments. * custom/mpc8260ads.cfg: Remove make-target-options. Add -Dmpc8260 -DPPC_ABI=PPC_ABI_EABI -DPPC_ASM=PPC_ASM_ELF to CPU_CFLAGS. * custom/mvme2307.cfg: Add -Dmpc604 to CPU_CFLAGS. Remove obsolete comments. * custom/ppcn_60x.cfg: Add -D_OLD_EXCEPTIONS -Dppc603e to CPU_CFLAGS. Remove obsolete comments. * custom/psim.cfg: Add -D_OLD_EXCEPTIONS -Dppc603e to CPU_CFLAGS. Remove obsolete comments. * custom/score603e.cfg: Add -D_OLD_EXCEPTIONS -Dppc603e to CPU_CFLAGS. Remove obsolete comments.
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)