xref: /netbsd-src/lib/csu/arch/vax/crti.S (revision 01bc9d50122e3842a80213c83e706f3d4fb0f873)
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 Ross Harvey
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 * 3. All advertising materials mentioning features or use of this software
16*01bc9d50Sjoerg *    must display the following acknowledgement:
17*01bc9d50Sjoerg *	This product includes software developed by the NetBSD
18*01bc9d50Sjoerg *	Foundation, Inc. and its contributors.
19*01bc9d50Sjoerg * 4. Neither the name of The NetBSD Foundation nor the names of its
20*01bc9d50Sjoerg *    contributors may be used to endorse or promote products derived
21*01bc9d50Sjoerg *    from this software without specific prior written permission.
22*01bc9d50Sjoerg *
23*01bc9d50Sjoerg * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
24*01bc9d50Sjoerg * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
25*01bc9d50Sjoerg * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
26*01bc9d50Sjoerg * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
27*01bc9d50Sjoerg * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
28*01bc9d50Sjoerg * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
29*01bc9d50Sjoerg * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
30*01bc9d50Sjoerg * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
31*01bc9d50Sjoerg * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
32*01bc9d50Sjoerg * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
33*01bc9d50Sjoerg * POSSIBILITY OF SUCH DAMAGE.
34*01bc9d50Sjoerg */
35*01bc9d50Sjoerg
36*01bc9d50Sjoerg#include <machine/asm.h>
37*01bc9d50Sjoerg
38*01bc9d50SjoergRCSID("$NetBSD: crti.S,v 1.1 2010/08/07 18:01:34 joerg Exp $")
39*01bc9d50Sjoerg
40*01bc9d50Sjoerg#include "sysident.S"
41*01bc9d50Sjoerg
42*01bc9d50Sjoerg	.section ".init", "ax", @progbits
43*01bc9d50Sjoerg	.align 1
44*01bc9d50Sjoerg	.globl _init
45*01bc9d50Sjoerg_init:
46*01bc9d50Sjoerg	.word 0
47*01bc9d50Sjoerg
48*01bc9d50Sjoerg	.section ".fini", "ax", @progbits
49*01bc9d50Sjoerg	.align 1
50*01bc9d50Sjoerg	.globl _fini
51*01bc9d50Sjoerg_fini:
52*01bc9d50Sjoerg	.word 0
53