Skip to content

[RISCV] JVT Symbol Fixes#1331

Open
Sam Elliott (lenary) wants to merge 1 commit into
qualcomm:mainfrom
lenary:pr/riscv-jvt-marker-symbol
Open

[RISCV] JVT Symbol Fixes#1331
Sam Elliott (lenary) wants to merge 1 commit into
qualcomm:mainfrom
lenary:pr/riscv-jvt-marker-symbol

Conversation

@lenary

Copy link
Copy Markdown
Member

This PR includes two fixes to the Zcmt symbols:

  • It now updates the size of the __jvt_base$ symbol to accurately reflect the size of the table it creates.
  • It adds a $d data mapping symbol so that when the jump table is put in an executable section (as is required), it is disassembled as data, not code.

@lenary

Copy link
Copy Markdown
Member Author

Marking as draft as the tests need more work.

@lenary Sam Elliott (lenary) force-pushed the pr/riscv-jvt-marker-symbol branch from 129ce1f to 13d6177 Compare June 24, 2026 23:03
This PR includes two fixes to the Zcmt symbols:
- It now updates the size of the `__jvt_base$` symbol to accurately
  reflect the size of the table it creates.
- It adds a `$d` data mapping symbol so that when the jump table is put
  in an executable section (as is required), it is disassembled as data,
  not code.

Signed-off-by: Sam Elliott <aelliott@qti.qualcomm.com>
@lenary Sam Elliott (lenary) force-pushed the pr/riscv-jvt-marker-symbol branch from 13d6177 to d8d4874 Compare June 24, 2026 23:12
@lenary Sam Elliott (lenary) marked this pull request as ready for review June 24, 2026 23:12

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thanks for doing this, Sam.

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

Successfully merging this pull request may close these issues.

2 participants