1
0
Fork 0
forked from len0rd/rockbox

preparation for sectioned linking (will remove dead functions/data)

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6785 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jörg Hohensohn 2005-06-21 00:01:28 +00:00
parent be918cdc72
commit b6bd58261a

View file

@ -141,7 +141,9 @@ SECTIONS
{
loadaddress = .;
_loadaddress = .;
KEEP(*(.resetvectors));
*(.resetvectors);
KEEP(*(.vectors));
*(.vectors);
} > DRAM
@ -149,13 +151,14 @@ SECTIONS
{
. = ALIGN(0x200);
*(.init.text)
*(.text)
*(.text*)
. = ALIGN(0x4);
} > DRAM
.rodata :
{
*(.rodata)
*(.rodata) /* problems without this, dunno why */
*(.rodata*)
*(.rodata.str1.1)
*(.rodata.str1.4)
. = ALIGN(0x4);
@ -170,7 +173,7 @@ SECTIONS
.data : AT ( _datacopy )
{
_datastart = .;
*(.data)
*(.data*)
. = ALIGN(0x4);
_dataend = .;
_iramcopy = .;
@ -211,7 +214,7 @@ SECTIONS
#endif
{
_edata = .;
*(.bss)
*(.bss*)
*(COMMON)
. = ALIGN(0x4);
_end = .;