crt0.S revision 1.5
11.5Srin/* $NetBSD: crt0.S,v 1.5 2023/07/28 11:22:43 rin Exp $ */ 21.1Sjoerg 31.3Smatt/*- 41.3Smatt * Copyright (c) 2013 The NetBSD Foundation, Inc. 51.1Sjoerg * All rights reserved. 61.3Smatt * 71.3Smatt * This code is derived from software contributed to The NetBSD Foundation 81.3Smatt * by Matt Thomas of 3am Software Foundry. 91.3Smatt * 101.1Sjoerg * Redistribution and use in source and binary forms, with or without 111.1Sjoerg * modification, are permitted provided that the following conditions 121.1Sjoerg * are met: 131.1Sjoerg * 1. Redistributions of source code must retain the above copyright 141.1Sjoerg * notice, this list of conditions and the following disclaimer. 151.1Sjoerg * 2. Redistributions in binary form must reproduce the above copyright 161.1Sjoerg * notice, this list of conditions and the following disclaimer in the 171.1Sjoerg * documentation and/or other materials provided with the distribution. 181.3Smatt * 191.3Smatt * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS 201.3Smatt * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 211.3Smatt * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 221.3Smatt * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS 231.3Smatt * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 241.3Smatt * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 251.3Smatt * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 261.3Smatt * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 271.3Smatt * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 281.3Smatt * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 291.3Smatt * POSSIBILITY OF SUCH DAMAGE. 301.1Sjoerg */ 311.1Sjoerg 321.3Smatt#include <vax/asm.h> 331.1Sjoerg 341.5SrinRCSID("$NetBSD: crt0.S,v 1.5 2023/07/28 11:22:43 rin Exp $") 351.1Sjoerg 361.1SjoergSTRONG_ALIAS(_start,__start) 371.1Sjoerg 381.5Srin_ENTRY(__start, 0x0000) 391.4Sjoerg pushl %r9 /* ps_strings */ 401.1Sjoerg pushl %r7 /* cleanup */ 411.4Sjoerg calls $2,___start 421.3SmattEND(__start) 43