Files
tinyUSB/hw/mcu/broadcom/bcm2711/link.ld
2021-09-22 15:19:02 -07:00

29 lines
618 B
Plaintext

SECTIONS
{
. = 0x80000; /* Kernel load address for AArch64 */
.text : {
KEEP(*(.text.boot))
*(.text .text.* .gnu.linkonce.t*)
}
.rodata : {
. = ALIGN(4096);
*(.rodata .rodata.* .gnu.linkonce.r*)
}
PROVIDE(_data = .);
.data : {
. = ALIGN(4096);
*(.data .data.* .gnu.linkonce.d*)
}
.bss (NOLOAD) : {
__bss_start = .;
*(.bss .bss.*)
*(COMMON)
__bss_end = .;
}
_end = .;
end = .;
/DISCARD/ : { *(.comment) *(.gnu*) *(.note*) *(.eh_frame*) }
}
__bss_size = (__bss_end - __bss_start)>>3;