-
Notifications
You must be signed in to change notification settings - Fork 50
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
ELF loader does not recognize NOBIT sections #10
Comments
Could you please add:
|
The assert does not expect the vaddr 0x80000b10. |
As we don't use the freedom-studio, could you post your ELF? |
Yes, it is not a .bss problem. Actually, it is a sifive ld-script issue. However, the elf works on physical hw. Thus, it might be useful to consider. Attached is the "hello world" example built of the freedom-e-sdk for the hifive1 platform. Same issue... |
Solution introduced breaks certain other setups. |
As far as I remember, paddr was not accepted (assert) as paddr > offset + size. |
The Specification states:
Our Problem was, that if NOBITS was detected, all data was discarded. |
The following elf program header fails within elf_loader.h in line 54. The used linker script is a standard one of the freedom-e-sdk. The problem is the fourth section which corresponds to the .bss section and surprises the GenericElfLoader...
The text was updated successfully, but these errors were encountered: