You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, when compiling the kernel, the linker (riscv64-elf-ld) issues the following warning:
riscv64-elf-ld: warning: cannot find entry symbol _entry; defaulting to 0000000080000000
The linker can't find the _entry symbol, so it defaults to an address that just so happens, one can see from reading the comments in the file kernel/entry.S, to be the location of the _entry symbol. Everything works, but it's a bit of a kludge.
After troubleshooting, I found that _entry isn't exported as a global symbol. putting a .global _entry directive in kernel/entry.S fixes the problem and removes the linker warning.
The text was updated successfully, but these errors were encountered:
Hello, when compiling the kernel, the linker (riscv64-elf-ld) issues the following warning:
riscv64-elf-ld: warning: cannot find entry symbol _entry; defaulting to 0000000080000000
The linker can't find the
_entry
symbol, so it defaults to an address that just so happens, one can see from reading the comments in the filekernel/entry.S
, to be the location of the_entry
symbol. Everything works, but it's a bit of a kludge.After troubleshooting, I found that
_entry
isn't exported as a global symbol. putting a.global _entry
directive in kernel/entry.S fixes the problem and removes the linker warning.The text was updated successfully, but these errors were encountered: