diff options
Diffstat (limited to 'c/src/lib/libbsp/powerpc/virtex4/startup/linkcmds')
-rw-r--r-- | c/src/lib/libbsp/powerpc/virtex4/startup/linkcmds | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/c/src/lib/libbsp/powerpc/virtex4/startup/linkcmds b/c/src/lib/libbsp/powerpc/virtex4/startup/linkcmds index cff5767aef..74a10aa079 100644 --- a/c/src/lib/libbsp/powerpc/virtex4/startup/linkcmds +++ b/c/src/lib/libbsp/powerpc/virtex4/startup/linkcmds @@ -20,16 +20,17 @@ HeapSize = DEFINED(HeapSize) ? HeapSize : 0; /* 0=Use def */ MEMORY { - VECTORS : ORIGIN = 0x00000000, LENGTH = 8K - RAM : ORIGIN = 0x00002000, LENGTH = 128M - 8K + VECTORS : ORIGIN = 0x00000000, LENGTH = 12K + RAM : ORIGIN = 0x00003000, LENGTH = 128M - 12K } SECTIONS { - __exeentry = download_entry; - __exestart = 0x100; - .vectors __exestart : { *(.vectors) } > VECTORS + bsp_exc_vector_base = 0x100; + __exeentry = download_entry; + __exestart = bsp_exc_vector_base; + .vectors bsp_exc_vector_base : { *(.vectors) } > VECTORS /* Read-only sections, merged into text segment: */ .interp : { *(.interp) } > RAM @@ -249,7 +250,7 @@ _SDA_BASE_ = __SDATA_START__ + 0x8000; /* Message area for capturing early printk output */ /* Placed here to be easily findable with a debugger */ - MsgAreaBase = __bsp_ram_end; + MsgAreaBase = .; . += MsgAreaSize; __phy_ram_end = .; /* True end of physical memory */ |