170656Sobrien/*-
270656Sobrien * Copyright 2001 David E. O'Brien
370656Sobrien * All rights reserved.
470656Sobrien *
570656Sobrien * Redistribution and use in source and binary forms, with or without
670656Sobrien * modification, are permitted provided that the following conditions
770656Sobrien * are met:
870656Sobrien * 1. Redistributions of source code must retain the above copyright
970656Sobrien *    notice, this list of conditions and the following disclaimer.
1070656Sobrien * 2. Redistributions in binary form must reproduce the above copyright
1170656Sobrien *    notice, this list of conditions and the following disclaimer in the
1270656Sobrien *    documentation and/or other materials provided with the distribution.
1370656Sobrien *
1470656Sobrien * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
1570656Sobrien * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
1670656Sobrien * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
1770656Sobrien * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
1870656Sobrien * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
1970656Sobrien * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
2070656Sobrien * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
2170656Sobrien * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
2270656Sobrien * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
2370656Sobrien * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2470656Sobrien */
25216338Sdim
26216338Sdim#include <machine/asm.h>
27216338Sdim__FBSDID("$FreeBSD$");
28216338Sdim
2970656Sobrien	.section .init,"ax",@progbits
3070656Sobrien	.align	2
3170656Sobrien	.globl	_init
32209869Snwhitehorn	.section ".opd","aw"
33209869Snwhitehorn	.align	3
3470656Sobrien_init:
35218824Snwhitehorn	.quad	.L._init,.TOC.@tocbase,0
36209869Snwhitehorn	.previous
37218824Snwhitehorn	.type	_init,@function
38209869Snwhitehorn
39209869Snwhitehorn	.align 4
40218824Snwhitehorn.L._init:
41209869Snwhitehorn	stdu 1,-48(1)
4270656Sobrien	mflr 0
43209869Snwhitehorn	std 0,64(1)
4470656Sobrien
4570656Sobrien	.section .fini,"ax",@progbits
4670656Sobrien	.align	2
4770656Sobrien	.globl	_fini
48209869Snwhitehorn	.section ".opd","aw"
49209869Snwhitehorn	.align	3
5070656Sobrien_fini:
51218824Snwhitehorn	.quad	.L._fini,.TOC.@tocbase,0
52209869Snwhitehorn	.previous
53218824Snwhitehorn	.type	_fini,@function
54209869Snwhitehorn
55209869Snwhitehorn	.align 4
56218824Snwhitehorn.L._fini:
57209869Snwhitehorn	stdu 1,-48(1)
5870656Sobrien	mflr 0
59209869Snwhitehorn	std 0,64(1)
60217399Skib
61217399Skib	.section .note.GNU-stack,"",%progbits
62