Changeset 4933 in CLRX


Ignore:
Timestamp:
Aug 25, 2019, 3:09:34 PM (3 weeks ago)
Author:
matszpk
Message:

CLRadeonExtender: ROCm: obsolete line. Elf: Accept ELF with ABIVER = 1 (fix for ROCm LLVM10).

Location:
CLRadeonExtender/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • CLRadeonExtender/trunk/amdasm/DisasmROCm.cpp

    r4932 r4933  
    733733    output.write("    .config\n", 12);
    734734    output.write("        .md_symname \"", 21);
    735     //output.write(kernel.symbolName.c_str(), kernel.symbolName.size());
    736735    {
    737736        std::string symName = escapeStringCStyle(kernel.symbolName);
  • CLRadeonExtender/trunk/amdbin/ElfBinaries.cpp

    r4518 r4933  
    364364        (binary[EI_CLASS] == ELFCLASS64 && binarySize < sizeof(Elf64_Ehdr)))
    365365        return false;
    366     if (ULEV(*((const uint64_t*)(binary+8))) != 0)
     366    const uint64_t padval = ULEV(*((const uint64_t*)(binary+8)));
     367    if (padval != 0 && padval != 1)
    367368        return false;
    368369    return true;
Note: See TracChangeset for help on using the changeset viewer.