Deleted Added
full compact
crti.S (217399) crti.S (218824)
1/*-
2 * Copyright 2001 David E. O'Brien
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

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

19 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
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
26#include <machine/asm.h>
1/*-
2 * Copyright 2001 David E. O'Brien
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

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

19 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
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
26#include <machine/asm.h>
27__FBSDID("$FreeBSD: head/lib/csu/powerpc64/crti.S 217399 2011-01-14 11:34:58Z kib $");
27__FBSDID("$FreeBSD: head/lib/csu/powerpc64/crti.S 218824 2011-02-18 21:44:53Z nwhitehorn $");
28
29 .section .init,"ax",@progbits
30 .align 2
31 .globl _init
32 .section ".opd","aw"
33 .align 3
34_init:
28
29 .section .init,"ax",@progbits
30 .align 2
31 .globl _init
32 .section ".opd","aw"
33 .align 3
34_init:
35 .quad ._init,.TOC.@tocbase,0
35 .quad .L._init,.TOC.@tocbase,0
36 .previous
36 .previous
37 .type _init,@function
37
38 .align 4
38
39 .align 4
39 .global ._init
40 .type ._init,@function
41._init:
40.L._init:
42 stdu 1,-48(1)
43 mflr 0
44 std 0,64(1)
45
46 .section .fini,"ax",@progbits
47 .align 2
48 .globl _fini
49 .section ".opd","aw"
50 .align 3
51_fini:
41 stdu 1,-48(1)
42 mflr 0
43 std 0,64(1)
44
45 .section .fini,"ax",@progbits
46 .align 2
47 .globl _fini
48 .section ".opd","aw"
49 .align 3
50_fini:
52 .quad ._fini,.TOC.@tocbase,0
51 .quad .L._fini,.TOC.@tocbase,0
53 .previous
52 .previous
53 .type _fini,@function
54
55 .align 4
54
55 .align 4
56 .global ._fini
57 .type ._fini,@function
58._fini:
56.L._fini:
59 stdu 1,-48(1)
60 mflr 0
61 std 0,64(1)
62
63 .section .note.GNU-stack,"",%progbits
57 stdu 1,-48(1)
58 mflr 0
59 std 0,64(1)
60
61 .section .note.GNU-stack,"",%progbits