190075Sobrien# Copyright (C) 2000, 2001 Free Software Foundation, Inc. 290075Sobrien# Written By Timothy Wall 3132718Skan# 490075Sobrien# This file is free software; you can redistribute it and/or modify it 590075Sobrien# under the terms of the GNU General Public License as published by the 690075Sobrien# Free Software Foundation; either version 2, or (at your option) any 790075Sobrien# later version. 8132718Skan# 990075Sobrien# In addition to the permissions in the GNU General Public License, the 1090075Sobrien# Free Software Foundation gives you unlimited permission to link the 1190075Sobrien# compiled version of this file with other programs, and to distribute 1290075Sobrien# those programs without any restriction coming from the use of this 1390075Sobrien# file. (The General Public License restrictions do apply in other 1490075Sobrien# respects; for example, they cover modification of the file, and 1590075Sobrien# distribution when not linked into another program.) 16132718Skan# 1790075Sobrien# This file is distributed in the hope that it will be useful, but 1890075Sobrien# WITHOUT ANY WARRANTY; without even the implied warranty of 1990075Sobrien# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 2090075Sobrien# General Public License for more details. 21132718Skan# 2290075Sobrien# You should have received a copy of the GNU General Public License 2390075Sobrien# along with this program; see the file COPYING. If not, write to 24169689Skan# the Free Software Foundation, 51 Franklin Street, Fifth Floor, 25169689Skan# Boston, MA 02110-1301, USA. 26132718Skan# 2790075Sobrien# As a special exception, if you link this library with files 2890075Sobrien# compiled with GCC to produce an executable, this does not cause 2990075Sobrien# the resulting executable to be covered by the GNU General Public License. 3090075Sobrien# This exception does not however invalidate any other reasons why 3190075Sobrien# the executable file might be covered by the GNU General Public License. 32132718Skan# 3390075Sobrien 3490075Sobrien# This file just makes sure that the .fini and .init sections do in 3590075Sobrien# fact return. Users may put any desired instructions in those sections. 3690075Sobrien# This file is the last thing linked into any executable. 3790075Sobrien 3890075Sobrien .file "crtn.asm" 3990075Sobrien 4090075Sobrien .section ".init" 4190075Sobrien ;; 4290075Sobrien mov ar.pfs = r34 4390075Sobrien mov b0 = r33 4490075Sobrien .restore sp 4590075Sobrien mov r12 = r35 4690075Sobrien br.ret.sptk.many b0 47132718Skan 4890075Sobrien .section ".fini" 4990075Sobrien ;; 5090075Sobrien mov ar.pfs = r34 5190075Sobrien mov b0 = r33 5290075Sobrien .restore sp 5390075Sobrien mov r12 = r35 5490075Sobrien br.ret.sptk.many b0 5590075Sobrien 5690075Sobrien# end of crtn.asm 57