crtn.S revision 216338
1129203Scognet/*- 2129203Scognet * Copyright 1996, 1997, 1998, 2000 John D. Polstra. 3129203Scognet * All rights reserved. 4129203Scognet * 5129203Scognet * Redistribution and use in source and binary forms, with or without 6129203Scognet * modification, are permitted provided that the following conditions 7129203Scognet * are met: 8129203Scognet * 1. Redistributions of source code must retain the above copyright 9129203Scognet * notice, this list of conditions and the following disclaimer. 10129203Scognet * 2. Redistributions in binary form must reproduce the above copyright 11129203Scognet * notice, this list of conditions and the following disclaimer in the 12129203Scognet * documentation and/or other materials provided with the distribution. 13129203Scognet * 14129203Scognet * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 15129203Scognet * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 16129203Scognet * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 17129203Scognet * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 18129203Scognet * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 19129203Scognet * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 20129203Scognet * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 21129203Scognet * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 22129203Scognet * (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/amd64/crtn.S 216338 2010-12-09 21:31:21Z dim $"); 28 29 .section .init,"ax",@progbits 30 addq $8,%rsp 31 ret 32 33 .section .fini,"ax",@progbits 34 addq $8,%rsp 35 ret 36