Ken Thompson | 28429aa | 2008-06-05 16:55:06 -0700 | [diff] [blame] | 1 | // Copyright 2009 The Go Authors. All rights reserved. |
| 2 | // Use of this source code is governed by a BSD-style |
| 3 | // license that can be found in the LICENSE file. |
| 4 | |
Rob Pike | 8e82a67 | 2008-06-30 11:50:36 -0700 | [diff] [blame] | 5 | // Darwin and Linux use the same linkage to main |
Ken Thompson | 28429aa | 2008-06-05 16:55:06 -0700 | [diff] [blame] | 6 | |
Rob Pike | 3719aa4 | 2008-06-27 13:10:56 -0700 | [diff] [blame] | 7 | TEXT _rt0_amd64_darwin(SB),7,$-8 |
Rob Pike | 8e82a67 | 2008-06-30 11:50:36 -0700 | [diff] [blame] | 8 | MOVQ $_rt0_amd64(SB), AX |
| 9 | JMP AX |