Modified linker scripts for GCC 4.4.1.

git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1113 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
gdisirio 2009-08-28 15:11:16 +00:00
parent 1ce340b59e
commit 553f23ae74
6 changed files with 110 additions and 82 deletions

View File

@ -42,10 +42,10 @@ SECTIONS
{
. = 0;
.text :
.text : ALIGN(16) SUBALIGN(16)
{
_text = .;
KEEP(*(vectors));
KEEP(*(vectors))
*(.text)
*(.text.*);
*(.rodata);
@ -63,7 +63,6 @@ SECTIONS
.data :
{
_data = .;
_data = .;
*(.data)
. = ALIGN(4);
@ -85,6 +84,11 @@ SECTIONS
. = ALIGN(4);
_bss_end = .;
} > ram
/DISCARD/ :
{
*(.eh_*)
}
}
PROVIDE(end = .);

View File

@ -42,10 +42,10 @@ SECTIONS
{
. = 0;
.text :
.text : ALIGN(16) SUBALIGN(16)
{
_text = .;
KEEP(*(vectors));
KEEP(*(vectors))
*(.text)
*(.text.*);
*(.rodata);
@ -63,7 +63,6 @@ SECTIONS
.data :
{
_data = .;
_data = .;
*(.data)
. = ALIGN(4);
@ -85,6 +84,11 @@ SECTIONS
. = ALIGN(4);
_bss_end = .;
} > ram
/DISCARD/ :
{
*(.eh_*)
}
}
PROVIDE(end = .);

View File

@ -87,6 +87,11 @@ SECTIONS
. = ALIGN(4);
_bss_end = .;
} > ram
/DISCARD/ :
{
*(.eh_*)
}
}
PROVIDE(end = .);

View File

@ -87,6 +87,11 @@ SECTIONS
. = ALIGN(4);
_bss_end = .;
} > ram
/DISCARD/ :
{
*(.eh_*)
}
}
PROVIDE(end = .);

View File

@ -87,6 +87,11 @@ SECTIONS
. = ALIGN(4);
_bss_end = .;
} > ram
/DISCARD/ :
{
*(.eh_*)
}
}
PROVIDE(end = .);

View File

@ -80,6 +80,11 @@ SECTIONS
. = ALIGN(4);
_bss_end = .;
} > ram
/DISCARD/ :
{
*(.eh_*)
}
}
PROVIDE(end = .);