Skip to content

Conversation

@cadmic
Copy link
Contributor

@cadmic cadmic commented Jun 6, 2025

In the GC OOT emulator, "erased" DWARF data is little-endian despite the ELF being big-endian. In Dr Mario, the "erased" data is apparently still big-endian (different linker version maybe?). So, now --include-erased will try to guess which endianness to use for erased DWARF data.

Fixes #85

Copy link

@AngheloAlf AngheloAlf left a comment

Choose a reason for hiding this comment

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

I confirm this indeed fixed the issue. Thanks a lot!

@encounter
Copy link
Owner

Nice work, thanks!

@encounter encounter merged commit d969819 into encounter:main Jun 10, 2025
16 checks passed
@cadmic cadmic deleted the erased-endian branch June 10, 2025 05:35
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.

[BUG] Dwarf error: Unknown DWARF attribute 4608 (0x1200)

3 participants