Ignore:
Timestamp:
Nov 1, 2016, 10:49:52 AM (4 years ago)
Author:
matszpk
Message:

CLRadeonExtender: Small fixes in ROCmBinaries. remove obsolete flags arguments from getGalliumDisasmInputFromBinary.
First code in DisasmROCm. Add ROCm to binary type list.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CLRadeonExtender/trunk/amdbin/ROCmBinaries.cpp

    r2514 r2516  
    5454        if (sym.st_shndx==textIndex)
    5555        {
    56             if (ELF64_ST_TYPE(sym.st_info)==10)
     56            if (ELF64_ST_TYPE(sym.st_info)==STT_GNU_IFUNC)
    5757                kernelsNum++;
    5858            symsNum++;
     
    7575            throw Exception("Kernel offset is too small!");
    7676        const size_t size = ULEV(sym.st_size);
    77         if (ELF64_ST_TYPE(sym.st_info)!=10)
     77        if (ELF64_ST_TYPE(sym.st_info)!=STT_GNU_IFUNC)
    7878        {
    7979            symOffsets[k++] = std::make_pair(value, SIZE_MAX);
Note: See TracChangeset for help on using the changeset viewer.