コード例 #1
0
 public extSymPayload(@string name = default, long size = default, long ver = default, sym.SymKind kind = default, uint objidx = default, Sym gotype = default, slice <goobj2.Reloc> relocs = default, slice <objabi.RelocType> reltypes = default, slice <byte> data = default, slice <goobj2.Aux> auxs = default)
 {
     this.name     = name;
     this.size     = size;
     this.ver      = ver;
     this.kind     = kind;
     this.objidx   = objidx;
     this.gotype   = gotype;
     this.relocs   = relocs;
     this.reltypes = reltypes;
     this.data     = data;
     this.auxs     = auxs;
 }
コード例 #2
0
ファイル: xcoff2.cs プロジェクト: zjmit/go2cs
                    // Temporary dumping around for sym.Symbol version of helper
                    // functions in xcoff.go, still being used for some archs/oses.
                    // FIXME: get rid of this file when dodata() is completely
                    // converted.

                    // xcoffUpdateOuterSize stores the size of outer symbols in order to have it
                    // in the symbol table.
                    private static void xcoffUpdateOuterSize(ptr <Link> _addr_ctxt, long size, sym.SymKind stype)
                    {
                        ref Link ctxt = ref _addr_ctxt.val;