crti.S revision 217105
134198Sjdp/*- 260698Sjdp * Copyright 1996, 1997, 1998, 2000 John D. Polstra. 334198Sjdp * All rights reserved. 434198Sjdp * 534198Sjdp * Redistribution and use in source and binary forms, with or without 634198Sjdp * modification, are permitted provided that the following conditions 734198Sjdp * are met: 834198Sjdp * 1. Redistributions of source code must retain the above copyright 934198Sjdp * notice, this list of conditions and the following disclaimer. 1034198Sjdp * 2. Redistributions in binary form must reproduce the above copyright 1134198Sjdp * notice, this list of conditions and the following disclaimer in the 1234198Sjdp * documentation and/or other materials provided with the distribution. 1334198Sjdp * 1434198Sjdp * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 1534198Sjdp * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 1634198Sjdp * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 1734198Sjdp * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 1834198Sjdp * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 1934198Sjdp * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 2034198Sjdp * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 2134198Sjdp * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 2234198Sjdp * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 2334198Sjdp * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 2434198Sjdp */ 2534198Sjdp 26216338Sdim#include <machine/asm.h> 27216338Sdim__FBSDID("$FreeBSD: head/lib/csu/amd64/crti.S 217105 2011-01-07 16:07:51Z kib $"); 28216338Sdim 2967811Sobrien .section .init,"ax",@progbits 3067811Sobrien .align 4 3167811Sobrien .globl _init 3267811Sobrien .type _init,@function 3367811Sobrien_init: 34127252Speter subq $8,%rsp 3567811Sobrien 3667811Sobrien .section .fini,"ax",@progbits 3767811Sobrien .align 4 3867811Sobrien .globl _fini 3967811Sobrien .type _fini,@function 4067811Sobrien_fini: 41127252Speter subq $8,%rsp 42217105Skib 43217105Skib .section .note.GNU-stack,"",%progbits 44