1*01bc9d50Sjoerg/* $NetBSD: crti.S,v 1.1 2010/08/07 18:01:34 joerg Exp $ */ 2*01bc9d50Sjoerg 3*01bc9d50Sjoerg/* 4*01bc9d50Sjoerg * Copyright (c) 2001 Matthew R. Green 5*01bc9d50Sjoerg * All rights reserved. 6*01bc9d50Sjoerg * 7*01bc9d50Sjoerg * Redistribution and use in source and binary forms, with or without 8*01bc9d50Sjoerg * modification, are permitted provided that the following conditions 9*01bc9d50Sjoerg * are met: 10*01bc9d50Sjoerg * 1. Redistributions of source code must retain the above copyright 11*01bc9d50Sjoerg * notice, this list of conditions and the following disclaimer. 12*01bc9d50Sjoerg * 2. Redistributions in binary form must reproduce the above copyright 13*01bc9d50Sjoerg * notice, this list of conditions and the following disclaimer in the 14*01bc9d50Sjoerg * documentation and/or other materials provided with the distribution. 15*01bc9d50Sjoerg * 16*01bc9d50Sjoerg * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 17*01bc9d50Sjoerg * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 18*01bc9d50Sjoerg * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 19*01bc9d50Sjoerg * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 20*01bc9d50Sjoerg * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 21*01bc9d50Sjoerg * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 22*01bc9d50Sjoerg * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED 23*01bc9d50Sjoerg * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 24*01bc9d50Sjoerg * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 25*01bc9d50Sjoerg * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 26*01bc9d50Sjoerg * SUCH DAMAGE. 27*01bc9d50Sjoerg */ 28*01bc9d50Sjoerg 29*01bc9d50Sjoerg/*- 30*01bc9d50Sjoerg * Copyright (c) 2001 Ross Harvey 31*01bc9d50Sjoerg * All rights reserved. 32*01bc9d50Sjoerg * 33*01bc9d50Sjoerg * Redistribution and use in source and binary forms, with or without 34*01bc9d50Sjoerg * modification, are permitted provided that the following conditions 35*01bc9d50Sjoerg * are met: 36*01bc9d50Sjoerg * 1. Redistributions of source code must retain the above copyright 37*01bc9d50Sjoerg * notice, this list of conditions and the following disclaimer. 38*01bc9d50Sjoerg * 2. Redistributions in binary form must reproduce the above copyright 39*01bc9d50Sjoerg * notice, this list of conditions and the following disclaimer in the 40*01bc9d50Sjoerg * documentation and/or other materials provided with the distribution. 41*01bc9d50Sjoerg * 3. All advertising materials mentioning features or use of this software 42*01bc9d50Sjoerg * must display the following acknowledgement: 43*01bc9d50Sjoerg * This product includes software developed by the NetBSD 44*01bc9d50Sjoerg * Foundation, Inc. and its contributors. 45*01bc9d50Sjoerg * 4. Neither the name of The NetBSD Foundation nor the names of its 46*01bc9d50Sjoerg * contributors may be used to endorse or promote products derived 47*01bc9d50Sjoerg * from this software without specific prior written permission. 48*01bc9d50Sjoerg * 49*01bc9d50Sjoerg * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS 50*01bc9d50Sjoerg * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 51*01bc9d50Sjoerg * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 52*01bc9d50Sjoerg * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS 53*01bc9d50Sjoerg * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 54*01bc9d50Sjoerg * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 55*01bc9d50Sjoerg * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 56*01bc9d50Sjoerg * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 57*01bc9d50Sjoerg * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 58*01bc9d50Sjoerg * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 59*01bc9d50Sjoerg * POSSIBILITY OF SUCH DAMAGE. 60*01bc9d50Sjoerg */ 61*01bc9d50Sjoerg 62*01bc9d50Sjoerg#include <machine/asm.h> 63*01bc9d50Sjoerg 64*01bc9d50SjoergRCSID("$NetBSD: crti.S,v 1.1 2010/08/07 18:01:34 joerg Exp $") 65*01bc9d50Sjoerg 66*01bc9d50Sjoerg#include "sysident.S" 67*01bc9d50Sjoerg 68*01bc9d50Sjoerg .section ".init", "ax", @progbits 69*01bc9d50Sjoerg .align 4 70*01bc9d50Sjoerg .globl _init 71*01bc9d50Sjoerg_init: 72*01bc9d50Sjoerg save %sp, -96, %sp 73*01bc9d50Sjoerg 74*01bc9d50Sjoerg .section ".fini", "ax", @progbits 75*01bc9d50Sjoerg .align 4 76*01bc9d50Sjoerg .globl _fini 77*01bc9d50Sjoerg_fini: 78*01bc9d50Sjoerg save %sp, -96, %sp 79