git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3579 35acf78f-673a-0410-8e92-d51de3d6d3f4

master
gdisirio 2011-12-08 09:15:41 +00:00
parent c7c5942ac3
commit f8f59580ae
9 changed files with 81 additions and 36 deletions

View File

@ -92,10 +92,13 @@ SECTIONS
{ {
*(.eh_frame) *(.eh_frame)
} > flash } > flash
. = ALIGN(8); .endtext : ONLY_IF_RO
_etext = .; {
_textdata = _etext; . = ALIGN(8);
_etext = .;
_textdata = _etext;
} > flash
.stacks : .stacks :
{ {
@ -114,6 +117,7 @@ SECTIONS
.data : .data :
{ {
. = ALIGN(4);
PROVIDE(_data = .); PROVIDE(_data = .);
*(.data) *(.data)
. = ALIGN(4); . = ALIGN(4);
@ -126,6 +130,7 @@ SECTIONS
.bss : .bss :
{ {
. = ALIGN(4);
PROVIDE(_bss_start = .); PROVIDE(_bss_start = .);
*(.bss) *(.bss)
. = ALIGN(4); . = ALIGN(4);

View File

@ -92,10 +92,13 @@ SECTIONS
{ {
*(.eh_frame) *(.eh_frame)
} > flash } > flash
. = ALIGN(8); .endtext : ONLY_IF_RO
_etext = .; {
_textdata = _etext; . = ALIGN(8);
_etext = .;
_textdata = _etext;
} > flash
.stacks : .stacks :
{ {
@ -114,6 +117,7 @@ SECTIONS
.data : .data :
{ {
. = ALIGN(4);
PROVIDE(_data = .); PROVIDE(_data = .);
*(.data) *(.data)
. = ALIGN(4); . = ALIGN(4);
@ -126,6 +130,7 @@ SECTIONS
.bss : .bss :
{ {
. = ALIGN(4);
PROVIDE(_bss_start = .); PROVIDE(_bss_start = .);
*(.bss) *(.bss)
. = ALIGN(4); . = ALIGN(4);

View File

@ -92,10 +92,13 @@ SECTIONS
{ {
*(.eh_frame) *(.eh_frame)
} > flash } > flash
. = ALIGN(8); .endtext : ONLY_IF_RO
_etext = .; {
_textdata = _etext; . = ALIGN(8);
_etext = .;
_textdata = _etext;
} > flash
.stacks : .stacks :
{ {
@ -114,6 +117,7 @@ SECTIONS
.data : .data :
{ {
. = ALIGN(4);
PROVIDE(_data = .); PROVIDE(_data = .);
*(.data) *(.data)
. = ALIGN(4); . = ALIGN(4);
@ -126,6 +130,7 @@ SECTIONS
.bss : .bss :
{ {
. = ALIGN(4);
PROVIDE(_bss_start = .); PROVIDE(_bss_start = .);
*(.bss) *(.bss)
. = ALIGN(4); . = ALIGN(4);

View File

@ -92,10 +92,13 @@ SECTIONS
{ {
*(.eh_frame) *(.eh_frame)
} > flash } > flash
. = ALIGN(8); .endtext : ONLY_IF_RO
_etext = .; {
_textdata = _etext; . = ALIGN(8);
_etext = .;
_textdata = _etext;
} > flash
.stacks : .stacks :
{ {
@ -114,6 +117,7 @@ SECTIONS
.data : .data :
{ {
. = ALIGN(4);
PROVIDE(_data = .); PROVIDE(_data = .);
*(.data) *(.data)
. = ALIGN(4); . = ALIGN(4);
@ -126,6 +130,7 @@ SECTIONS
.bss : .bss :
{ {
. = ALIGN(4);
PROVIDE(_bss_start = .); PROVIDE(_bss_start = .);
*(.bss) *(.bss)
. = ALIGN(4); . = ALIGN(4);

View File

@ -92,10 +92,13 @@ SECTIONS
{ {
*(.eh_frame) *(.eh_frame)
} > flash } > flash
. = ALIGN(8); .endtext : ONLY_IF_RO
_etext = .; {
_textdata = _etext; . = ALIGN(8);
_etext = .;
_textdata = _etext;
} > flash
.stacks : .stacks :
{ {
@ -114,6 +117,7 @@ SECTIONS
.data : .data :
{ {
. = ALIGN(4);
PROVIDE(_data = .); PROVIDE(_data = .);
*(.data) *(.data)
. = ALIGN(4); . = ALIGN(4);
@ -126,6 +130,7 @@ SECTIONS
.bss : .bss :
{ {
. = ALIGN(4);
PROVIDE(_bss_start = .); PROVIDE(_bss_start = .);
*(.bss) *(.bss)
. = ALIGN(4); . = ALIGN(4);

View File

@ -92,10 +92,13 @@ SECTIONS
{ {
*(.eh_frame) *(.eh_frame)
} > flash } > flash
. = ALIGN(8); .endtext : ONLY_IF_RO
_etext = .; {
_textdata = _etext; . = ALIGN(8);
_etext = .;
_textdata = _etext;
} > flash
.stacks : .stacks :
{ {
@ -114,6 +117,7 @@ SECTIONS
.data : .data :
{ {
. = ALIGN(4);
PROVIDE(_data = .); PROVIDE(_data = .);
*(.data) *(.data)
. = ALIGN(4); . = ALIGN(4);
@ -126,6 +130,7 @@ SECTIONS
.bss : .bss :
{ {
. = ALIGN(4);
PROVIDE(_bss_start = .); PROVIDE(_bss_start = .);
*(.bss) *(.bss)
. = ALIGN(4); . = ALIGN(4);

View File

@ -92,10 +92,13 @@ SECTIONS
{ {
*(.eh_frame) *(.eh_frame)
} > flash } > flash
. = ALIGN(8); .endtext : ONLY_IF_RO
_etext = .; {
_textdata = _etext; . = ALIGN(8);
_etext = .;
_textdata = _etext;
} > flash
.stacks : .stacks :
{ {
@ -114,6 +117,7 @@ SECTIONS
.data : .data :
{ {
. = ALIGN(4);
PROVIDE(_data = .); PROVIDE(_data = .);
*(.data) *(.data)
. = ALIGN(4); . = ALIGN(4);
@ -126,6 +130,7 @@ SECTIONS
.bss : .bss :
{ {
. = ALIGN(4);
PROVIDE(_bss_start = .); PROVIDE(_bss_start = .);
*(.bss) *(.bss)
. = ALIGN(4); . = ALIGN(4);

View File

@ -94,10 +94,13 @@ SECTIONS
{ {
*(.eh_frame) *(.eh_frame)
} > flash } > flash
. = ALIGN(8); .endtext : ONLY_IF_RO
_etext = .; {
_textdata = _etext; . = ALIGN(8);
_etext = .;
_textdata = _etext;
} > flash
.stacks : .stacks :
{ {
@ -116,6 +119,7 @@ SECTIONS
.data : .data :
{ {
. = ALIGN(4);
PROVIDE(_data = .); PROVIDE(_data = .);
*(.data) *(.data)
. = ALIGN(4); . = ALIGN(4);
@ -128,6 +132,7 @@ SECTIONS
.bss : .bss :
{ {
. = ALIGN(4);
PROVIDE(_bss_start = .); PROVIDE(_bss_start = .);
*(.bss) *(.bss)
. = ALIGN(4); . = ALIGN(4);

View File

@ -92,10 +92,13 @@ SECTIONS
{ {
*(.eh_frame) *(.eh_frame)
} > flash } > flash
. = ALIGN(8); .endtext : ONLY_IF_RO
_etext = .; {
_textdata = _etext; . = ALIGN(8);
_etext = .;
_textdata = _etext;
} > flash
.stacks : .stacks :
{ {
@ -114,6 +117,7 @@ SECTIONS
.data : .data :
{ {
. = ALIGN(4);
PROVIDE(_data = .); PROVIDE(_data = .);
*(.data) *(.data)
. = ALIGN(4); . = ALIGN(4);
@ -126,6 +130,7 @@ SECTIONS
.bss : .bss :
{ {
. = ALIGN(4);
PROVIDE(_bss_start = .); PROVIDE(_bss_start = .);
*(.bss) *(.bss)
. = ALIGN(4); . = ALIGN(4);