From 99f04d9d7ef091fcef1d91ea5f3ce572136ece9e Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Thu, 28 Mar 2002 13:51:54 +0000 Subject: 2002-03-26 Ralf Corsepius * custom/cvme961.cfg: Remove GCC272 support. * custom/dmv152.cfg: Remove GCC272 support. * custom/efi332.cfg: Remove GCC272 support. * custom/efi68k.cfg: Remove GCC272 support. * custom/eth_comm.cfg: Remove GCC272 support. * custom/gen405.cfg: Remove GCC272 support. * custom/gen68302.cfg: Remove GCC272 support. * custom/gen68340.cfg: Remove GCC272 support. * custom/gen68360.cfg: Remove GCC272 support. * custom/genmongoosev.cfg: Remove GCC272 support. * custom/helas403.cfg: Remove GCC272 support. * custom/i386ex.cfg: Remove GCC272 support. * custom/i960sim.cfg: Remove GCC272 support. * custom/idp.cfg: Remove GCC272 support. * custom/leon2.cfg: Remove GCC272 support. * custom/mbx8xx.cfg: Remove GCC272 support. * custom/mcf5206elite.cfg: Remove GCC272 support. * custom/mpc8260ads.cfg: Remove GCC272 support. * custom/mrm332.cfg: Remove GCC272 support. * custom/mvme136.cfg: Remove GCC272 support. * custom/mvme147.cfg: Remove GCC272 support. * custom/mvme167.cfg: Remove GCC272 support. * custom/ods68302.cfg: Remove GCC272 support. * custom/p4000.cfg: Remove GCC272 support. * custom/p4600.cfg: Remove GCC272 support. * custom/p4650.cfg: Remove GCC272 support. * custom/pc386.cfg: Remove GCC272 support. * custom/portsw.cfg: Remove GCC272 support. * custom/psim.cfg: Remove GCC272 support. * custom/rxgen960.cfg: Remove GCC272 support. * custom/score603e.cfg: Remove GCC272 support. * custom/sim68000.cfg: Remove GCC272 support. * custom/simhppa.cfg: Remove GCC272 support. * custom/simsh4.cfg: Remove GCC272 support. * custom/ts_386ex.cfg: Remove GCC272 support. --- make/custom/cvme961.cfg | 11 ----------- make/custom/dmv152.cfg | 12 ------------ make/custom/efi332.cfg | 12 ------------ make/custom/efi68k.cfg | 12 ------------ make/custom/eth_comm.cfg | 13 ------------- make/custom/gen405.cfg | 14 -------------- make/custom/gen68302.cfg | 14 -------------- make/custom/gen68340.cfg | 18 ------------------ make/custom/gen68360.cfg | 18 ------------------ make/custom/genmongoosev.cfg | 11 ----------- make/custom/helas403.cfg | 15 --------------- make/custom/i386ex.cfg | 13 ------------- make/custom/i960sim.cfg | 11 ----------- make/custom/idp.cfg | 17 ----------------- make/custom/leon2.cfg | 16 ++-------------- make/custom/mbx8xx.cfg | 15 --------------- make/custom/mcf5206elite.cfg | 19 ------------------- make/custom/mpc8260ads.cfg | 13 ------------- make/custom/mrm332.cfg | 13 ------------- make/custom/mvme136.cfg | 12 ------------ make/custom/mvme147.cfg | 12 ------------ make/custom/mvme167.cfg | 17 ----------------- make/custom/ods68302.cfg | 17 +---------------- make/custom/p4000.cfg | 12 ------------ make/custom/p4600.cfg | 17 ----------------- make/custom/p4650.cfg | 17 ----------------- make/custom/pc386.cfg | 24 ------------------------ make/custom/portsw.cfg | 11 ----------- make/custom/psim.cfg | 8 -------- make/custom/rxgen960.cfg | 7 ------- make/custom/score603e.cfg | 7 ------- make/custom/sim68000.cfg | 6 ------ make/custom/simhppa.cfg | 10 ---------- make/custom/simsh4.cfg | 11 ----------- make/custom/ts_386ex.cfg | 13 ------------- 35 files changed, 3 insertions(+), 465 deletions(-) (limited to 'make/custom') diff --git a/make/custom/cvme961.cfg b/make/custom/cvme961.cfg index 55f40a6de4..9b5a512d2e 100644 --- a/make/custom/cvme961.cfg +++ b/make/custom/cvme961.cfg @@ -29,16 +29,6 @@ CFLAGS_OPTIMIZE_V=-O4 -mleaf-procedures # 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 $@ \ @@ -46,7 +36,6 @@ define make-exe $(NM) -g -n $@ > $(basename $@).num $(SIZE) $@ endef -endif # Miscellaneous additions go here diff --git a/make/custom/dmv152.cfg b/make/custom/dmv152.cfg index c41ec347ba..2c84e7dd5e 100644 --- a/make/custom/dmv152.cfg +++ b/make/custom/dmv152.cfg @@ -31,17 +31,6 @@ CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer # 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) $(LDFLAGS) -N -T $(LINKCMDS) -o $(basename $@).nxe \ - $(START_FILE) $(LINK_OBJS) --start-group $(LINK_LIBS) --end-group - $(OBJCOPY) -O srec $(basename $@).nxe $(basename $@).i - sed -e 's/.$$//' -e '/^S0/d' $(basename $@).i | \ - $(PACKHEX) > $(basename $@).exe - $(NM) -g -n $(basename $@).nxe > $(basename $@).num - $(SIZE) $(basename $@).nxe -endef -else define make-exe $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $(basename $@).nxe \ $(LINK_OBJS) $(LINK_LIBS) @@ -51,6 +40,5 @@ define make-exe $(NM) -g -n $(basename $@).nxe > $(basename $@).num $(SIZE) $(basename $@).nxe endef -endif # Miscellaneous additions go here diff --git a/make/custom/efi332.cfg b/make/custom/efi332.cfg index d70333062e..351d448cc8 100644 --- a/make/custom/efi332.cfg +++ b/make/custom/efi332.cfg @@ -23,17 +23,6 @@ CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer # 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) $(LDFLAGS) -N -T $(LINKCMDS) -o $(basename $@).nxe \ - $(START_FILE) $(LINK_OBJS) --start-group $(LINK_LIBS) --end-group - $(OBJCOPY) -O srec $(basename $@).nxe $(basename $@).i - sed -e 's/.$$//' -e '/^S0/d' $(basename $@).i | \ - $(PACKHEX) > $(basename $@).exe - $(NM) -g -n $(basename $@).nxe > $(basename $@).num - $(SIZE) $(basename $@).nxe -endef -else define make-exe $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $(basename $@).nxe \ $(LINK_OBJS) $(LINK_LIBS) @@ -43,6 +32,5 @@ define make-exe $(NM) -g -n $(basename $@).nxe > $(basename $@).num $(SIZE) $(basename $@).nxe endef -endif # Miscellaneous additions go here diff --git a/make/custom/efi68k.cfg b/make/custom/efi68k.cfg index e3e7830ec0..eca7d998d7 100644 --- a/make/custom/efi68k.cfg +++ b/make/custom/efi68k.cfg @@ -27,17 +27,6 @@ CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer # 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) $(LDFLAGS) -N -T $(LINKCMDS) -o $(basename $@).nxe \ - $(START_FILE) $(LINK_OBJS) --start-group $(LINK_LIBS) --end-group - $(OBJCOPY) -O srec $(basename $@).nxe $(basename $@).i - sed -e 's/.$$//' -e '/^S0/d' $(basename $@).i | \ - $(PACKHEX) > $(basename $@).exe - $(NM) -g -n $(basename $@).nxe > $(basename $@).num - $(SIZE) $(basename $@).nxe -endef -else define make-exe $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $(basename $@).nxe \ $(LINK_OBJS) $(LINK_LIBS) @@ -47,6 +36,5 @@ define make-exe $(NM) -g -n $(basename $@).nxe > $(basename $@).num $(SIZE) $(basename $@).nxe endef -endif # Miscellaneous additions go here diff --git a/make/custom/eth_comm.cfg b/make/custom/eth_comm.cfg index f91edfaa54..f9bc608dd1 100644 --- a/make/custom/eth_comm.cfg +++ b/make/custom/eth_comm.cfg @@ -50,25 +50,12 @@ CFLAGS_OPTIMIZE_V=-O4 -fno-keep-inline-functions # 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) -# The --defsym arguments define arguments which are required by the linkcmds -# file which is designed for gcc 2.8 -define make-exe - $(LD) $(XLDFLAGS) -T $(LINKCMDS) \ - --defsym __fini=0 --defsym __init=0 \ - -o $@ -u atexit -u __vectors -u download_entry \ - $(START_FILE) $(LINK_OBJS) --start-group $(LINK_LIBS) --end-group - $(NM) -g -n $@ > $(basename $@).num - $(SIZE) $@ -endef -else define make-exe $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $(basename $@).exe \ $(LINK_OBJS) $(LINK_LIBS) $(NM) -g -n $@ > $(basename $@).num $(SIZE) $@ endef -endif # Miscellaneous additions go here diff --git a/make/custom/gen405.cfg b/make/custom/gen405.cfg index b0cc6a6de6..cde20fdd02 100644 --- a/make/custom/gen405.cfg +++ b/make/custom/gen405.cfg @@ -37,26 +37,12 @@ START_BASE= # 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) -# The --defsym arguments define arguments which are required by the linkcmds -# file which is designed for gcc 2.8 -define make-exe - $(LD) $(XLDFLAGS) -T $(LINKCMDS) \ - --defsym __fini=0 --defsym __init=0 \ - -o $@ -u atexit -u __vectors -u download_entry \ - $(START_FILE) $(LINK_OBJS) --start-group $(LINK_LIBS) --end-group - $(NM) -g -n $@ > $(basename $@).num - $(SIZE) $@ -endef -else -# $(OBJCOPY) -O srec --srec-len 120 $(basename $@).exe $(basename $@).srec define make-exe $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $(basename $@).exe $(LINK_OBJS) $(LINK_LIBS) $(OBJCOPY) -O srec $(basename $@).exe $(basename $@).srec $(NM) -g -n $@ > $(basename $@).num $(SIZE) $@ endef -endif # $(OBJCOPY) -O srec --srec-len 120 $(basename $@).exe $(basename $@).srec define make-cxx-exe diff --git a/make/custom/gen68302.cfg b/make/custom/gen68302.cfg index 2163f3ca6c..b023bf1629 100644 --- a/make/custom/gen68302.cfg +++ b/make/custom/gen68302.cfg @@ -28,24 +28,10 @@ CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer # 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) - -# override default location of Standard C Library -# LIBC_LIBC=$(RTEMS_LIBC_DIR)/lib/m68000/libc.a -# LIBC_LIBM=$(RTEMS_LIBC_DIR)/lib/m68000/libm.a - -define make-exe - $(LD) $(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) -o $@ \ $(LINK_OBJS) $(LINK_LIBS) $(NM) -g -n $@ > $(basename $@).num $(SIZE) $@ endef -endif # Miscellaneous additions go here diff --git a/make/custom/gen68340.cfg b/make/custom/gen68340.cfg index 6c21000ccb..4bf17811f3 100644 --- a/make/custom/gen68340.cfg +++ b/make/custom/gen68340.cfg @@ -23,23 +23,6 @@ CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer # 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) - -# override default location of Standard C Library -# LIBC_LIBC=$(RTEMS_LIBC_DIR)/lib/m68000/msoft-float/libc.a -# LIBC_LIBM=$(RTEMS_LIBC_DIR)/lib/m68000/msoft-float/libm.a - -define make-exe - @ echo - @ echo "WARNING: newlib may use bit test instructions!!" - @ echo - $(LD) $(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) \ -o $@ $(LINK_OBJS) $(LINK_LIBS) @@ -60,6 +43,5 @@ endef # if you want to convert it to ieee # m68k-rtems-objcopy --output-target=ieee --debugging \ # $(basename $@).exe $(basename $@).ieee -endif # Miscellaneous additions go here diff --git a/make/custom/gen68360.cfg b/make/custom/gen68360.cfg index bb2d6c773b..ccd102040e 100644 --- a/make/custom/gen68360.cfg +++ b/make/custom/gen68360.cfg @@ -45,29 +45,11 @@ endif # 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) - -# override default location of Standard C Library -# LIBC_LIBC=$(RTEMS_LIBC_DIR)/lib/m68000/msoft-float/libc.a -# LIBC_LIBM=$(RTEMS_LIBC_DIR)/lib/m68000/msoft-float/libm.a - -define make-exe - @ echo - @ echo "WARNING: newlib may use bit test instructions!!" - @ echo - $(LD) $(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) -o $@ \ $(LINK_OBJS) $(LINK_LIBS) $(NM) -g -n $@ > $(basename $@).num $(SIZE) $@ endef -endif # Miscellaneous additions go here diff --git a/make/custom/genmongoosev.cfg b/make/custom/genmongoosev.cfg index d1d863458d..dcafdc0e36 100644 --- a/make/custom/genmongoosev.cfg +++ b/make/custom/genmongoosev.cfg @@ -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 diff --git a/make/custom/helas403.cfg b/make/custom/helas403.cfg index 1ad5cae8ba..5883df2254 100644 --- a/make/custom/helas403.cfg +++ b/make/custom/helas403.cfg @@ -30,20 +30,6 @@ START_BASE= # 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) -# The --defsym arguments define arguments which are required by the linkcmds -# file which is designed for gcc 2.8 -define make-exe - $(LD) $(XLDFLAGS) -T $(LINKCMDS) \ - --defsym __fini=0 --defsym __init=0 \ - -o $@ -u atexit -u __vectors -u download_entry \ - $(START_FILE) $(LINK_OBJS) --start-group $(LINK_LIBS) --end-group - $(OBJCOPY) -O srec $(basename $@).exe $(basename $@).srec - $(NM) -g -n $@ > $(basename $@).num - $(SIZE) $@ -endef -else -# $(OBJCOPY) -O srec --srec-len 120 $(basename $@).exe $(basename $@).srec define make-exe $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $(basename $@).exe \ $(LINK_OBJS) $(LINK_LIBS) @@ -51,7 +37,6 @@ define make-exe $(NM) -g -n $@ > $(basename $@).num $(SIZE) $@ endef -endif # Miscellaneous additions go here diff --git a/make/custom/i386ex.cfg b/make/custom/i386ex.cfg index 385ce1498e..f502b0e08d 100644 --- a/make/custom/i386ex.cfg +++ b/make/custom/i386ex.cfg @@ -34,18 +34,6 @@ CFLAGS_OPTIMIZE_V=-O4 # 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) $(LDFLAGS) -N -T $(LINKCMDS) -o $(basename $@).coff \ - -noinhibit-exec -Map $(basename $@).map \ - $(START_FILE) $(LINK_OBJS) --start-group $(LINK_LIBS) --end-group - $(OBJCOPY) -O srec $(basename $@).coff $(basename $@).i - sed -e 's/.$$//' -e '/^S0/d' $(basename $@).i | \ - $(PACKHEX) > $(basename $@).exe - $(NM) -g -n $(basename $@).coff > $(basename $@).num - $(SIZE) $(basename $@).coff -endef -else define make-exe $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $(basename $@).coff \ $(LINK_OBJS) $(LINK_LIBS) @@ -55,7 +43,6 @@ define make-exe $(NM) -g -n $(basename $@).coff > $(basename $@).num $(SIZE) $(basename $@).coff endef -endif # Miscellaneous additions go here diff --git a/make/custom/i960sim.cfg b/make/custom/i960sim.cfg index dc5baf107c..6f86054081 100644 --- a/make/custom/i960sim.cfg +++ b/make/custom/i960sim.cfg @@ -26,16 +26,6 @@ CFLAGS_OPTIMIZE_V=-O0 -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 $@ \ @@ -43,7 +33,6 @@ define make-exe $(NM) -g -n $@ > $(basename $@).num $(SIZE) $@ endef -endif # Miscellaneous additions go here diff --git a/make/custom/idp.cfg b/make/custom/idp.cfg index 06431c6929..51fab7d742 100644 --- a/make/custom/idp.cfg +++ b/make/custom/idp.cfg @@ -25,22 +25,6 @@ CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer # 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) - -# override default location of Standard C Library -# LIBC_LIBC=$(RTEMS_LIBC_DIR)/lib/msoft-float/libc.a -# LIBC_LIBM=$(RTEMS_LIBC_DIR)/lib/msoft-float/libm.a - -define make-exe - $(LD) $(LDFLAGS) -N -T $(LINKCMDS) -o $(basename $@).nxe \ - $(START_FILE) $(LINK_OBJS) --start-group $(LINK_LIBS) --end-group - $(OBJCOPY) -O srec $(basename $@).nxe $(basename $@).i - sed -e 's/.$$//' -e '/^S0/d' $(basename $@).i | \ - $(PACKHEX) > $(basename $@).exe - $(NM) -g -n $(basename $@).nxe > $(basename $@).num - $(SIZE) $(basename $@).nxe -endef -else define make-exe $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $(basename $@).nxe \ $(LINK_OBJS) $(LINK_LIBS) @@ -50,6 +34,5 @@ define make-exe $(NM) -g -n $(basename $@).nxe > $(basename $@).num $(SIZE) $(basename $@).nxe endef -endif # Miscellaneous additions go here diff --git a/make/custom/leon2.cfg b/make/custom/leon2.cfg index 4493bea5c4..ddacffca4d 100644 --- a/make/custom/leon2.cfg +++ b/make/custom/leon2.cfg @@ -19,13 +19,10 @@ RTEMS_BSP_FAMILY=leon # The -mflat avoids the use of save/restore instructions. It has # a negative impact on the performance of RTEMS and should not be used. -ifeq ($(RTEMS_USE_GCC272),yes) -# -mno-v8 says not to use v8 level instructions. i.e. use v7 only -CPU_CFLAGS = -mno-v8 -mcypress $(MSOFT_FLOAT) -else +# This had been used with gcc-2.7.2 +# CPU_CFLAGS = -mno-v8 -mcypress $(MSOFT_FLOAT) # -mcpu=cypress says to optimize for a Cypress 60x chipset CPU_CFLAGS = -mcpu=cypress $(MSOFT_FLOAT) -endif # optimize flag: typically -0, could use -O4 or -fast # -O4 is ok for RTEMS @@ -52,20 +49,11 @@ endef # 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) -o $(basename $@).exe \ $(LINK_OBJS) $(LINK_LIBS) $(NM) -g -n $(basename $@).exe > $(basename $@).num $(SIZE) $(basename $@).exe endef -endif # Miscellaneous additions go here diff --git a/make/custom/mbx8xx.cfg b/make/custom/mbx8xx.cfg index 7220242b05..33b82d206b 100644 --- a/make/custom/mbx8xx.cfg +++ b/make/custom/mbx8xx.cfg @@ -92,20 +92,6 @@ CXXFLAGS_OPTIMIZE_V=-O4 # 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) -# The --defsym arguments define arguments which are required by the linkcmds -# file which is designed for gcc 2.8 -define make-exe - $(LD) $(XLDFLAGS) -T $(LINKCMDS) -o $(basename $@)_sym.exe \ - --defsym __fini=0 --defsym __init=0 \ - -u atexit -u __vectors -u start \ - $(START_FILE) $(LINK_OBJS) --start-group $(LINK_LIBS) --end-group - $(NM) -g -n $(basename $@)_sym.exe> $(basename $@).nm - cp $(basename $@)_sym.exe $(basename $@).exe - $(STRIP) $(basename $@).exe - $(SIZE) $(basename $@)_sym.exe -endef -else define make-exe $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) $(MBX8xx_LDFLAGS) \ -o $(basename $@)_sym.exe $(LINK_OBJS) $(LINK_LIBS) @@ -114,7 +100,6 @@ define make-exe $(STRIP) $(basename $@).exe $(SIZE) $(basename $@)_sym.exe endef -endif # Miscellaneous additions go here diff --git a/make/custom/mcf5206elite.cfg b/make/custom/mcf5206elite.cfg index 19aa0fc620..76a741bbe5 100644 --- a/make/custom/mcf5206elite.cfg +++ b/make/custom/mcf5206elite.cfg @@ -29,30 +29,11 @@ CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer # 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) - -# override default location of Standard C Library -LIBC_LIBC=$(RTEMS_LIBC_DIR)/lib/m68000/msoft-float/libc.a -LIBC_LIBM=$(RTEMS_LIBC_DIR)/lib/m68000/msoft-float/libm.a - -define make-exe - @ echo - @ echo "WARNING: newlib may use bit test instructions!!" - @ echo - $(LD) $(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) -o $@ \ $(LINK_OBJS) $(LINK_LIBS) $(NM) -g -n $@ > $(basename $@).num $(SIZE) $@ endef -endif - # Miscellaneous additions go here diff --git a/make/custom/mpc8260ads.cfg b/make/custom/mpc8260ads.cfg index e7ae754e2f..f0249d866f 100644 --- a/make/custom/mpc8260ads.cfg +++ b/make/custom/mpc8260ads.cfg @@ -48,25 +48,12 @@ CFLAGS_OPTIMIZE_V=-O4 -fno-keep-inline-functions # 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) -# The --defsym arguments define arguments which are required by the linkcmds -# file which is designed for gcc 2.8 -define make-exe - $(LD) $(XLDFLAGS) -T $(LINKCMDS) \ - --defsym __fini=0 --defsym __init=0 \ - -o $@ -u atexit -u __vectors -u download_entry \ - $(START_FILE) $(LINK_OBJS) --start-group $(LINK_LIBS) --end-group - $(NM) -g -n $@ > $(basename $@).num - $(SIZE) $@ -endef -else define make-exe $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $(basename $@).exe \ $(LINK_OBJS) $(LINK_LIBS) $(NM) -g -n $@ > $(basename $@).num $(SIZE) $@ endef -endif # Miscellaneous additions go here diff --git a/make/custom/mrm332.cfg b/make/custom/mrm332.cfg index bc457699e6..a6c1ed5271 100644 --- a/make/custom/mrm332.cfg +++ b/make/custom/mrm332.cfg @@ -23,17 +23,6 @@ CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer # 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) $(LDFLAGS) -N -T $(LINKCMDS) -o $(basename $@).nxe \ - $(START_FILE) $(LINK_OBJS) --start-group $(LINK_LIBS) --end-group - $(OBJCOPY) -O srec $(basename $@).nxe $(basename $@).i - $(SED) -e 's/.$$//' -e '/^S0/d' $(basename $@).i | \ - $(PACKHEX) > $(basename $@).exe - $(NM) -g -n $(basename $@).nxe > $(basename $@).num - $(SIZE) $(basename $@).nxe -endef -else ifeq ($(MRM_IN_ROM),yes) # Build a rommable image - move the .data section after the .text section # in the image. @@ -70,7 +59,5 @@ define make-exe $(SIZE) $(basename $@).nxe endef endif -endif - # Miscellaneous additions go here diff --git a/make/custom/mvme136.cfg b/make/custom/mvme136.cfg index a2e418963e..d62cd19439 100644 --- a/make/custom/mvme136.cfg +++ b/make/custom/mvme136.cfg @@ -31,17 +31,6 @@ endef # 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) $(LDFLAGS) -N -T $(LINKCMDS) -o $(basename $@).nxe \ - $(START_FILE) $(LINK_OBJS) --start-group $(LINK_LIBS) --end-group - $(OBJCOPY) -O srec $(basename $@).nxe $(basename $@).i - sed -e 's/.$$//' -e '/^S0/d' $(basename $@).i | \ - $(PACKHEX) > $(basename $@).exe - $(NM) -g -n $(basename $@).nxe > $(basename $@).num - $(SIZE) $(basename $@).nxe -endef -else define make-exe $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $(basename $@).nxe \ $(LINK_OBJS) $(LINK_LIBS) @@ -51,6 +40,5 @@ define make-exe $(NM) -g -n $(basename $@).nxe > $(basename $@).num $(SIZE) $(basename $@).nxe endef -endif # Miscellaneous additions go here diff --git a/make/custom/mvme147.cfg b/make/custom/mvme147.cfg index 931a08ff79..fe4f5314b1 100644 --- a/make/custom/mvme147.cfg +++ b/make/custom/mvme147.cfg @@ -23,17 +23,6 @@ CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer # 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) $(LDFLAGS) -N -T $(LINKCMDS) -o $(basename $@).nxe \ - $(START_FILE) $(LINK_OBJS) --start-group $(LINK_LIBS) --end-group - $(OBJCOPY) -O srec $(basename $@).nxe $(basename $@).i - sed -e 's/.$$//' -e '/^S0/d' $(basename $@).i | \ - $(PACKHEX) > $(basename $@).exe - $(NM) -g -n $(basename $@).nxe > $(basename $@).num - $(SIZE) $(basename $@).nxe -endef -else define make-exe $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $(basename $@).nxe \ $(LINK_OBJS) $(LINK_LIBS) @@ -43,6 +32,5 @@ define make-exe $(NM) -g -n $(basename $@).nxe > $(basename $@).num $(SIZE) $(basename $@).nxe endef -endif # Miscellaneous additions go here diff --git a/make/custom/mvme167.cfg b/make/custom/mvme167.cfg index f82dee1bd6..224150e6aa 100644 --- a/make/custom/mvme167.cfg +++ b/make/custom/mvme167.cfg @@ -59,8 +59,6 @@ CFLAGS_OPTIMIZE_V=-O4 -fno-omit-frame-pointer # 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) - # The MC68040 does not implement all MC68881/MC68882 instructions, so use # either the gcc floating-point software support (msoft-float libraries), or # use the Motorola FPSP floating-point emulator in @@ -71,20 +69,6 @@ ifeq ($(RTEMS_USE_GCC272),yes) # in rtems/c/src/lib/libbsp/m68k/mvme167/startup/bststart.c in bsp_start(). # Floating-point support will then be limited. See the mvme167 README file # for more details. - -# LIBC_LIBC = $(RTEMS_LIBC_DIR)/lib/msoft-float/libc.a -# LIBC_LIBM = $(RTEMS_LIBC_DIR)/lib/msoft-float/libm.a -# LIBGCC = $(shell $(CC) -msoft-float -print-libgcc-file-name) - -define make-exe - $(LD) $(LDFLAGS) -N -T $(LINKCMDS) -o $(basename $@)_sym.exe \ - $(START_FILE) $(LINK_OBJS) --start-group $(LINK_LIBS) --end-group - $(NM) -g -n $(basename $@)_sym.exe > $(basename $@).nm - cp $(basename $@)_sym.exe $(basename $@).exe - $(STRIP) $(basename $@).exe - $(SIZE) $(basename $@)_sym.exe -endef -else define make-exe $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $(basename $@)_sym.exe \ $(LINK_OBJS) $(LINK_LIBS) @@ -93,6 +77,5 @@ define make-exe $(STRIP) $(basename $@).exe $(SIZE) $(basename $@)_sym.exe endef -endif # Miscellaneous additions go here diff --git a/make/custom/ods68302.cfg b/make/custom/ods68302.cfg index 4ee821f722..b2e2e2fecc 100644 --- a/make/custom/ods68302.cfg +++ b/make/custom/ods68302.cfg @@ -35,21 +35,6 @@ CFLAGS_DEBUG_V = # 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) - -# override default location of Standard C Library -# LIBC_LIBC=$(RTEMS_LIBC_DIR)/lib/m68000/libc.a -# LIBC_LIBM=$(RTEMS_LIBC_DIR)/lib/m68000/libm.a - -define make-exe - $(LD) $(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) \ -o $@ \ @@ -57,7 +42,7 @@ define make-exe $(NM) -g -n $@ > $(basename $@).num $(SIZE) $@ endef -endif + # Miscellaneous additions go here ifeq ($(RTEMS_DEBUGGER),yes) diff --git a/make/custom/p4000.cfg b/make/custom/p4000.cfg index 1a31aea0bc..b3b64501c5 100644 --- a/make/custom/p4000.cfg +++ b/make/custom/p4000.cfg @@ -26,17 +26,6 @@ CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer # 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 - $(CC) $(LDFLAGS) -nostdlib -o $(basename $@).exe \ - -T$(PROJECT_RELEASE)/lib/linkcmds $(LINK_OBJS) $(LINK_LIBS) $(LD_PATHS:%=-L %) - $(OBJCOPY) -O srec $(basename $@).exe $(basename $@).srec1 - $(PACKHEX) < $(basename $@).srec1 > $(basename $@).srec - $(RM) $(basename $@).srec1 - $(NM) -n $(basename $@).exe > $(basename $@).num - $(SIZE) $(basename $@).exe -endef -else define make-exe $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $(basename $@).exe \ $(LINK_OBJS) $(LINK_LIBS) @@ -46,7 +35,6 @@ define make-exe $(NM) -n $(basename $@).exe > $(basename $@).num $(SIZE) $(basename $@).exe endef -endif # Miscellaneous additions go here diff --git a/make/custom/p4600.cfg b/make/custom/p4600.cfg index 16fb393867..78e5e87844 100644 --- a/make/custom/p4600.cfg +++ b/make/custom/p4600.cfg @@ -30,22 +30,6 @@ CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer # 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) -# This rule was used in 3.6.0 -# $(CC) $(LDFLAGS) -nostdlib -o $(basename $@).exe \ -# -T$(PROJECT_RELEASE)/lib/linkcmds $(LINK_FILES) $(LD_PATHS:%=-L %) - -define make-exe - $(LD) $(LDFLAGS) -N -T $(LINKCMDS) -o $(basename $@).exe \ - $(START_FILE) $(LINK_OBJS) \ - --start-group $(LINK_LIBS) --end-group - $(OBJCOPY) -O srec $(basename $@).exe $(basename $@).srec1 - $(PACKHEX) < $(basename $@).srec1 > $(basename $@).srec - $(RM) $(basename $@).srec1 - $(NM) -n $(basename $@).exe > $(basename $@).num - $(SIZE) $(basename $@).exe -endef -else define make-exe $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) \ -o $@ $(LINK_OBJS) $(LINK_LIBS) @@ -55,7 +39,6 @@ define make-exe $(NM) -n $@ > $(basename $@).num $(SIZE) $@ endef -endif # Miscellaneous additions go here diff --git a/make/custom/p4650.cfg b/make/custom/p4650.cfg index fcdf7d06fa..dc71aeb0c3 100644 --- a/make/custom/p4650.cfg +++ b/make/custom/p4650.cfg @@ -29,22 +29,6 @@ CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer # 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) -# This rule was used in 3.6.0 -# $(CC) $(LDFLAGS) -nostdlib -o $(basename $@).exe \ -# -T$(PROJECT_RELEASE)/lib/linkcmds $(LINK_FILES) $(LD_PATHS:%=-L %) - -define make-exe - $(LD) $(LDFLAGS) -N -T $(LINKCMDS) -o $(basename $@).exe \ - $(START_FILE) $(LINK_OBJS) \ - --start-group $(LINK_LIBS) --end-group $(LD_LIBS) - $(OBJCOPY) -O srec $(basename $@).exe $(basename $@).srec1 - $(PACKHEX) < $(basename $@).srec1 > $(basename $@).srec - $(RM) $(basename $@).srec1 - $(NM) -n $(basename $@).exe > $(basename $@).num - $(SIZE) $(basename $@).exe -endef -else define make-exe $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $(basename $@).exe \ $(LINK_OBJS) $(LINK_LIBS) $(LD_LIBS) @@ -54,6 +38,5 @@ define make-exe $(NM) -n $(basename $@).exe > $(basename $@).num $(SIZE) $(basename $@).exe endef -endif # Miscellaneous additions go here diff --git a/make/custom/pc386.cfg b/make/custom/pc386.cfg index 55ace13a75..90034d29d5 100644 --- a/make/custom/pc386.cfg +++ b/make/custom/pc386.cfg @@ -48,29 +48,6 @@ HEADERADDR=0x00097E00 # 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) -N -T $(LINKCMDS) -Ttext $(RELOCADDR) -e start -nostdlib \ - -o $(basename $@).obj \ - $(START_FILE) $(LINK_OBJS) --start-group $(LINK_LIBS) --end-group - $(OBJCOPY) -O a.out-i386 \ - --remove-section=.rodata \ - --remove-section=.comment \ - --remove-section=.note \ - --strip-unneeded $(basename $@).obj $@ - $(OBJCOPY) -O binary $(basename $@).obj $(basename $@).bin - $(BIN2BOOT) -v $(basename $@).bt $(HEADERADDR)\ - $(START16FILE) $(START16ADDR) 0 $(basename $@).bin $(RELOCADDR) 0 - $(NM) -g -n $(basename $@).obj > $(basename $@).num - $(SIZE) $(basename $@).obj -# test -d ${PROJECT_RELEASE}/BootImgs \ -# || mkdir ${PROJECT_RELEASE}/BootImgs -# cp $(basename $@).bt \ -# ${PROJECT_RELEASE}/BootImgs/$(basename $@)$(LIB_VARIANT).bt -# chmod 755 \ -# ${PROJECT_RELEASE}/BootImgs/$(basename $@)$(LIB_VARIANT).bt -endef -else define make-exe $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -Wl,-Ttext,$(RELOCADDR) \ -o $(basename $@).obj \ @@ -110,7 +87,6 @@ define make-cxx-exe $(NM) -g -n $(basename $@).obj > $(basename $@).num $(SIZE) $(basename $@).obj endef -endif # Miscellaneous additions go here diff --git a/make/custom/portsw.cfg b/make/custom/portsw.cfg index 3ee558c482..f21e84251d 100644 --- a/make/custom/portsw.cfg +++ b/make/custom/portsw.cfg @@ -14,16 +14,6 @@ RTEMS_CPU_MODEL=a29205 # This is the actual bsp directory used during the build process. RTEMS_BSP_FAMILY=portsw -ifeq ($(RTEMS_USE_GCC272),yes) -define make-exe - $(LD) $(LDFLAGS) -N -e _start \ - -T$(PROJECT_RELEASE)/lib/linkcmds\ - -o $(basename $@).exe \ - $(START_FILE) $(LINK_OBJS) --start-group $(LINK_LIBS) --end-group - $(NM) -n $(basename $@).exe > $(basename $@).num - $(SIZE) $(basename $@).exe -endef -else define make-exe $(LINK.c) -Wl,-Map,$(basename $@).map \ $(LDLIBS) -o $@ \ @@ -31,6 +21,5 @@ define make-exe $(NM) -n $@ > $(basename $@).num $(SIZE) $@ endef -endif # Miscellaneous additions go here diff --git a/make/custom/psim.cfg b/make/custom/psim.cfg index 6cc3c01153..29dd21717c 100644 --- a/make/custom/psim.cfg +++ b/make/custom/psim.cfg @@ -35,13 +35,6 @@ CFLAGS_OPTIMIZE_V=-O4 -fno-keep-inline-functions # $(START_FILE) $(LINK_OBJS) \ # $(LD_LIBS) \ # -Wl,-\( -Wl,-lc -Wl,-lrtemsall -Wl,-lgcc -Wl,-\) -ifeq ($(RTEMS_USE_GCC272),yes) -define make-exe - $(CC) $(CFLAGS) -o $(basename $@).exe $(LINK_OBJS) $(LINK_LIBS) - $(NM) -g -n $@ > $(basename $@).num - $(SIZE) $@ -endef -else # -Wl,--gc-sections define make-exe $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $(basename $@).exe \ @@ -49,6 +42,5 @@ define make-exe $(NM) -g -n $@ > $(basename $@).num $(SIZE) $@ endef -endif # Miscellaneous additions go here diff --git a/make/custom/rxgen960.cfg b/make/custom/rxgen960.cfg index d7d16f1a71..11f8a8fc7c 100644 --- a/make/custom/rxgen960.cfg +++ b/make/custom/rxgen960.cfg @@ -30,12 +30,6 @@ CFLAGS_OPTIMIZE_V=-O4 -mleaf-procedures # 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 - @echo "rxgen960 does not support this gcc 2.7.2" - exit 1 -endef -else define make-exe $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $@ \ $(LINK_OBJS) $(LINK_LIBS) @@ -43,7 +37,6 @@ define make-exe $(OBJCOPY) -O binary $@ $(basename $@).bin $(SIZE) $@ endef -endif # Miscellaneous additions go here diff --git a/make/custom/score603e.cfg b/make/custom/score603e.cfg index 0dcc166fe9..6dba71d30e 100644 --- a/make/custom/score603e.cfg +++ b/make/custom/score603e.cfg @@ -35,12 +35,6 @@ CFLAGS_OPTIMIZE_V=-O4 -fno-keep-inline-functions # $(LD) $(XLDFLAGS) -Ttext 0x20000 \ # -o $@ -u atexit -u __vectors -u download_entry $(LINK_FILES) -ifeq ($(RTEMS_USE_GCC272),yes) -define make-exe - @echo gcc 2.7.2 style linking not supported by score603e - @exit 1 -endef -else define make-exe $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) \ -o $(basename $@).elf $(LINK_OBJS) $(LINK_LIBS) @@ -51,7 +45,6 @@ define make-exe $(PACKHEX) >$(basename $@).exe rm -f $(basename $@).s1 endef -endif # Miscellaneous additions go here diff --git a/make/custom/sim68000.cfg b/make/custom/sim68000.cfg index 1d00e89442..58d58f7cc1 100644 --- a/make/custom/sim68000.cfg +++ b/make/custom/sim68000.cfg @@ -24,11 +24,6 @@ CFLAGS_DEBUG_V = # 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 - @echo GCC 2.7.2 and older are not supported -endef -else define make-exe $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) \ -o $(basename $@).nxe $(LINK_OBJS) $(LINK_LIBS) @@ -36,5 +31,4 @@ define make-exe $(NM) -g -n $(basename $@).nxe > $(basename $@).num $(SIZE) $@ endef -endif # Miscellaneous additions go here diff --git a/make/custom/simhppa.cfg b/make/custom/simhppa.cfg index bcbd55aea4..26e87b95dc 100644 --- a/make/custom/simhppa.cfg +++ b/make/custom/simhppa.cfg @@ -78,15 +78,6 @@ GCC_LD_LOC_OPTIONS=-W,l-T -W,ldata -W,l$(DATA_$(NODE)_BASE) \ # 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 - $(LDARGS) $(LD) $(LD_LOC_OPTIONS) $(XLDFLAGS) -a archive \ - -o $@ -u atexit \ - $(START_FILE) $(LINK_OBJS) --start-group $(LINK_LIBS) --end-group - $(NM) -g -n $@ > $(basename $@).num - $(SIZE) $@ -endef -else define make-exe $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) $(GCC_LD_LOC_OPTIONS) \ -o $@ \ @@ -94,7 +85,6 @@ define make-exe $(NM) -g -n $@ > $(basename $@).num $(SIZE) $@ endef -endif # Miscellaneous additions go here diff --git a/make/custom/simsh4.cfg b/make/custom/simsh4.cfg index a9604a63ed..0002a6c948 100644 --- a/make/custom/simsh4.cfg +++ b/make/custom/simsh4.cfg @@ -40,16 +40,6 @@ CFLAGS_OPTIMIZE_V = -O4 # 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) $(LDFLAGS) -N -e _start \ - -T$(PROJECT_RELEASE)/lib/linkcmds\ - -o $(basename $@).exe \ - $(START_FILE) $(LINK_OBJS) --start-group $(LINK_LIBS) --end-group - $(NM) -n $(basename $@).exe > $(basename $@).num - $(SIZE) $(basename $@).exe -endef -else define make-exe $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -Wl,-Map,$(basename $@).map \ $(LDLIBS) -o $@ \ @@ -57,6 +47,5 @@ define make-exe $(NM) -n $@ > $(basename $@).num $(SIZE) $@ endef -endif # Miscellaneous additions go here diff --git a/make/custom/ts_386ex.cfg b/make/custom/ts_386ex.cfg index 1884ebe621..c5f23a816d 100644 --- a/make/custom/ts_386ex.cfg +++ b/make/custom/ts_386ex.cfg @@ -37,18 +37,6 @@ CFLAGS_OPTIMIZE_V= -O4 # 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) $(LDFLAGS) -N -T $(LINKCMDS) -o $(basename $@).coff \ - -noinhibit-exec -Map $(basename $@).map \ - $(START_FILE) $(LINK_OBJS) --start-group $(LINK_LIBS) --end-group - $(OBJCOPY) -O srec $(basename $@).coff $(basename $@).i - sed -e 's/.$$//' -e '/^S0/d' $(basename $@).i | \ - $(PACKHEX) > $(basename $@).exe - $(NM) -g -n $(basename $@).coff > $(basename $@).num - $(SIZE) $(basename $@).coff -endef -else define make-exe $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $(basename $@).elf \ $(LINK_OBJS) $(LINK_LIBS) @@ -56,7 +44,6 @@ define make-exe $(NM) -g -n $(basename $@).elf > $(basename $@).num $(SIZE) $(basename $@).elf endef -endif # Miscellaneous additions go here -- cgit v1.2.3