crt1_s.S (216338) | crt1_s.S (217105) |
---|---|
1/*- 2 * Copyright 2009 Konstantin Belousov. 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 --- 8 unchanged lines hidden (view full) --- 17 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 18 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 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 * | 1/*- 2 * Copyright 2009 Konstantin Belousov. 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 --- 8 unchanged lines hidden (view full) --- 17 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 18 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 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 * $FreeBSD: head/lib/csu/i386-elf/crt1_s.S 216338 2010-12-09 21:31:21Z dim $ | 25 * $FreeBSD: head/lib/csu/i386-elf/crt1_s.S 217105 2011-01-07 16:07:51Z kib $ |
26 */ 27 28#include <machine/asm.h> | 26 */ 27 28#include <machine/asm.h> |
29__FBSDID("$FreeBSD: head/lib/csu/i386-elf/crt1_s.S 216338 2010-12-09 21:31:21Z dim $"); | 29__FBSDID("$FreeBSD: head/lib/csu/i386-elf/crt1_s.S 217105 2011-01-07 16:07:51Z kib $"); |
30 31 .text 32 .align 4 33 .globl _start 34 .type _start, @function 35_start: 36 .cfi_startproc 37 xorl %ebp,%ebp --- 6 unchanged lines hidden (view full) --- 44 leal 8(%ebp),%eax 45 pushl %eax # argv 46 pushl 4(%ebp) # argc 47 pushl %edx # rtld cleanup 48 call _start1 49 int3 50 .cfi_endproc 51 .size _start, . - _start | 30 31 .text 32 .align 4 33 .globl _start 34 .type _start, @function 35_start: 36 .cfi_startproc 37 xorl %ebp,%ebp --- 6 unchanged lines hidden (view full) --- 44 leal 8(%ebp),%eax 45 pushl %eax # argv 46 pushl 4(%ebp) # argc 47 pushl %edx # rtld cleanup 48 call _start1 49 int3 50 .cfi_endproc 51 .size _start, . - _start |
52 53 .section .note.GNU-stack,"",%progbits |
|