crti.S (7f3dea244c40159a41ab22da77a434d7c5b5e85a) crti.S (c815a20cb23f53317c4d23d1884cd5e486dee876)
1/*-
2 * Copyright 1996-1998 John D. Polstra.
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 11 unchanged lines hidden (view full) ---

20 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
21 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
23 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
24 *
25 * $FreeBSD$
26 */
27
1/*-
2 * Copyright 1996-1998 John D. Polstra.
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 11 unchanged lines hidden (view full) ---

20 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
21 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
23 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
24 *
25 * $FreeBSD$
26 */
27
28 /* See http://www.netbsd.org/Documentation/kernel/elf-notes.html for
29 details on the ELF .note section as we are using it. */
30 .section .note.ABI-tag, "a"
31 .align 4
32 .long 1f - 0f # name length
33 .long 3f - 2f # data length
34 .long 1 # note type
350: .asciz "FreeBSD" # vendor name
361: .align 4
372: .long 500000 # data - ABI tag
38 # (from __FreeBSD_version (param.h))
393: .align 4 # pad out section
40
41
28 .section .init,"ax",@progbits
29 .align 4
30 .globl _init
31 .type _init,@function
32_init:
33
34 .section .fini,"ax",@progbits
35 .align 4
36 .globl _fini
37 .type _fini,@function
38_fini:
42 .section .init,"ax",@progbits
43 .align 4
44 .globl _init
45 .type _init,@function
46_init:
47
48 .section .fini,"ax",@progbits
49 .align 4
50 .globl _fini
51 .type _fini,@function
52_fini: