You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
693 B
Plaintext
40 lines
693 B
Plaintext
5 years ago
|
/* SPDX-License-Identifier: MIT OR Apache-2.0
|
||
5 years ago
|
*
|
||
4 years ago
|
* Copyright (c) 2018-2020 Andre Richter <andre.o.richter@gmail.com>
|
||
5 years ago
|
*/
|
||
|
|
||
|
SECTIONS
|
||
|
{
|
||
|
/* Set current address to the value from which the RPi starts execution */
|
||
|
. = 0x80000;
|
||
|
|
||
|
__ro_start = .;
|
||
|
.text :
|
||
|
{
|
||
|
*(.text._start) *(.text*)
|
||
|
}
|
||
|
|
||
|
.rodata :
|
||
|
{
|
||
|
*(.rodata*)
|
||
|
}
|
||
|
. = ALIGN(65536); /* Fill up to 64 KiB */
|
||
|
__ro_end = .;
|
||
|
|
||
|
.data :
|
||
|
{
|
||
|
*(.data*)
|
||
|
}
|
||
|
|
||
4 years ago
|
/* Section is zeroed in u64 chunks, align start and end to 8 bytes */
|
||
5 years ago
|
.bss ALIGN(8):
|
||
|
{
|
||
|
__bss_start = .;
|
||
|
*(.bss*);
|
||
4 years ago
|
. = ALIGN(8);
|
||
5 years ago
|
__bss_end = .;
|
||
|
}
|
||
|
|
||
|
/DISCARD/ : { *(.comment*) }
|
||
|
}
|