uniLoader/arch/arm/linker.lds.S
Ivaylo Ivanov 8dc27cc402 board: introduce Amazon Kindle PW3 support
With support for this board also come the following changes:
- rework blobs handling to get past the 0 size bug
- basic cpu "set up" in start.S
- assembly memcpy
- uart debugging
2025-07-08 15:54:02 +03:00

49 lines
582 B
ArmAsm

/* SPDX-License-Identifier: GPL-2.0 */
/*
* Copyright (c) 2025, Ivaylo Ivanov <ivo.ivanov.ivanov1@gmail.com>
*/
ENTRY(_start);
OUTPUT_FORMAT("elf32-littlearm")
OUTPUT_ARCH(arm)
TARGET(binary)
SECTIONS
{
. = TEXT_BASE;
.text : {
KEEP(*(.text.start))
*(.text)
*(.text.*)
}
.rodata ALIGN(4) : {
*(.rodata)
*(.rodata.*)
}
.data ALIGN(4) : {
*(.data)
*(.data.*)
}
.bss ALIGN(4) : {
__bss_start = .;
*(.bss)
*(.bss.*)
*(COMMON)
__bss_end = .;
}
.stack ALIGN(0x1000) : {
__stack_top = .;
. += 0x1000;
__stack_bottom = .;
}
_end = .;
}