1*af16b938Srin/* $NetBSD: crt0.S,v 1.5 2023/07/28 11:22:43 rin Exp $ */ 201bc9d50Sjoerg 3be5ef6fbSmatt/*- 4be5ef6fbSmatt * Copyright (c) 2013 The NetBSD Foundation, Inc. 501bc9d50Sjoerg * All rights reserved. 601bc9d50Sjoerg * 7be5ef6fbSmatt * This code is derived from software contributed to The NetBSD Foundation 8be5ef6fbSmatt * by Matt Thomas of 3am Software Foundry. 9be5ef6fbSmatt * 1001bc9d50Sjoerg * Redistribution and use in source and binary forms, with or without 1101bc9d50Sjoerg * modification, are permitted provided that the following conditions 1201bc9d50Sjoerg * are met: 1301bc9d50Sjoerg * 1. Redistributions of source code must retain the above copyright 1401bc9d50Sjoerg * notice, this list of conditions and the following disclaimer. 1501bc9d50Sjoerg * 2. Redistributions in binary form must reproduce the above copyright 1601bc9d50Sjoerg * notice, this list of conditions and the following disclaimer in the 1701bc9d50Sjoerg * documentation and/or other materials provided with the distribution. 1801bc9d50Sjoerg * 19be5ef6fbSmatt * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS 20be5ef6fbSmatt * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 21be5ef6fbSmatt * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 22be5ef6fbSmatt * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS 23be5ef6fbSmatt * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 24be5ef6fbSmatt * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 25be5ef6fbSmatt * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 26be5ef6fbSmatt * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 27be5ef6fbSmatt * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 28be5ef6fbSmatt * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 29be5ef6fbSmatt * POSSIBILITY OF SUCH DAMAGE. 3001bc9d50Sjoerg */ 3101bc9d50Sjoerg 32be5ef6fbSmatt#include <vax/asm.h> 3301bc9d50Sjoerg 34*af16b938SrinRCSID("$NetBSD: crt0.S,v 1.5 2023/07/28 11:22:43 rin Exp $") 3501bc9d50Sjoerg 3601bc9d50SjoergSTRONG_ALIAS(_start,__start) 3701bc9d50Sjoerg 38*af16b938Srin_ENTRY(__start, 0x0000) 39463db15fSjoerg pushl %r9 /* ps_strings */ 4001bc9d50Sjoerg pushl %r7 /* cleanup */ 41463db15fSjoerg calls $2,___start 42be5ef6fbSmattEND(__start) 43