Put -m5200 back in link-edit commands until proper versions of gcc (which take

-m528x as an order to load the -m5200 multilib variants) are widely available.
This commit is contained in:
Eric Norum
2005-02-08 20:56:20 +00:00
parent 38595dd116
commit ad0b1f5c6a
2 changed files with 8 additions and 2 deletions

View File

@@ -1,3 +1,9 @@
2005-02-08 Eric Norum <norume@aps.anl.gov>
* custom/uC5282.cfg: Put -m5200 back in link-edit commands until
proper versions of gcc (which take -m528x as an order to load the
-m5200 multilib variants) are widely available.
2005-02-05 Ralf Corsepius <ralf.corsepius@rtems.org>
* custom/uC5282.cfg: Cleanup.

View File

@@ -23,13 +23,13 @@ CFLAGS_OPTIMIZE_V= -O4 -fomit-frame-pointer
# will be able to override parts of the compilers specs and link using gcc.
define make-exe
$(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $(basename $@).nxe \
$(LINK.c) $(AM_CFLAGS) -m5200 $(AM_LDFLAGS) -o $(basename $@).nxe \
$(LINK_OBJS) $(LINK_LIBS)
$(OBJCOPY) -O binary --strip-all $(basename $@).nxe $@
$(SIZE) $(basename $@).nxe
endef
define make-cxx-exe
$(LINK.cc) $(AM_CFLAGS) $(AM_LDFLAGS) -o $(basename $@).nxe \
$(LINK.cc) $(AM_CFLAGS) -m5200 $(AM_LDFLAGS) -o $(basename $@).nxe \
$(LINK_OBJS) $(LINK_LIBS)
$(OBJCOPY) -O binary --strip-all $(basename $@).nxe $@
$(SIZE) $(basename $@).nxe