xref: /freebsd/lib/csu/amd64/crtn.S (revision 1d386b48a555f61cb7325543adbbb5c3f3407a66)
1966a88d9SJohn Polstra/*-
2f6d15b87SJohn Polstra * Copyright 1996, 1997, 1998, 2000 John D. Polstra.
3966a88d9SJohn Polstra * All rights reserved.
4966a88d9SJohn Polstra *
5966a88d9SJohn Polstra * Redistribution and use in source and binary forms, with or without
6966a88d9SJohn Polstra * modification, are permitted provided that the following conditions
7966a88d9SJohn Polstra * are met:
8966a88d9SJohn Polstra * 1. Redistributions of source code must retain the above copyright
9966a88d9SJohn Polstra *    notice, this list of conditions and the following disclaimer.
10966a88d9SJohn Polstra * 2. Redistributions in binary form must reproduce the above copyright
11966a88d9SJohn Polstra *    notice, this list of conditions and the following disclaimer in the
12966a88d9SJohn Polstra *    documentation and/or other materials provided with the distribution.
13966a88d9SJohn Polstra *
14966a88d9SJohn Polstra * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
15966a88d9SJohn Polstra * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
16966a88d9SJohn Polstra * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
17966a88d9SJohn Polstra * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
18966a88d9SJohn Polstra * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
19966a88d9SJohn Polstra * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
20966a88d9SJohn Polstra * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
21966a88d9SJohn Polstra * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
22966a88d9SJohn Polstra * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
23966a88d9SJohn Polstra * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
24966a88d9SJohn Polstra */
25966a88d9SJohn Polstra
26cbbcfbf8SDimitry Andric#include <machine/asm.h>
27ae7c8a2bSDavid E. O'Brien	.section .init,"ax",@progbits
28*f049c92aSDmitry Chagin	popq	%rbp
29ae7c8a2bSDavid E. O'Brien	ret
30ae7c8a2bSDavid E. O'Brien
31ae7c8a2bSDavid E. O'Brien	.section .fini,"ax",@progbits
32*f049c92aSDmitry Chagin	popq	%rbp
33ae7c8a2bSDavid E. O'Brien	ret
3488c23d85SKonstantin Belousov
3588c23d85SKonstantin Belousov	.section .note.GNU-stack,"",%progbits
36