]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libgcc/config/nds32/isr-library/vec_vid12.S
Update copyright years.
[thirdparty/gcc.git] / libgcc / config / nds32 / isr-library / vec_vid12.S
index 5d78fbb2e6821dfb00ded1aaf5cb3d91d1e9557c..51c0b98d6e7dea5662315513918811895eb669fb 100644 (file)
@@ -1,5 +1,5 @@
 /* c-isr library stuff of Andes NDS32 cpu for GNU compiler
-   Copyright (C) 2012-2013 Free Software Foundation, Inc.
+   Copyright (C) 2012-2023 Free Software Foundation, Inc.
    Contributed by Andes Technology Corporation.
 
    This file is part of GCC.
    <http://www.gnu.org/licenses/>.  */
 
        .section        .nds32_vector.12, "ax"
+#if __NDS32_ISR_VECTOR_SIZE_4__
+       /* The vector size is default 4-byte for v3 architecture.  */
+       .vec_size       4
+       .align  2
+#else
+       /* The vector size is default 16-byte for other architectures.  */
        .vec_size       16
        .align  4
+#endif
        .weak   _nds32_vector_12
        .type   _nds32_vector_12, @function
 _nds32_vector_12: