Open oliwkowemango opened 5 years ago
This script tells the linker that the program's entry point is at the global symbol _Entry, which we export from startup.s.
_Entry
startup.s
Should it be a _Reset instead of _Entry?
_Reset
@oliwkowemango
yes, you're right. You can see that it actually uses _Reset in the linker script:
https://github.com/umanovskis/baremetal-arm/blob/4ce7973889bbc1d64299e4a87634f471137e3761/src/04_cenv/linkscript.ld#L3
https://github.com/umanovskis/baremetal-arm/blob/4ce7973889bbc1d64299e4a87634f471137e3761/src/04_cenv/linkscript.ld#L13-L15
https://github.com/umanovskis/baremetal-arm/blob/4ce7973889bbc1d64299e4a87634f471137e3761/src/04_cenv/startup.s#L6-L10
Should it be a
_Reset
instead of_Entry
?