| # Copyright 2009 The Go Authors. All rights reserved. |
| # Use of this source code is governed by a BSD-style |
| # license that can be found in the LICENSE file. |
| // AUTOMATICALLY GENERATED BY mkasmh.sh DURING BUILD |
| # The offsets 0 and 4 are also known to: |
| # nacl/thread.c:/^newosproc |
| # ../../cmd/8l/pass.c:/D_GS |
| # ../../libcgo/linux_386.c:/^start |
| # ../../libcgo/darwin_386.c:/^start |
| # These registers are also known to: |
| # ../../libcgo/linux_amd64.c:/^start |
| echo 'unknown $GOARCH: '$GOARCH 1>&2 |
| /^aggr M$/ { aggr = "m" } |
| /^aggr Gobuf$/ { aggr = "gobuf" } |
| printf("#define %s_%s %s\n", aggr, name, offset); |