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