diff --git a/ChangeLog b/ChangeLog index 74f2e3d..f640cc0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2011-11-01 Niibe Yutaka + + * 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 * src/gnuk.ld.in (__main_stack_size__): It's 1KB (was 512 byte). diff --git a/src/Makefile.in b/src/Makefile.in index cc77479..929654e 100644 --- a/src/Makefile.in +++ b/src/Makefile.in @@ -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