Fix 4K leak in open_source_file each time next/step changes of function.
[external/binutils.git] / gas / configure.tgt
index 6df7dea..d1b0535 100644 (file)
@@ -173,6 +173,11 @@ case ${generic_target} in
 
   crx-*-elf*)                          fmt=elf ;;
 
+  csky-*-elf*abiv1)                    fmt=elf em=csky_abiv1 ;;
+  csky-*-elf*)                         fmt=elf em=csky_abiv2 ;;
+  csky-*-linux*abiv1)                  fmt=elf em=csky_abiv1_linux ;;
+  csky-*-linux*)                       fmt=elf em=csky_abiv2_linux ;;
+
   d10v-*-*)                            fmt=elf ;;
   d30v-*-*)                            fmt=elf ;;
   dlx-*-*)                             fmt=elf ;;
@@ -431,7 +436,7 @@ case ${generic_target} in
 esac
 
 case ${cpu_type} in
-  aarch64 | alpha | arm | i386 | ia64 | microblaze | mips | ns32k | or1k | or1knd | pdp11 | ppc | riscv | sparc | z80 | z8k)
+  aarch64 | alpha | arm | csky | i386 | ia64 | microblaze | mips | ns32k | or1k | or1knd | pdp11 | ppc | riscv | sparc | z80 | z8k)
     bfd_gas=yes
     ;;
 esac