[PATCH] AMDGPU/SI: Set ELF OS/ABI to ELFOSABI_AMDGPU_HSA

Rafael EspĂ­ndola rafael.espindola at gmail.com
Wed Jun 24 14:27:01 PDT 2015


> I wasn't sure what to do about this, because there is already an ELFOSABI
> enum entry defined with the value 64.  I could add ELFOSABI_AMDGPU_HSA
> to the same enum with the same value,

Yes, that is what I meant.

> but llvm-readobj would have to choose
> which one to print.

It would have to learn to check the architecture.

Cheers,
Rafael



More information about the llvm-commits mailing list