xref: /dflybsd-src/lib/csu/x86_64/crti.S (revision f4df877297f500e9a39a8d96275c2520079d6e40)
1b2b3ffcdSSimon Schubert/*-
2b2b3ffcdSSimon Schubert * Copyright 1996, 1997, 1998, 2000 John D. Polstra.
3b2b3ffcdSSimon Schubert * All rights reserved.
4b2b3ffcdSSimon Schubert *
5b2b3ffcdSSimon Schubert * Redistribution and use in source and binary forms, with or without
6b2b3ffcdSSimon Schubert * modification, are permitted provided that the following conditions
7b2b3ffcdSSimon Schubert * are met:
8b2b3ffcdSSimon Schubert * 1. Redistributions of source code must retain the above copyright
9b2b3ffcdSSimon Schubert *    notice, this list of conditions and the following disclaimer.
10b2b3ffcdSSimon Schubert * 2. Redistributions in binary form must reproduce the above copyright
11b2b3ffcdSSimon Schubert *    notice, this list of conditions and the following disclaimer in the
12b2b3ffcdSSimon Schubert *    documentation and/or other materials provided with the distribution.
13b2b3ffcdSSimon Schubert *
14b2b3ffcdSSimon Schubert * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
15b2b3ffcdSSimon Schubert * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
16b2b3ffcdSSimon Schubert * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
17b2b3ffcdSSimon Schubert * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
18b2b3ffcdSSimon Schubert * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
19b2b3ffcdSSimon Schubert * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
20b2b3ffcdSSimon Schubert * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
21b2b3ffcdSSimon Schubert * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
22b2b3ffcdSSimon Schubert * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
23b2b3ffcdSSimon Schubert * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
24b2b3ffcdSSimon Schubert *
25b2b3ffcdSSimon Schubert * $FreeBSD: src/lib/csu/amd64/crti.S,v 1.6 2002/05/15 04:19:49 obrien Exp $
26b2b3ffcdSSimon Schubert */
27b2b3ffcdSSimon Schubert
28b2b3ffcdSSimon Schubert	.section .init,"ax",@progbits
29b2b3ffcdSSimon Schubert	.align	4
30b2b3ffcdSSimon Schubert	.globl	_init
31b2b3ffcdSSimon Schubert	.type	_init,@function
32b2b3ffcdSSimon Schubert_init:
33c7a4cde7SAlex Hornung	subq	$8,%rsp
34b2b3ffcdSSimon Schubert
35b2b3ffcdSSimon Schubert	.section .fini,"ax",@progbits
36b2b3ffcdSSimon Schubert	.align	4
37b2b3ffcdSSimon Schubert	.globl	_fini
38b2b3ffcdSSimon Schubert	.type	_fini,@function
39b2b3ffcdSSimon Schubert_fini:
40c7a4cde7SAlex Hornung	subq	$8,%rsp
41b2b3ffcdSSimon Schubert
42*f4df8772SJohn Marino	.section .note.GNU-stack,"",%progbits
43