1/* Copyright (C) 2003, 2004 Free Software Foundation, Inc. 2This file is part of the GNU C Library. 3 4The GNU C Library is free software; you can redistribute it and/or 5modify it under the terms of the GNU Lesser General Public License as 6published by the Free Software Foundation; either version 2.1 of the 7License, or (at your option) any later version. 8 9In addition to the permissions in the GNU Lesser General Public 10License, the Free Software Foundation gives you unlimited 11permission to link the compiled version of this file with other 12programs, and to distribute those programs without any restriction 13coming from the use of this file. (The GNU Lesser General Public 14License restrictions do apply in other respects; for example, they 15cover modification of the file, and distribution when not linked 16into another program.) 17 18The GNU C Library is distributed in the hope that it will be useful, 19but WITHOUT ANY WARRANTY; without even the implied warranty of 20MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 21Library General Public License for more details. 22 23You should have received a copy of the GNU Lesser General Public 24License along with the GNU C Library; see the file COPYING.LIB. If 25not, see <http://www.gnu.org/licenses/>. */ 26 27 .section .init,"x" 28 .p2align 2 29 .globl _init 30 .type _init, @function 31_init: 32 addi sp,#-16,sp 33 st.p fp, @(sp,gr0) 34 mov sp, fp 35 movsg lr, gr5 36 sti gr15, @(fp,4) 37 sti gr5, @(fp,8) 38 39 .section .fini,"x" 40 .p2align 2 41 .globl _fini 42 .type _fini, @function 43_fini: 44 addi sp,#-16,sp 45 st.p fp, @(sp,gr0) 46 mov sp, fp 47 movsg lr, gr5 48 sti gr15, @(fp,4) 49 sti gr5, @(fp,8) 50