xref: /minix3/lib/csu/arch/sparc64/crtend.S (revision 84d9c625bfea59e274550651111ae9edfdc40fbd)
1*84d9c625SLionel Sambuc/*	$NetBSD: crtend.S,v 1.1 2013/07/11 06:57:15 martin Exp $	*/
2*84d9c625SLionel Sambuc/*-
3*84d9c625SLionel Sambuc * Copyright (c) 2010 Joerg Sonnenberger <joerg@NetBSD.org>
4*84d9c625SLionel Sambuc * All rights reserved.
5*84d9c625SLionel Sambuc *
6*84d9c625SLionel Sambuc * Redistribution and use in source and binary forms, with or without
7*84d9c625SLionel Sambuc * modification, are permitted provided that the following conditions
8*84d9c625SLionel Sambuc * are met:
9*84d9c625SLionel Sambuc *
10*84d9c625SLionel Sambuc * 1. Redistributions of source code must retain the above copyright
11*84d9c625SLionel Sambuc *    notice, this list of conditions and the following disclaimer.
12*84d9c625SLionel Sambuc * 2. Redistributions in binary form must reproduce the above copyright
13*84d9c625SLionel Sambuc *    notice, this list of conditions and the following disclaimer in
14*84d9c625SLionel Sambuc *    the documentation and/or other materials provided with the
15*84d9c625SLionel Sambuc *    distribution.
16*84d9c625SLionel Sambuc *
17*84d9c625SLionel Sambuc * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
18*84d9c625SLionel Sambuc * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
19*84d9c625SLionel Sambuc * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
20*84d9c625SLionel Sambuc * FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE
21*84d9c625SLionel Sambuc * COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
22*84d9c625SLionel Sambuc * INCIDENTAL, SPECIAL, EXEMPLARY OR CONSEQUENTIAL DAMAGES (INCLUDING,
23*84d9c625SLionel Sambuc * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
24*84d9c625SLionel Sambuc * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
25*84d9c625SLionel Sambuc * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
26*84d9c625SLionel Sambuc * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
27*84d9c625SLionel Sambuc * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
28*84d9c625SLionel Sambuc * SUCH DAMAGE.
29*84d9c625SLionel Sambuc */
30*84d9c625SLionel Sambuc
31*84d9c625SLionel Sambuc#include <machine/asm.h>
32*84d9c625SLionel Sambuc
33*84d9c625SLionel SambucRCSID("$NetBSD: crtend.S,v 1.1 2013/07/11 06:57:15 martin Exp $")
34*84d9c625SLionel Sambuc
35*84d9c625SLionel Sambuc	.section	.ctors, "aw", @progbits
36*84d9c625SLionel Sambuc	.align 8
37*84d9c625SLionel Sambuc	.global		__CTOR_LIST_END__
38*84d9c625SLionel Sambuc	.hidden 	__CTOR_LIST_END__
39*84d9c625SLionel Sambuc__CTOR_LIST_END__:
40*84d9c625SLionel Sambuc	.quad 0
41*84d9c625SLionel Sambuc
42*84d9c625SLionel Sambuc	.section	.dtors, "aw", @progbits
43*84d9c625SLionel Sambuc	.align 8
44*84d9c625SLionel Sambuc	.global		__DTOR_LIST_END__
45*84d9c625SLionel Sambuc	.hidden 	__DTOR_LIST_END__
46*84d9c625SLionel Sambuc__DTOR_LIST_END__:
47*84d9c625SLionel Sambuc	.quad 0
48*84d9c625SLionel Sambuc
49*84d9c625SLionel Sambuc	.section	.eh_frame, "a", @progbits
50*84d9c625SLionel Sambuc	.align 8
51*84d9c625SLionel Sambuc	.quad 0
52*84d9c625SLionel Sambuc
53*84d9c625SLionel Sambuc	.section	.jcr, "aw", @progbits
54*84d9c625SLionel Sambuc	.align 8
55*84d9c625SLionel Sambuc	.quad 0
56