It is unused.
Passes toolstash -cmp.
Change-Id: I22ae2bb432ce6be377dea43cf018ffccb6e95f37
Reviewed-on: https://go-review.googlesource.com/20698
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Local bool
Args int32
Locals int32
- Value int64
Size int64
Next *LSym
Gotype *LSym
break
}
if s.Type == obj.SCONST {
- ctxt.Instoffset = s.Value + a.Offset
+ ctxt.Instoffset = a.Offset
goto consize
}
- ctxt.Instoffset = s.Value + a.Offset
+ ctxt.Instoffset = a.Offset
/* not sure why this barfs */
return C_LCON
if s.Nosplit != 0 {
fmt.Fprintf(ctxt.Bso, "nosplit ")
}
- fmt.Fprintf(ctxt.Bso, "size=%d value=%d", int64(s.Size), int64(s.Value))
+ fmt.Fprintf(ctxt.Bso, "size=%d", s.Size)
if s.Type == STEXT {
fmt.Fprintf(ctxt.Bso, " args=%#x locals=%#x", uint64(s.Args), uint64(s.Locals))
if s.Leaf != 0 {
if ctxt.Debugpcln != 0 {
fmt.Fprintf(ctxt.Bso, "%6x done\n", uint64(int64(func_.Text.Pc)+func_.Size))
}
- addvarint(ctxt, dst, uint32((func_.Value+func_.Size-pc)/int64(ctxt.Arch.Minlc)))
+ addvarint(ctxt, dst, uint32((func_.Size-pc)/int64(ctxt.Arch.Minlc)))
addvarint(ctxt, dst, 0) // terminator
}
break
}
if s.Type == obj.SCONST {
- ctxt.Instoffset = s.Value + a.Offset
+ ctxt.Instoffset = a.Offset
goto consize
}
- ctxt.Instoffset = s.Value + a.Offset
+ ctxt.Instoffset = a.Offset
/* not sure why this barfs */
return C_LCON
_64bit uintptr // size on 64bit platforms
}{
{Addr{}, 52, 80},
- {LSym{}, 100, 168},
+ {LSym{}, 92, 160},
{Prog{}, 196, 288},
}
Name: name,
Type: 0,
Version: int16(v),
- Value: 0,
Size: 0,
}
ctxt.Hash[SymVer{name, v}] = s