crashtest-r0ket/misc/openbeacon/lpc13xx/core/linker/LPC13xx.ld

56 lines
973 B
Plaintext
Raw Normal View History

2011-06-12 02:18:11 +00:00
ENTRY(ResetISR)
SECTIONS
{
. = 0;
startup : { *(.startup)} >flash
prog :
{
KEEP(*(.isr_vector))
*(.text)
*(.text.*)
*(.rodata)
*(.rodata*)
*(.glue_7)
*(.glue_7t)
} >flash
__end_of_text__ = .;
.data :
{
__data_beg__ = .;
__data_beg_src__ = __end_of_text__;
*(.data)
*(.data.*)
*(.fastrun)
*(.ramfunc)
__data_end__ = .;
} >ram AT>flash
/* .ARM.exidx is sorted, so has to go in its own output section. */
__exidx_start = .;
.ARM.exidx :
{
*(.ARM.exidx* .gnu.linkonce.armexidx.*)
} >ram AT>flash
__exidx_end = .;
.bss :
{
__bss_beg__ = .;
*(.bss)
*(.bss.*)
__bss_end__ = .;
} >ram
/* Align here to ensure that the .bss section occupies space up to
_end. Align after .bss to ensure correct alignment even if the
.bss section disappears because there are no input sections. */
. = ALIGN(32 / 8);
_end = .;
_bss_end__ = . ; __bss_end__ = . ; __end__ = . ;
PROVIDE (end = .);
}
. = ALIGN(32 / 8);