PR libstdc++/84769 qualify std::get and std::get_if to avoid ADL
[official-gcc.git] / libgcc / config / microblaze / crtn.S
blobcd5fd9e4c16429234262450266eb18fa3fa9cd1e
1 /* crtn.s for __init, __fini
2    This file supplies the epilogue for __init and __fini routines 
4    Copyright (C) 2009-2018 Free Software Foundation, Inc.
6    Contributed by Michael Eager <eager@eagercon.com>.
8    This file is free software; you can redistribute it and/or modify it
9    under the terms of the GNU General Public License as published by the
10    Free Software Foundation; either version 3, or (at your option) any
11    later version.
13    GCC is distributed in the hope that it will be useful, but WITHOUT
14    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
15    or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public
16    License for more details.
18    Under Section 7 of GPL version 3, you are granted additional
19    permissions described in the GCC Runtime Library Exception, version
20    3.1, as published by the Free Software Foundation.
22    You should have received a copy of the GNU General Public License and
23    a copy of the GCC Runtime Library Exception along with this program;
24    see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see
25    <http://www.gnu.org/licenses/>.  */
27 /* An executable stack is *not* required for these functions.  */
28 #ifdef __linux__
29 .section .note.GNU-stack,"",%progbits
30 .previous
31 #endif
33     .section .init, "ax"
34     lw      r15, r0, r1
35     rtsd    r15, 8 
36     addik   r1, r1, 8
38     .section .fini, "ax"
39     lw      r15, r0, r1
40     rtsd    r15, 8 
41     addik   r1, r1, 8