summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2002-01-06 20:09:43 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2002-01-06 20:09:43 +0000
commit88f60e26a802e26429558e6e1190465778ed827f (patch)
tree823447c65718b3178bd545ad1efe9899fdcac932
parent3f345bf88c275399a561d60f7764fcd2fdc0c0a1 (diff)
downloadrtems-88f60e26a802e26429558e6e1190465778ed827f.tar.bz2
2002-02-05 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* custom/genmongoosev.cfg: Remove -g from CPU_CFLAGS. * custom/h8sim.cfg: Remove -g from CPU_CFLAGS. Remove GCC272 support. * custom/jmr3904.cfg: Remove -g from CPU_CFLAGS. Remove GCC272.
-rw-r--r--c/src/make/compilers/gcc-target-default.cfg3
-rw-r--r--make/ChangeLog7
-rw-r--r--make/compilers/gcc-no_bsp.cfg3
-rw-r--r--make/compilers/gcc-target-default.cfg3
-rw-r--r--make/custom/genmongoosev.cfg2
-rw-r--r--make/custom/h8sim.cfg13
-rw-r--r--make/custom/jmr3904.cfg13
7 files changed, 16 insertions, 28 deletions
diff --git a/c/src/make/compilers/gcc-target-default.cfg b/c/src/make/compilers/gcc-target-default.cfg
index 428bbfafa2..0af22d82d2 100644
--- a/c/src/make/compilers/gcc-target-default.cfg
+++ b/c/src/make/compilers/gcc-target-default.cfg
@@ -269,7 +269,8 @@ LINK_FILES =\
$(CONSTRUCTOR) \
$(OBJS) \
$(MANAGERS_NOT_WANTED:%=$(PROJECT_RELEASE)/lib/no-%$(LIB_VARIANT).rel) \
- $(PROJECT_RELEASE)/lib/librtemsall$(LIBSUFFIX_VA)
+ $(PROJECT_RELEASE)/lib/librtemsbsp$(LIBSUFFIX_VA)
+ $(PROJECT_RELEASE)/lib/librtemscpu$(LIBSUFFIX_VA)
ifeq ($(RTEMS_USE_GCC272),yes)
LINK_LIBS = $(PROJECT_RELEASE)/lib/librtemsall$(LIBSUFFIX_VA)
diff --git a/make/ChangeLog b/make/ChangeLog
index 50f5e0b808..eead0a8d9f 100644
--- a/make/ChangeLog
+++ b/make/ChangeLog
@@ -1,3 +1,10 @@
+2002-02-05 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
+
+ * custom/genmongoosev.cfg: Remove -g from CPU_CFLAGS.
+ * custom/h8sim.cfg: Remove -g from CPU_CFLAGS. Remove GCC272
+ support.
+ * custom/jmr3904.cfg: Remove -g from CPU_CFLAGS. Remove GCC272.
+
2001-12-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* custom/Cygwin-posix.cfg: Remove -DMALLOC_PROVIDED.
diff --git a/make/compilers/gcc-no_bsp.cfg b/make/compilers/gcc-no_bsp.cfg
index 8fdcb89f2f..97952f4bdd 100644
--- a/make/compilers/gcc-no_bsp.cfg
+++ b/make/compilers/gcc-no_bsp.cfg
@@ -265,7 +265,8 @@ LINK_FILES= $(START_FILE) \
$(LD_LIBS) \
$(LIBC_EXTRA_LIBS) \
$(PROJECT_RELEASE)/lib/libtest$(LIBSUFFIX_VA) \
- $(PROJECT_RELEASE)/lib/librtemsall$(LIBSUFFIX_VA) \
+ $(PROJECT_RELEASE)/lib/librtemsbsp$(LIBSUFFIX_VA) \
+ $(PROJECT_RELEASE)/lib/librtemscpu$(LIBSUFFIX_VA) \
$(LIBC_LIBM) $(LIBC_LIBC) $(LIBGCC)
# Here is the rule to actually build a $(ARCH)/foo.exe
diff --git a/make/compilers/gcc-target-default.cfg b/make/compilers/gcc-target-default.cfg
index 428bbfafa2..0af22d82d2 100644
--- a/make/compilers/gcc-target-default.cfg
+++ b/make/compilers/gcc-target-default.cfg
@@ -269,7 +269,8 @@ LINK_FILES =\
$(CONSTRUCTOR) \
$(OBJS) \
$(MANAGERS_NOT_WANTED:%=$(PROJECT_RELEASE)/lib/no-%$(LIB_VARIANT).rel) \
- $(PROJECT_RELEASE)/lib/librtemsall$(LIBSUFFIX_VA)
+ $(PROJECT_RELEASE)/lib/librtemsbsp$(LIBSUFFIX_VA)
+ $(PROJECT_RELEASE)/lib/librtemscpu$(LIBSUFFIX_VA)
ifeq ($(RTEMS_USE_GCC272),yes)
LINK_LIBS = $(PROJECT_RELEASE)/lib/librtemsall$(LIBSUFFIX_VA)
diff --git a/make/custom/genmongoosev.cfg b/make/custom/genmongoosev.cfg
index e2a3af50ed..d1d863458d 100644
--- a/make/custom/genmongoosev.cfg
+++ b/make/custom/genmongoosev.cfg
@@ -15,7 +15,7 @@ RTEMS_BSP_FAMILY=genmongoosev
# This contains the compiler options necessary to select the CPU model
# and (hopefully) optimize for it.
#
-CPU_CFLAGS=-mips1 -g -G0
+CPU_CFLAGS=-mips1 -G0
# optimize flag: typically -0, could use -O4 or -fast
# -O4 is ok for RTEMS
diff --git a/make/custom/h8sim.cfg b/make/custom/h8sim.cfg
index 5c4ecc199f..70591d9a7c 100644
--- a/make/custom/h8sim.cfg
+++ b/make/custom/h8sim.cfg
@@ -20,22 +20,12 @@ CPU_CFLAGS=-mh -mint32
# optimize flag: typically -0, could use -O4 or -fast
# -O4 is ok for RTEMS
# CFLAGS_OPTIMIZE_V=-O4 -mleaf-procedures
-CFLAGS_OPTIMIZE_V=-O0 -g
+CFLAGS_OPTIMIZE_V=-O0
# The following are definitions of make-exe which will work using ld as
# is currently required. It is expected that as of gcc 2.8, the end user
# will be able to override parts of the compilers specs and link using gcc.
-ifeq ($(RTEMS_USE_GCC272),yes)
-
-define make-exe
- $(LD) -u _sbrk $(LDFLAGS) -N -T $(LINKCMDS) -o $(basename $@).exe \
- $(START_FILE) $(LINK_OBJS) --start-group $(LINK_LIBS) --end-group
- $(NM) -g -n $(basename $@).exe > $(basename $@).num
- $(SIZE) $(basename $@).exe
-endef
-
-else
define make-exe
$(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) \
$(LDLIBS) -o $@ \
@@ -43,7 +33,6 @@ define make-exe
$(NM) -g -n $@ > $(basename $@).num
$(SIZE) $@
endef
-endif
# Miscellaneous additions go here
diff --git a/make/custom/jmr3904.cfg b/make/custom/jmr3904.cfg
index ee27b2940e..e90328e440 100644
--- a/make/custom/jmr3904.cfg
+++ b/make/custom/jmr3904.cfg
@@ -15,7 +15,7 @@ RTEMS_BSP_FAMILY=jmr3904
# This contains the compiler options necessary to select the CPU model
# and (hopefully) optimize for it.
#
-CPU_CFLAGS=-m3900 -g -G0
+CPU_CFLAGS=-m3900 -G0
# optimize flag: typically -0, could use -O4 or -fast
# -O4 is ok for RTEMS
@@ -25,16 +25,6 @@ CFLAGS_OPTIMIZE_V=-O2 -g
# is currently required. It is expected that as of gcc 2.8, the end user
# will be able to override parts of the compilers specs and link using gcc.
-ifeq ($(RTEMS_USE_GCC272),yes)
-
-define make-exe
- $(LD) -u _sbrk $(LDFLAGS) -N -T $(LINKCMDS) -o $(basename $@).exe \
- $(START_FILE) $(LINK_OBJS) --start-group $(LINK_LIBS) --end-group
- $(NM) -g -n $(basename $@).exe > $(basename $@).num
- $(SIZE) $(basename $@).exe
-endef
-
-else
define make-exe
$(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) \
$(LDLIBS) -o $@ \
@@ -42,7 +32,6 @@ define make-exe
$(NM) -g -n $@ > $(basename $@).num
$(SIZE) $@
endef
-endif
# Miscellaneous additions go here