/* SPDX-License-Identifier: MIT OR Apache-2.0 * * Copyright (c) 2018-2021 Andre Richter */ SECTIONS { /* Set current address to the value from which the RPi starts execution */ . = 0x80000; .text : { *(.text._start) *(.text*) } .rodata : { *(.rodata*) } .data : { *(.data*) } /* Section is zeroed in u64 chunks, align start and end to 8 bytes */ .bss ALIGN(8): { __bss_start = .; *(.bss*); . = ALIGN(8); /* Fill for the bss == 0 case, so that __bss_start <= __bss_end_inclusive holds */ . += 8; __bss_end_inclusive = . - 8; } /DISCARD/ : { *(.comment*) } }