u-boot/arch
Sam Edwards 214a87757a arm: riscv: efi: Export _start symbol from crt0_*_efi stubs
While the _start label is only intended for use locally to populate the
(hand-written) PE header, the linker script includes ENTRY(_start) which
designates it as the entry point in the output ELF, resulting in linker
warnings under some linkers (e.g. LLVM's lld) due to _start not being a
globally-visible symbol. Since  ELF is only an intermediary build
format, and the aforementioned PE header correctly points to _start, the
ENTRY(_start) directive could easily be removed to silence this warning.

However, since some developers who are debugging EFI by analyzing the
intermediary ELF may appreciate having correct entry-point information,
this patch instead promotes the _start labels to global symbols,
silencing the linker warning and making the intermediary ELF reflect the
true entry point.

This patch doesn't affect the final output binaries in any way.

Signed-off-by: Sam Edwards <CFSworks@gmail.com>
2025-03-17 09:22:03 +01:00
..
arc
arm arm: riscv: efi: Export _start symbol from crt0_*_efi stubs 2025-03-17 09:22:03 +01:00
m68k m68k: asm/ptrace.h: include linux/types.h 2024-10-23 06:52:38 +02:00
microblaze
mips x86: select CONFIG_64BIT for X86_64 2024-12-31 10:58:30 -06:00
nios2
powerpc Merge patch series "Misc. PowerPC MPC83xx fixes/cleanups" 2024-12-30 15:55:33 -06:00
riscv arm: riscv: efi: Export _start symbol from crt0_*_efi stubs 2025-03-17 09:22:03 +01:00
sandbox led: add function naming option from linux 2025-02-07 10:53:39 -06:00
sh
x86 x86: Stop working around skip-at-start 2025-03-04 08:22:11 -06:00
xtensa
.gitignore
Kconfig drivers/mmc/Kconfig: Make DM_MMC a hidden symbol 2025-01-20 19:26:25 -06:00
Kconfig.nxp
u-boot-elf.lds