From 7c67be45de778c72e6db98aa3e8696bf4facc3ad Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Tue, 13 Nov 2001 23:21:34 +0000 Subject: 2001-11-13 Joel Sherrill * custom/helas403.cfg, custom/gen405.cfg: Removed dependency on the --srec-len argument to objcopy only supported in binutils 2.11 or newer. --- make/custom/gen405.cfg | 6 ++++-- make/custom/helas403.cfg | 5 +++-- 2 files changed, 7 insertions(+), 4 deletions(-) (limited to 'make/custom') diff --git a/make/custom/gen405.cfg b/make/custom/gen405.cfg index 5e7c81416b..09d01162f8 100644 --- a/make/custom/gen405.cfg +++ b/make/custom/gen405.cfg @@ -66,17 +66,19 @@ define make-exe $(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 --srec-len 120 $(basename $@).exe $(basename $@).srec + $(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 $(LINK.c) $(AM_CFLAGS) $(AM_CXXFLAGS) $(AM_LDFLAGS) -o $(basename $@).exe $(LINK_OBJS) $(LINK_LIBS) - $(OBJCOPY) -O srec --srec-len 120 $(basename $@).exe $(basename $@).srec + $(OBJCOPY) -O srec $(basename $@).exe $(basename $@).srec $(NM) -g -n $@ > $(basename $@).num $(SIZE) $@ endef diff --git a/make/custom/helas403.cfg b/make/custom/helas403.cfg index e1c4fa93f7..e5fe15ded5 100644 --- a/make/custom/helas403.cfg +++ b/make/custom/helas403.cfg @@ -60,15 +60,16 @@ define make-exe --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 --srec-len 120 $(basename $@).exe $(basename $@).srec + $(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) - $(OBJCOPY) -O srec --srec-len 120 $(basename $@).exe $(basename $@).srec + $(OBJCOPY) -O srec $(basename $@).exe $(basename $@).srec $(NM) -g -n $@ > $(basename $@).num $(SIZE) $@ endef -- cgit v1.2.3