bug: not setting the global pointer
Nobody has claimed this yet.
- Dominant language
- HTML
- Stars
- 1.2k
- Forks
- 1.1k
- PR merge metrics
- No merged PRs in 30d
Description
in this code where is the global pointer (x3) initialized to the proper value, note zero is not correct
typically this involves the variable _global_pointer$ created by the linker
https://github.com/Xilinx/embeddedsw/blob/master/lib/bsp/standalone/src/riscv/boot.S
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with lib/bsp/standalone/src/riscv/boot.S and trace how x3 is initialized, including the linker-created _global_pointer$ variable. Verify why x3 remains zero and determine the expected linker-provided value; done means the global pointer is set to that proper value rather than zero.
Written by the indexing model from the issue text.
Assessment
- Domain
- embedded-iot
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100