provide slightly meaningless _start symbol for boot_stage2 to make LLVM lld happy #2080

Merged
kilograham merged 1 commit from clang_lld_warning into develop 2024-11-21 10:10:12 -06:00
kilograham commented 2024-11-20 20:41:29 -06:00 (Migrated from github.com)

fixes #1813

fixes #1813
Wren6991 (Migrated from github.com) reviewed 2024-11-20 20:41:29 -06:00
will-v-pi (Migrated from github.com) reviewed 2024-11-20 20:41:29 -06:00
peterharperuk (Migrated from github.com) approved these changes 2024-11-21 05:22:10 -06:00
armandomontanez commented 2024-11-21 09:26:30 -06:00 (Migrated from github.com)

ENTRY(_stage2_boot) should do the trick and might have slightly more clear intent.

`ENTRY(_stage2_boot)` should do the trick and might have slightly more clear intent.
armandomontanez commented 2024-11-21 09:32:24 -06:00 (Migrated from github.com)

Also side note, I'm not seeing any declarations of an .entry section in the codebase, am I missing something or is that something that could be cleaned up?

Also side note, I'm not seeing any declarations of an `.entry` section in the codebase, am I missing something or is that something that could be cleaned up?
kilograham commented 2024-11-21 10:09:20 -06:00 (Migrated from github.com)

ENTRY(_stage2_boot) should do the trick and might have slightly more clear intent.

yeah, i thought about that, but there is no requirement to provide that symbol... we do always enter the image at the beginning

> `ENTRY(_stage2_boot)` should do the trick and might have slightly more clear intent. yeah, i thought about that, but there is no requirement to provide that symbol... we do always enter the image at the beginning
kilograham commented 2024-11-21 10:10:07 -06:00 (Migrated from github.com)

Also side note, I'm not seeing any declarations of an .entry section in the codebase, am I missing something or is that something that could be cleaned up?

indeed; i noticed that too, but didn't dig too deeply as to why it was there

> Also side note, I'm not seeing any declarations of an `.entry` section in the codebase, am I missing something or is that something that could be cleaned up? indeed; i noticed that too, but didn't dig too deeply as to why it was there
kilograham commented 2024-11-21 10:10:41 -06:00 (Migrated from github.com)

^ feel free to open separate issues/PRs

^ feel free to open separate issues/PRs
Sign in to join this conversation.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
gh-raspberrypi/pico-sdk!2080
No description provided.