stm32-p103: align the interrupt vector table to 1K boundary.
authorarighi <arighi@38d2e660-2303-0410-9eaa-f027e97ec537>
Thu, 20 May 2010 13:43:26 +0000 (13:43 +0000)
committerarighi <arighi@38d2e660-2303-0410-9eaa-f027e97ec537>
Thu, 20 May 2010 13:43:26 +0000 (13:43 +0000)
Moreover, do not waste space in RAM and reserve for the vtable an amount
of space proportional to the total number of interrupts defined on the
board.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@3740 38d2e660-2303-0410-9eaa-f027e97ec537

bertos/cpu/cortex-m3/scripts/stm32p103_rom.ld

index 27248d620716e83e0312a79d312c9dff04bf6643..60548cb85e9ea8070fdae369fe2885f71d50e3cd 100644 (file)
@@ -81,8 +81,8 @@ SECTIONS
        .data : AT (__text_end)
        {
                PROVIDE (__data_start = .);
-               *(vtable)
                . = ALIGN (0x400);
+               *(vtable)
                *(.data .data.*)
                . = ALIGN (4);
                _edata = .;