diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 8977400..e2d34d7 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,27 @@ +2013-12-13 Kuan-Lin Chen + Wei-Cheng Wang + + * Makefile.am (BFD32_BACKENDS, BFD32_BACKENDS_CFILES): Add nds32 files. + * archures.c (bfd_nds32_arch): Add nds32 target. + * config.bfd (nds32*le-*-linux): Add bfd_elf32_nds32lelin_vec + and bfd_elf32_nds32belin_vec. + (nds32*be-*-linux*): Likewise. + (nds32*le-*-*): Add bfd_elf32_nds32le_vec and bfd_elf32_nds32be_vec. + (nds32*be-*-*): Likewise. + * configure.in (bfd_elf32_nds32be_vec): Add elf32-nds32.lo. + (bfd_elf32_nds32le_vec): Likewise. + (bfd_elf32_nds32belin_vec): Likewise. + (bfd_elf32_nds32lelin_vec): Likewise. + * cpu-nds32.c: New file for nds32. + * elf-bfd.h: Add NDS32_ELF_DATA. + * elf32-nds32.c: New file for nds32. + * elf32-nds32.h: New file for nds32. + * reloc.c: Add relocations for nds32. + * targets.c (bfd_elf32_nds32be_vec): New declaration for nds32. + (bfd_elf32_nds32le_vec): Likewise. + (bfd_elf32_nds32belin_vec): Likewise. + (bfd_elf32_nds32lelin_vec): Likewise. + 2013-10-18 Hans-Peter Nilsson * elf32-cris.c (cris_elf_check_relocs): Don't assume diff --git a/binutils/ChangeLog b/binutils/ChangeLog index e2d53e0..b135d22 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,18 @@ +2013-12-13 Kuan-Lin Chen + Wei-Cheng Wang + + * readelf.c: Include elf/nds32.h + (guess_is_rela): Add case for EM_NDS32. + (dump_relocations): Add case for EM_NDS32. + (decode_NDS32_machine_flags): New. + (get_machine_flags): Add case for EM_NDS32. + (is_32bit_abs_reloc): Likewise. + (is_16bit_abs_reloc): Likewise. + (process_nds32_specific): New. + (process_arch_specific): Add case for EM_NDS32. + * NEWS: Announce Andes nds32 support. + * MAINTAINERS: Add nds32 maintainers. + 2013-10-14 Chao-ying Fu * readelf.c (display_mips_gnu_attribute): Support Tag_GNU_MIPS_ABI_MSA. diff --git a/binutils/MAINTAINERS b/binutils/MAINTAINERS index 3ea3685..a1acb06 100644 --- a/binutils/MAINTAINERS +++ b/binutils/MAINTAINERS @@ -109,6 +109,8 @@ responsibility among the other maintainers. MN10300 Alexandre Oliva Moxie Anthony Green MSP430 Dmitry Diky + NDS32 Kuan-Lin Chen + NDS32 Wei-Cheng Wang NetBSD support Matt Thomas Nios II Sandra Loosemore Nios II Andrew Jenner diff --git a/binutils/NEWS b/binutils/NEWS index 26555b0..f1f0061 100644 --- a/binutils/NEWS +++ b/binutils/NEWS @@ -1,5 +1,7 @@ -*- text -*- +* Add support for the Andes NDS32. + Changes in 2.24: * Objcopy now supports wildcard characters in command line options that take diff --git a/gas/ChangeLog b/gas/ChangeLog index 1490eea..76ae9ce 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,20 @@ +2013-12-13 Kuan-Lin Chen + Wei-Cheng Wang + Hsiang-Kai Wang + Hui-Wen Ni + + * Makefile.am (TARGET_CPU_CFILES): Add config/tc-nds32.c. + (TARGET_CPU_HFILES): Add config/tc-nds32.h. + * configure.in (nds32): Add nds32 target extension config support. + * configure.tgt : Add case for nds32-*-elf* and nds32-*-linux*. + * config/tc-nds32.c: New file for nds32. + * config/tc-nds32.h: New file for nds32. + * doc/Makefile.am (CPU_DOCS): Add c-nds32.texi. + * doc/as.texinfo: Add nds32 options. + * doc/all.texi: Set NDS32. + * doc/c-nds32.texi: New file dor nds32 document. + * NEWS: Announce Andes nds32 support. + 2013-10-18 Chao-ying Fu * config/tc-mips.c (fpr_read_mask): Test MSA registers. diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index da0afe8..fee90ec 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,27 @@ +2013-12-13 Kuan-Lin Chen + + * gas/nds32/alu-1.s: New test. + * gas/nds32/alu-1.d: Likewise. + * gas/nds32/alu-2.s: Likewise. + * gas/nds32/alu-2.d: Likewise. + * gas/nds32/br-1.d: Likewise. + * gas/nds32/br-1.s: Likewise. + * gas/nds32/br-2.d: Likewise. + * gas/nds32/br-2.s: Likewise. + * gas/nds32/ji-jr.d: Likewise. + * gas/nds32/ji-jr.s: Likewise. + * gas/nds32/ls.d: Likewise. + * gas/nds32/ls.s: Likewise. + * gas/nds32/lsi.d: Likewise. + * gas/nds32/lsi.s: Likewise. + * gas/nds32/to-16bit-v1.d: Likewise. + * gas/nds32/to-16bit-v1.s: Likewise. + * gas/nds32/to-16bit-v2.d: Likewise. + * gas/nds32/to-16bit-v2.s: Likewise. + * gas/nds32/to-16bit-v3.d: Likewise. + * gas/nds32/to-16bit-v3.s: Likewise. + * gas/nds32/nds32.exp: Likewise. + 2013-10-18 Chao-ying Fu * gas/mips/micromips@msa-branch.d, gas/mips/msa-branch.d, diff --git a/gas/testsuite/gas/nds32/nds32.exp b/gas/testsuite/gas/nds32/nds32.exp index 52f890c..f547697 100644 --- a/gas/testsuite/gas/nds32/nds32.exp +++ b/gas/testsuite/gas/nds32/nds32.exp @@ -1,3 +1,20 @@ +# Copyright (C) 2012-2013 Free Software Foundation, Inc. +# Contributed by Andes Technology Corporation. + +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, +# MA 02110-1301, USA. if { [istarget nds32*] } { run_dump_test "alu-1" diff --git a/include/ChangeLog b/include/ChangeLog index 7d4c0d3..54d0da0 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,10 @@ +2013-12-13 Kuan-Lin Chen + Wei-Cheng Wang + + * dis-asm.h (print_insn_nds32): Add nds32 target. + * elf/nds32.h: New file for nds32. + * opcode/nds32.h: New file for nds32. + 2013-10-29 Marc Glisse PR tree-optimization/58689 diff --git a/ld/ChangeLog b/ld/ChangeLog index b8ebe32..2e2b0e1 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,22 @@ +2013-12-13 Kuan-Lin Chen + Wei-Cheng Wang + Hui-Wen Ni + + * Makefile.am (ALL_EMULATION_SOURCES): Add nds32 target. + * configure.tgt: Add case for nds32*le-*-elf*, nds32*be-*-elf*, + nds32*le-*-linux-gnu*, and nds32*be-*-linux-gnu*. + * emulparams/nds32belf.sh: New file for nds32. + * emulparams/nds32belf_linux.sh: Likewise. + * emulparams/nds32belf16m.sh: Likewise. + * emulparams/nds32elf.sh: Likewise. + * emulparams/nds32elf_linux.sh: Likewise. + * emulparams/nds32elf16m.sh: Likewise. + * emultempl/nds32elf.em: Likewise. + * scripttempl/nds32elf.sc}: Likewise. + * gen-doc.texi: Set NDS32. + * ld.texinfo: Set NDS32. + * ld/NEWS: Announce Andes nds32 support. + 2013-10-14 Nick Clifton * emultempl/aix.em (_read_file): Close file at end of function. diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index 788a8e7..f14359f 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,17 @@ +2013-12-13 Kuan-Lin Chen + + * ld-nds32/branch.d, ld-nds32/branch.ld, + ld-nds32/branch.s, ld-nds32/diff.d, + ld-nds32/diff.ld, ld-nds32/diff.s, + ld-nds32/gp.d, ld-nds32/gp.ld, + ld-nds32/gp.s, ld-nds32/imm.d, + ld-nds32/imm.ld, ld-nds32/imm.s, + ld-nds32/imm_symbol.s, ld-nds32/relax_jmp.d, + ld-nds32/relax_jmp.ld, ld-nds32/relax_jmp.s, + ld-nds32/relax_load_store.d, ld-nds32/relax_load_store.ld, + ld-nds32/relax_load_store.s: New tests. + * ld-nds32/nds32.exp: New file. + 2013-10-18 Hans-Peter Nilsson * ld-cris/asneed1.d: New test. diff --git a/ld/testsuite/ld-nds32/nds32.exp b/ld/testsuite/ld-nds32/nds32.exp index 5aaff41..6f95c17 100644 --- a/ld/testsuite/ld-nds32/nds32.exp +++ b/ld/testsuite/ld-nds32/nds32.exp @@ -1,3 +1,20 @@ +# Copyright (C) 2012-2013 Free Software Foundation, Inc. +# Contributed by Andes Technology Corporation. + +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, +# MA 02110-1301, USA. if {[istarget "nds32*-*"]} { run_dump_test "diff" diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index bc42de4..5f1aab4 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,3 +1,15 @@ +2013-12-13 Kuan-Lin Chen + Wei-Cheng Wang + + * Makefile.am (TARGET_LIBOPCODES_CFILES): Add nds32-asm.c + and nds32-dis.c. + * configure.in: Add case for bfd_nds32_arch. + * disassemble.c (ARCH_nds32): Define. + * nds32-asm.c: New file for nds32. + * nds32-asm.h: New file for nds32. + * nds32-dis.c: New file for nds32. + * nds32-opc.h: New file for nds32. + 2013-10-15 Ramana Radhakrishnan * arm-dis.c (neon_opcodes): Adjust print string for vshll.