Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Filter out gcc2_compiled. and family #115

Closed
AngheloAlf opened this issue Oct 5, 2024 · 1 comment
Closed

Filter out gcc2_compiled. and family #115

AngheloAlf opened this issue Oct 5, 2024 · 1 comment

Comments

@AngheloAlf
Copy link
Contributor

Some compilers may emit section-relative relocations instead of symbol-relative ones, meaning objdiff's symbol resolution may end up picking up a compiler generated symbol like gcc2_compiled. or __gnu_compiled_c. Ideally this kind of symbol would be filtered out or be low priority.

This is how they are listed by readelf:

     3: 00000000     0 OBJECT  LOCAL  DEFAULT    1 gcc2_compiled.
14: 00100450     0 NOTYPE  LOCAL  DEFAULT               0x4 __gnu_compiled_c
15: 00100450     0 NOTYPE  LOCAL  DEFAULT               0x4 gcc2_compiled.
@1superchip
Copy link

464: 0024b210 0 NOTYPE LOCAL DEFAULT 1 __gnu_compiled_cplusplus

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants