Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong name of the global symbol in LinkerScript part #6

Open
oliwkowemango opened this issue Apr 1, 2019 · 1 comment
Open

Wrong name of the global symbol in LinkerScript part #6

oliwkowemango opened this issue Apr 1, 2019 · 1 comment

Comments

@oliwkowemango
Copy link

This script tells the linker that the program's entry point is at the global symbol _Entry, which we export from startup.s.

Should it be a _Reset instead of _Entry?

@csukuangfj
Copy link
Contributor

@oliwkowemango

yes, you're right. You can see that it actually uses _Reset in the linker script:

.text : {
startup.o (.vector_table)
*(.text*)

.section .vector_table, "x"
.global _Reset
.global _start
_Reset:
b Reset_Handler

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants