Skip to content

MSVC Xbox 360 jump table relocations are wrong on objdiff #350

@rjkiv

Description

@rjkiv

Jump table lis/addi relocs on MSVC X360 are branching to inst 0, instead of the first inst after the bctr.
Image

I was able to confirm this is an issue with objdiff and not jeff, by verifying the .obj and the .s files' output and viewing the correct relocs on their ends:

Image Image

The correct relocation is there in the .s/.obj, objdiff just does not currently use it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions