summaryrefslogtreecommitdiff
path: root/scripts/event_dump.py
diff options
context:
space:
mode:
authorSam Edwards <cfsworks@gmail.com>2025-03-15 15:18:09 -0700
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2025-03-17 09:22:03 +0100
commit214a87757ac70d5b6523142136678a53e7d4232f (patch)
tree73b7cc2de389a4737e4a174860db3cb2c15dd674 /scripts/event_dump.py
parent60ea8a94d60eeb296b1631f3914d11ef0621b1dc (diff)
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>
Diffstat (limited to 'scripts/event_dump.py')
0 files changed, 0 insertions, 0 deletions