Ignore:
Timestamp:
Feb 8, 2018, 7:47:26 PM (22 months ago)
Author:
matszpk
Message:

CLRadeonExtender: AsmROCm: set type 'OBJECT' to extra symbols in globaldata section. Add extra symbols to dynsym table.

File:
1 edited

Legend:

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

    r3758 r3760  
    22182218    /* extra symbols */
    22192219    for (const BinSymbol& symbol: input->extraSymbols)
    2220         elfBinGen64.addSymbol(ElfSymbol64(symbol, mainBuiltinSectTable,
    2221                          ROCMSECTID_MAX, mainSectionsNum));
     2220    {
     2221        ElfSymbol64 sym(symbol, mainBuiltinSectTable,
     2222                         ROCMSECTID_MAX, mainSectionsNum);
     2223        elfBinGen64.addSymbol(sym);
     2224        elfBinGen64.addDynSymbol(sym);
     2225    }
    22222226   
    22232227    size_t binarySize = elfBinGen64.countSize();
Note: See TracChangeset for help on using the changeset viewer.