workaround for GCC (summon-arm-toolchain)

This commit is contained in:
NIIBE Yutaka
2011-11-01 10:59:44 +09:00
parent 4749062338
commit 683253b2eb
2 changed files with 9 additions and 0 deletions

View File

@@ -1,3 +1,11 @@
2011-11-01 Niibe Yutaka <gniibe@fsij.org>
* src/Makefile.in (MCFLAGS): Override MCFLAGS option for newer
GCC of summon-arm-toolchain to add -mfix-cortex-m3-ldrd.
NOTE: This should not be needed (as -mcpu=cortex-m3 defaults
to -mfix-cortex-m3-ldrd for GCC-proper), but it is needed
to select arm-none-eabi/lib/thumb2/libc.a correctly.
2011-10-14 NIIBE Yutaka <gniibe@fsij.org>
* src/gnuk.ld.in (__main_stack_size__): It's 1KB (was 512 byte).

View File

@@ -205,6 +205,7 @@ ifeq ($(USE_FWLIB),yes)
endif
include $(CHIBIOS)/os/ports/GCC/ARM/rules.mk
MCFLAGS= -mcpu=$(MCU) -mfix-cortex-m3-ldrd
distclean: clean
-rm -f Makefile gnuk.ld config.h