1254219Scy/* c-isr library stuff of Andes NDS32 cpu for GNU compiler 2254219Scy Copyright (C) 2012-2020 Free Software Foundation, Inc. 3254219Scy Contributed by Andes Technology Corporation. 4254219Scy 5254219Scy This file is part of GCC. 6254219Scy 7254219Scy GCC is free software; you can redistribute it and/or modify it 8254219Scy under the terms of the GNU General Public License as published 9254219Scy by the Free Software Foundation; either version 3, or (at your 10254219Scy option) any later version. 11254219Scy 12254219Scy GCC is distributed in the hope that it will be useful, but WITHOUT 13254219Scy ANY WARRANTY; without even the implied warranty of MERCHANTABILITY 14254219Scy or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public 15254219Scy License for more details. 16254219Scy 17254219Scy Under Section 7 of GPL version 3, you are granted additional 18254219Scy permissions described in the GCC Runtime Library Exception, version 19254219Scy 3.1, as published by the Free Software Foundation. 20254219Scy 21254219Scy You should have received a copy of the GNU General Public License and 22254219Scy a copy of the GCC Runtime Library Exception along with this program; 23254219Scy see the files COPYING3 and COPYING.RUNTIME respectively. If not, see 24254219Scy <http://www.gnu.org/licenses/>. */ 25 26 .section .nds32_vector.31, "ax" 27#if __NDS32_ISR_VECTOR_SIZE_4__ 28 /* The vector size is default 4-byte for v3 architecture. */ 29 .vec_size 4 30 .align 2 31#else 32 /* The vector size is default 16-byte for other architectures. */ 33 .vec_size 16 34 .align 4 35#endif 36 .weak _nds32_vector_31 37 .type _nds32_vector_31, @function 38_nds32_vector_31: 391: 40 j 1b 41 .size _nds32_vector_31, .-_nds32_vector_31 42