Text []*LSym
Data []*LSym
- // ABIAliases are text symbols that should be aliased to all
- // ABIs. These symbols may only be referenced and not defined
- // by this object, since the need for an alias may appear in a
- // different object than the definition. Hence, this
- // information can't be carried in the symbol definition.
- //
- // TODO(austin): Replace this with ABI wrappers once the ABIs
- // actually diverge.
- ABIAliases []*LSym
-
// Constant symbols (e.g. $i64.*) are data symbols created late
// in the concurrent phase. To ensure a deterministic order, we
// add them to a separate list, sort at the end, and append it
// Traverse symbols based on flag, call fn for each symbol.
func (ctxt *Link) traverseSyms(flag traverseFlag, fn func(*LSym)) {
- lists := [][]*LSym{ctxt.Text, ctxt.Data, ctxt.ABIAliases}
+ lists := [][]*LSym{ctxt.Text, ctxt.Data}
for _, list := range lists {
for _, s := range list {
if flag&traverseDefs != 0 {
// Traverse aux symbols, calling fn for each sym/aux pair.
func (ctxt *Link) traverseAuxSyms(flag traverseFlag, fn func(parent *LSym, aux *LSym)) {
- lists := [][]*LSym{ctxt.Text, ctxt.Data, ctxt.ABIAliases}
+ lists := [][]*LSym{ctxt.Text, ctxt.Data}
for _, list := range lists {
for _, s := range list {
if s.Gotype != nil {