[all-commits] [llvm/llvm-project] 3d38a9: [X86] Parse data32 call in .code16 as CALLpcrel32

Fangrui Song via All-commits all-commits at lists.llvm.org
Wed Sep 23 18:37:59 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 3d38a975d72c8711a123d1862e517bcbdab7d700
      https://github.com/llvm/llvm-project/commit/3d38a975d72c8711a123d1862e517bcbdab7d700
  Author: Fangrui Song <i at maskray.me>
  Date:   2020-09-23 (Wed, 23 Sep 2020)

  Changed paths:
    M llvm/lib/Target/X86/AsmParser/X86AsmParser.cpp
    M llvm/test/MC/X86/data-prefix-fail.s
    M llvm/test/MC/X86/x86-16.s

  Log Message:
  -----------
  [X86] Parse data32 call in .code16 as CALLpcrel32

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

Reviewed By: craig.topper

Differential Revision: https://reviews.llvm.org/D88137




More information about the All-commits mailing list