Deleted Added
full compact
crti.S (216338) crti.S (217105)
1/*-
2 * Copyright 1996, 1997, 1998, 2000 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

--- 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 1996, 1997, 1998, 2000 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

--- 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/i386-elf/crti.S 216338 2010-12-09 21:31:21Z dim $");
27__FBSDID("$FreeBSD: head/lib/csu/i386-elf/crti.S 217105 2011-01-07 16:07:51Z kib $");
28
29 .section .init,"ax",@progbits
30 .align 4
31 .globl _init
32 .type _init,@function
33_init:
34 sub $12,%esp /* re-align stack pointer */
35
36 .section .fini,"ax",@progbits
37 .align 4
38 .globl _fini
39 .type _fini,@function
40_fini:
41 sub $12,%esp /* re-align stack pointer */
28
29 .section .init,"ax",@progbits
30 .align 4
31 .globl _init
32 .type _init,@function
33_init:
34 sub $12,%esp /* re-align stack pointer */
35
36 .section .fini,"ax",@progbits
37 .align 4
38 .globl _fini
39 .type _fini,@function
40_fini:
41 sub $12,%esp /* re-align stack pointer */
42
43 .section .note.GNU-stack,"",%progbits