1 1.1 mrg /* c-isr library stuff of Andes NDS32 cpu for GNU compiler 2 1.7 mrg Copyright (C) 2012-2022 Free Software Foundation, Inc. 3 1.1 mrg Contributed by Andes Technology Corporation. 4 1.1 mrg 5 1.1 mrg This file is part of GCC. 6 1.1 mrg 7 1.1 mrg GCC is free software; you can redistribute it and/or modify it 8 1.1 mrg under the terms of the GNU General Public License as published 9 1.1 mrg by the Free Software Foundation; either version 3, or (at your 10 1.1 mrg option) any later version. 11 1.1 mrg 12 1.1 mrg GCC is distributed in the hope that it will be useful, but WITHOUT 13 1.1 mrg ANY WARRANTY; without even the implied warranty of MERCHANTABILITY 14 1.1 mrg or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public 15 1.1 mrg License for more details. 16 1.1 mrg 17 1.1 mrg Under Section 7 of GPL version 3, you are granted additional 18 1.1 mrg permissions described in the GCC Runtime Library Exception, version 19 1.1 mrg 3.1, as published by the Free Software Foundation. 20 1.1 mrg 21 1.1 mrg You should have received a copy of the GNU General Public License and 22 1.1 mrg a copy of the GCC Runtime Library Exception along with this program; 23 1.1 mrg see the files COPYING3 and COPYING.RUNTIME respectively. If not, see 24 1.1 mrg <http://www.gnu.org/licenses/>. */ 25 1.1 mrg 26 1.1 mrg .section .nds32_vector.15, "ax" 27 1.5 mrg #if __NDS32_ISR_VECTOR_SIZE_4__ 28 1.5 mrg /* The vector size is default 4-byte for v3 architecture. */ 29 1.5 mrg .vec_size 4 30 1.5 mrg .align 2 31 1.5 mrg #else 32 1.5 mrg /* The vector size is default 16-byte for other architectures. */ 33 1.1 mrg .vec_size 16 34 1.1 mrg .align 4 35 1.5 mrg #endif 36 1.1 mrg .weak _nds32_vector_15 37 1.1 mrg .type _nds32_vector_15, @function 38 1.1 mrg _nds32_vector_15: 39 1.1 mrg 1: 40 1.1 mrg j 1b 41 1.1 mrg .size _nds32_vector_15, .-_nds32_vector_15 42