Ignore:
Timestamp:
Feb 9, 2018, 8:18:46 AM (19 months ago)
Author:
matszpk
Message:

CLRadeonExtender: Asm: Preliminaries to section differences in expressions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CLRadeonExtender/trunk/CLRX/amdasm/AsmDefs.h

    r3630 r3761  
    667667    uint64_t alignment; ///< section alignment
    668668    uint64_t size;  ///< section size
     669    cxuint relSpace;    ///< relative space where is section
     670    uint64_t relAddress; ///< relative address
    669671    std::vector<cxbyte> content;    ///< content of section
    670672   
     
    675677    AsmSection();
    676678    /// constructor
    677     AsmSection(const char* _name, cxuint _kernelId, AsmSectionType _type,
    678             Flags _flags, uint64_t _alignment, uint64_t _size = 0)
     679    AsmSection(const char* _name, cxuint _kernelId, AsmSectionType _type, Flags _flags,
     680               uint64_t _alignment, uint64_t _size = 0, cxuint _relSpace = UINT_MAX,
     681               uint64_t _relAddress = UINT64_MAX)
    679682            : name(_name), kernelId(_kernelId), type(_type), flags(_flags),
    680               alignment(_alignment), size(_size)
     683              alignment(_alignment), size(_size), relSpace(_relSpace),
     684              relAddress(_relAddress)
    681685    { }
    682686   
Note: See TracChangeset for help on using the changeset viewer.