Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: hello SerialTestv11 SerialTestv12 Sierpinski ... more
Diff: TARGET_TB_SENSE_12/TOOLCHAIN_GCC_ARM/efr32mg12p.ld
- Revision:
- 171:3a7713b1edbc
- Parent:
- 156:ff21514d8981
--- a/TARGET_TB_SENSE_12/TOOLCHAIN_GCC_ARM/efr32mg12p.ld Thu Sep 06 13:39:34 2018 +0100
+++ b/TARGET_TB_SENSE_12/TOOLCHAIN_GCC_ARM/efr32mg12p.ld Thu Nov 08 11:45:42 2018 +0000
@@ -25,8 +25,8 @@
/* MBED: mbed needs to be able to dynamically set the interrupt vector table.
* We make room for the table at the very beginning of RAM, i.e. at
- * 0x20000000. We need (16+51 * sizeof(uint32_t) = 268 bytes for EFM32PG */
-__vector_size = 0x10C;
+ * 0x20000000. We need (16+51 * sizeof(uint32_t) = 268 + 4(8-byte aligned) bytes for EFM32PG */
+__vector_size = 0x110;
/* Linker script to place sections and symbol values. Should be used together
* with other linker script that defines memory regions FLASH and RAM.
@@ -113,7 +113,7 @@
/*
.copy.table :
{
- . = ALIGN(4);
+ . = ALIGN(8);
__copy_table_start__ = .;
LONG (__etext)
LONG (__data_start__)
@@ -131,7 +131,7 @@
/*
.zero.table :
{
- . = ALIGN(4);
+ . = ALIGN(8);
__zero_table_start__ = .;
LONG (__bss_start__)
LONG (__bss_end__ - __bss_start__)
@@ -151,23 +151,23 @@
PROVIDE( __end_vector_table__ = .);
*(vtable)
*(.data*)
- . = ALIGN (4);
+ . = ALIGN (8);
*(.ram)
- . = ALIGN(4);
+ . = ALIGN(8);
/* preinit data */
PROVIDE_HIDDEN (__preinit_array_start = .);
KEEP(*(.preinit_array))
PROVIDE_HIDDEN (__preinit_array_end = .);
- . = ALIGN(4);
+ . = ALIGN(8);
/* init data */
PROVIDE_HIDDEN (__init_array_start = .);
KEEP(*(SORT(.init_array.*)))
KEEP(*(.init_array))
PROVIDE_HIDDEN (__init_array_end = .);
- . = ALIGN(4);
+ . = ALIGN(8);
/* finit data */
PROVIDE_HIDDEN (__fini_array_start = .);
KEEP(*(SORT(.fini_array.*)))
@@ -175,7 +175,7 @@
PROVIDE_HIDDEN (__fini_array_end = .);
KEEP(*(.jcr*))
- . = ALIGN(4);
+ . = ALIGN(8);
/* All data end */
__data_end__ = .;
@@ -183,11 +183,11 @@
.bss :
{
- . = ALIGN(4);
+ . = ALIGN(8);
__bss_start__ = .;
*(.bss*)
*(COMMON)
- . = ALIGN(4);
+ . = ALIGN(8);
__bss_end__ = .;
} > RAM


