1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * U-Boot riscv32 EFI linker script
5 * SPDX-License-Identifier: BSD-2-Clause
7 * Modified from arch/arm/lib/elf_aarch64_efi.lds
10 OUTPUT_FORMAT("elf32-littleriscv", "elf32-littleriscv", "elf32-littleriscv")
26 _text_size = . - _text;
27 .dynamic : { *(.dynamic) }
38 * The EFI loader doesn't seem to like a .bss section, so we
39 * stick it all into .data:
53 .rela.dyn : { *(.rela.dyn) }
54 .rela.plt : { *(.rela.plt) }
55 .rela.got : { *(.rela.got) }
56 .rela.data : { *(.rela.data) *(.rela.data*) }
57 _data_size = . - _etext;
60 .dynsym : { *(.dynsym) }
62 .dynstr : { *(.dynstr) }
64 .note.gnu.build-id : { *(.note.gnu.build-id) }
70 .comment 0 : { *(.comment) }