This is an archive of the discontinued LLVM Phabricator instance.

[X86] Parse data32 call in .code16 as CALLpcrel32
ClosedPublic

Authored by MaskRay on Sep 23 2020, 12:11 AM.

Details

Summary

Used by kexec-tools (PR46942)
In GNU as, tc-i386.c:output_jump uses 4-byte immediate if a data32 prefix is present.

Diff Detail

Event Timeline

MaskRay created this revision.Sep 23 2020, 12:11 AM
Herald added a project: Restricted Project. · View Herald TranscriptSep 23 2020, 12:11 AM
MaskRay requested review of this revision.Sep 23 2020, 12:11 AM
This revision is now accepted and ready to land.Sep 23 2020, 6:22 PM
This revision was automatically updated to reflect the committed changes.