update GNU ld script.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1558 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
parent
3d4e5e1fea
commit
496e727498
|
@ -1,12 +1,12 @@
|
||||||
/*
|
/*
|
||||||
* linker script for STM32F10x with GNU ld
|
* linker script for STM32F107 (256kB Flash, 64kB SRAM ) with GNU ld
|
||||||
* bernard.xiong 2009-10-14
|
* bernard.xiong 2009-10-14
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* Program Entry, set to mark it as "used" and avoid gc */
|
/* Program Entry, set to mark it as "used" and avoid gc */
|
||||||
MEMORY
|
MEMORY
|
||||||
{
|
{
|
||||||
CODE (rx) : ORIGIN = 0x08000000, LENGTH = 0x00080000
|
CODE (rx) : ORIGIN = 0x08000000, LENGTH = 0x00040000
|
||||||
DATA (rw) : ORIGIN = 0x20000000, LENGTH = 0x00010000
|
DATA (rw) : ORIGIN = 0x20000000, LENGTH = 0x00010000
|
||||||
}
|
}
|
||||||
ENTRY(Reset_Handler)
|
ENTRY(Reset_Handler)
|
||||||
|
@ -77,6 +77,7 @@ SECTIONS
|
||||||
_sbss = .;
|
_sbss = .;
|
||||||
|
|
||||||
*(.bss)
|
*(.bss)
|
||||||
|
*(.bss.*)
|
||||||
*(COMMON)
|
*(COMMON)
|
||||||
|
|
||||||
. = ALIGN(4);
|
. = ALIGN(4);
|
||||||
|
|
Loading…
Reference in New Issue