[PATCH] D95755: [ELF] Support a few elf32lriscv_* & elf64lriscv_* emulations

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 1 11:55:41 PST 2021


MaskRay added a comment.

My personal criterion on what should be an emulation: it should have bfd name (`OUTPUT_FORMAT`) difference on e_machine/EI_CLASS/EI_DATA/EI_OSABI (`file format` output in objdump -h output and objcopy's -I/-O values)
x86-64 and AArch64's ILP32 ABIs meet this crterion.

`elf*riscv_{ilp32,ilp32f,lp64,lp64f}` currently fail this condition.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D95755/new/

https://reviews.llvm.org/D95755



More information about the llvm-commits mailing list