summaryrefslogtreecommitdiffstats
path: root/make/custom/c4xsim.cfg
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2000-07-26 19:28:11 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2000-07-26 19:28:11 +0000
commitca7858bb8856f1afcc537f39763b7c951e5068d3 (patch)
tree3f01b3bb41ce9b2d7bc16c300391382918758caf /make/custom/c4xsim.cfg
parent17508d02bba1d47f4cf884b190566e72f69adb4e (diff)
downloadrtems-ca7858bb8856f1afcc537f39763b7c951e5068d3.tar.bz2
Port of RTEMS to the Texas Instruments C3x/C4x DSP families including
a BSP (c4xsim) supporting the simulator included with gdb. This port was done by Joel Sherrill and Jennifer Averett of OAR Corporation. Also included with this port is a space/time optimization to eliminate FP context switch management on CPUs without hardware or software FP. An issue with this port was that sizeof(unsigned32) = sizeof(unsigned8) on this CPU. This required addressing alignment checks and assumptions as well as fixing code that assumed sizeof(unsigned32) == 4.
Diffstat (limited to 'make/custom/c4xsim.cfg')
-rw-r--r--make/custom/c4xsim.cfg3
1 files changed, 2 insertions, 1 deletions
diff --git a/make/custom/c4xsim.cfg b/make/custom/c4xsim.cfg
index 6f2c10be50..2fe0f08b1c 100644
--- a/make/custom/c4xsim.cfg
+++ b/make/custom/c4xsim.cfg
@@ -50,7 +50,8 @@ START_BASE=
# will be able to override parts of the compilers specs and link using gcc.
define make-exe
- $(CC) $(CPPFLAGS) $(CFLAGS) -o $(basename $@).exe \
+ $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) \
+ $(LDLIBS) -o $@ \
$(LINK_OBJS) $(LINK_LIBS)
$(NM) -g -n $@ > $(basename $@).num
$(SIZE) $@