]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libgcc/config/nds32/isr-library/vec_vid21.S
[NDS32] Implement more C ISR extension.
[thirdparty/gcc.git] / libgcc / config / nds32 / isr-library / vec_vid21.S
index f3f401e25a0a7335c1245228c1fea0530ad21cf1..deff0cf9ea9de4d5966c095864effb8fd6a702b4 100644 (file)
    <http://www.gnu.org/licenses/>.  */
 
        .section        .nds32_vector.21, "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_21
        .type   _nds32_vector_21, @function
 _nds32_vector_21: