crtn.S revision 70656
170656Sobrien/*- 270656Sobrien * Copyright 2001 David E. O'Brien 370656Sobrien * All rights reserved. 470656Sobrien * 570656Sobrien * Redistribution and use in source and binary forms, with or without 670656Sobrien * modification, are permitted provided that the following conditions 770656Sobrien * are met: 870656Sobrien * 1. Redistributions of source code must retain the above copyright 970656Sobrien * notice, this list of conditions and the following disclaimer. 1070656Sobrien * 2. Redistributions in binary form must reproduce the above copyright 1170656Sobrien * notice, this list of conditions and the following disclaimer in the 1270656Sobrien * documentation and/or other materials provided with the distribution. 1370656Sobrien * 1470656Sobrien * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 1570656Sobrien * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 1670656Sobrien * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 1770656Sobrien * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 1870656Sobrien * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 1970656Sobrien * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 2070656Sobrien * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 2170656Sobrien * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 2270656Sobrien * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 2370656Sobrien * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 2470656Sobrien * 2570656Sobrien * $FreeBSD: head/lib/csu/powerpc/crtn.S 70656 2001-01-04 10:05:42Z obrien $ 2670656Sobrien */ 2770656Sobrien 2870656Sobrien .section .init,"ax",@progbits 2970656Sobrien lwz 11,0(1) 3070656Sobrien lwz 0,4(11) 3170656Sobrien mtlr 0 3270656Sobrien lwz 31,-4(11) 3370656Sobrien mr 1,11 3470656Sobrien blr 3570656Sobrien 3670656Sobrien 3770656Sobrien .section .fini,"ax",@progbits 3870656Sobrien lwz 11,0(1) 3970656Sobrien lwz 0,4(11) 4070656Sobrien mtlr 0 4170656Sobrien lwz 31,-4(11) 4270656Sobrien mr 1,11 4370656Sobrien blr 44