The older gnuarm in the windows toolchain seems to need the glue_7t section

This commit is contained in:
henryk@ploetzli.ch 2009-08-27 04:46:31 +00:00
parent 8652988d62
commit fb6e5aa863

View file

@ -9,7 +9,7 @@ MEMORY
fix the addresses. -- Henryk Plötz <henryk@ploetzli.ch> 2009-08-27 */ fix the addresses. -- Henryk Plötz <henryk@ploetzli.ch> 2009-08-27 */
bootphase1 : ORIGIN = 0x00000000, LENGTH = 0x200 /* Phase 1 bootloader: Copies real bootloader to RAM */ bootphase1 : ORIGIN = 0x00000000, LENGTH = 0x200 /* Phase 1 bootloader: Copies real bootloader to RAM */
bootphase2 : ORIGIN = 0x00000200, LENGTH = 0x2000 - 0x200 /* Main bootloader code, stored in Flash, executed from RAM */ bootphase2 : ORIGIN = 0x00000200, LENGTH = 0x2000 - 0x200 /* Main bootloader code, stored in Flash, executed from RAM */
ram : ORIGIN = 0x00200000, LENGTH = 32K ram : ORIGIN = 0x00200000, LENGTH = 64K
} }
@ -27,6 +27,7 @@ SECTIONS
*(.startphase2) *(.startphase2)
*(.text) *(.text)
*(.glue_7) *(.glue_7)
*(.glue_7t)
*(.rodata) *(.rodata)
*(.data) *(.data)
. = ALIGN( 32 / 8 ); . = ALIGN( 32 / 8 );