Skip to content

elf: detect the C symbol prefix of the target - #39

Merged
xiaoxiang781216 merged 1 commit into
apache:mainfrom
linumiz:rh850/elf-symbol-prefix
Nov 26, 2026
Merged

xiaoxiang781216 merged 1 commit into
apache:mainfrom
linumiz:rh850/elf-symbol-prefix

Conversation

@parthitce

Copy link
Copy Markdown
Contributor

v850 and RX GCC add "_" to C symbol names. cmd_check then found no test entry point on RH850, every test was skipped and the run passed.

Detect the prefix from nx_start or main and drop it from the parsed symbol names, so every lookup sees the C names.

Signed-off-by: Parthiban Nallathambi parthiban@linumiz.com

v850 and RX GCC add "_" to C symbol names. cmd_check then found no test
entry point on RH850, every test was skipped and the run passed.

Detect the prefix from nx_start or main and drop it from the parsed
symbol names, so every lookup sees the C names.

Signed-off-by: Parthiban Nallathambi <parthiban@linumiz.com>
@parthitce

Copy link
Copy Markdown
Contributor Author

Adding @cederom @xiaoxiang781216 @raiden00pl for review and CI trigger. Thanks.

@xiaoxiang781216
xiaoxiang781216 merged commit 1a0e877 into apache:main Nov 26, 2026
6 checks passed
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.

3 participants