163d1a8abSmrg# Specialized code needed to support construction and destruction of
263d1a8abSmrg# file-scope objects in C++ and Java code, and to support exception handling.
3*ec02198aSmrg# Copyright (C) 2012-2020 Free Software Foundation, Inc.
463d1a8abSmrg# Contributed by KPIT Cummins Infosystems Limited.
563d1a8abSmrg
663d1a8abSmrg# This file is free software; you can redistribute it and/or modify it
763d1a8abSmrg# under the terms of the GNU General Public License as published by the
863d1a8abSmrg# Free Software Foundation; either version 3, or (at your option) any
963d1a8abSmrg# later version.
1063d1a8abSmrg#
1163d1a8abSmrg# This file is distributed in the hope that it will be useful, but
1263d1a8abSmrg# WITHOUT ANY WARRANTY; without even the implied warranty of
1363d1a8abSmrg# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
1463d1a8abSmrg# General Public License for more details.
1563d1a8abSmrg#
1663d1a8abSmrg# Under Section 7 of GPL version 3, you are granted additional
1763d1a8abSmrg# permissions described in the GCC Runtime Library Exception, version
1863d1a8abSmrg# 3.1, as published by the Free Software Foundation.
1963d1a8abSmrg#
2063d1a8abSmrg# You should have received a copy of the GNU General Public License and
2163d1a8abSmrg# a copy of the GCC Runtime Library Exception along with this program;
2263d1a8abSmrg# see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see
2363d1a8abSmrg# <http://www.gnu.org/licenses/>.
2463d1a8abSmrg
2563d1a8abSmrg
2663d1a8abSmrg/* This file supplies function epilogues for the .init and .fini sections.
2763d1a8abSmrg  It is linked in after all other files.  */
2863d1a8abSmrg
2963d1a8abSmrg	.ident  "GNU C crtn.o"
3063d1a8abSmrg
3163d1a8abSmrg	.section .init
3263d1a8abSmrg#if defined (__ID_SHARED_LIB__)
3363d1a8abSmrg	popret	$2, r12, ra
3463d1a8abSmrg#else
3563d1a8abSmrg	popret	ra
3663d1a8abSmrg#endif
3763d1a8abSmrg
3863d1a8abSmrg	.section .fini
3963d1a8abSmrg#if defined (__ID_SHARED_LIB__)
4063d1a8abSmrg	popret	$2, r12, ra
4163d1a8abSmrg#else
4263d1a8abSmrg	popret	ra
4363d1a8abSmrg#endif
4463d1a8abSmrg
45