Kuan-Lin Chen
35c081572f
Add support for Andes NDS32:
BFD:
* Makefile.am (BFD32_BACKENDS, BFD32_BACKENDS_CFILES): Add nds32
files.
* Makefile.in: Regenerate.
* archures.c (bfd_nds32_arch): Add nds32 target.
* bfd-in2.h: Regenerate.
* 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.
* configure: Regenerate.
* 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.
* libbfd.h: Regenerate.
* 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.
BINUTILS:
* 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.
TESTSUITE:
* binutils-all/objdump.exp: Add NDS32 cpu.
* binutils-all/readelf.r: Skip extra reloc created by NDS32.
GAS:
* Makefile.am (TARGET_CPU_CFILES): Add config/tc-nds32.c.
(TARGET_CPU_HFILES): Add config/tc-nds32.h.
* Makefile.in: Regenerate.
* configure.in (nds32): Add nds32 target extension config support.
* configure.tgt : Add case for nds32-*-elf* and nds32-*-linux*.
* configure: Regenerate.
* 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/Makefile.in: Regenerate.
* 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.
TESTSUITE:
* gas/all/gas.exp: Add expected failures for NDS32.
* gas/elf/elf.exp: Likewise.
* gas/lns/lns.exp: Use alternate test.
* gas/macros/irp.d: Skip for NDS32.
* gas/macros/macros.exp: Skip some tests for the NDS32.
* gas/macros/rept.d: Skip for NDS32.
* gas/macros/test3.d: Skip for NDS32.
* gas/nds32: New directory.
* 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: New test driver.
LD:
* Makefile.am (ALL_EMULATION_SOURCES): Add nds32 target.
* Makefile.in: Regenerate.
* 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.
* NEWS: Announce Andes nds32 support.
TESTSUITE:
* lib/ld-lib.exp: Add NDS32 to list of targets that do not support
shared library generation.
* ld-nds32: New directory.
* ld-nds32/branch.d: New test.
* ld-nds32/branch.ld: New test.
* ld-nds32/branch.s: New test.
* ld-nds32/diff.d: New test.
* ld-nds32/diff.ld: New test.
* ld-nds32/diff.s: New test.
* ld-nds32/gp.d: New test.
* ld-nds32/gp.ld: New test.
* ld-nds32/gp.s: New test.
* ld-nds32/imm.d: New test.
* ld-nds32/imm.ld: New test.
* ld-nds32/imm.s: New test.
* ld-nds32/imm_symbol.s: New test.
* ld-nds32/relax_jmp.d: New test.
* ld-nds32/relax_jmp.ld: New test.
* ld-nds32/relax_jmp.s: New test.
* ld-nds32/relax_load_store.d: New test.
* ld-nds32/relax_load_store.ld: New test.
* ld-nds32/relax_load_store.s: New test.
* ld-nds32/nds32.exp: New file.
OPCODES:
* Makefile.am (TARGET_LIBOPCODES_CFILES): Add nds32-asm.c
and nds32-dis.c.
* Makefile.in: Regenerate.
* configure.in: Add case for bfd_nds32_arch.
* configure: Regenerate.
* 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.
INCLUDE:
* dis-asm.h (print_insn_nds32): Add nds32 target.
* elf/nds32.h: New file for nds32.
* opcode/nds32.h: New file for nds32.
2013-12-13 11:52:32 +00:00
..
2013-06-21 15:01:57 +00:00
2010-12-09 09:03:18 +00:00
2013-11-05 20:50:18 +00:00
2013-08-23 07:54:19 +00:00
2012-08-13 14:52:54 +00:00
2013-11-05 20:50:18 +00:00
2013-11-05 20:50:18 +00:00
2012-08-13 14:52:54 +00:00
2013-01-30 15:43:32 +00:00
2013-11-05 20:50:18 +00:00
2013-11-20 11:22:53 +00:00
2012-11-09 08:29:34 +00:00
2013-11-05 20:50:18 +00:00
2012-08-13 14:26:14 +00:00
2012-05-17 15:13:28 +00:00
2012-05-17 15:13:28 +00:00
2012-10-18 06:53:16 +00:00
2013-10-15 13:30:40 +00:00
2012-05-17 15:13:28 +00:00
2012-05-18 01:59:38 +00:00
2011-12-15 10:21:51 +00:00
2010-06-27 04:07:55 +00:00
2013-04-17 14:09:49 +00:00
2010-02-12 04:42:28 +00:00
2012-05-17 15:13:28 +00:00
2013-12-13 11:52:32 +00:00
2012-12-10 12:48:03 +00:00
2012-12-10 12:48:03 +00:00
2012-12-10 12:48:03 +00:00
2012-12-10 12:48:03 +00:00
2012-12-10 12:48:03 +00:00
2012-12-10 12:48:03 +00:00
2012-12-10 12:48:03 +00:00
2012-12-10 12:48:03 +00:00
2012-12-10 12:48:03 +00:00
2012-12-10 12:48:03 +00:00
2013-01-02 13:13:36 +00:00
2012-12-10 12:48:03 +00:00
2012-12-10 12:48:03 +00:00
2012-09-10 22:30:57 +00:00
2013-12-13 11:52:32 +00:00
2012-12-17 16:56:12 +00:00
2013-12-13 11:52:32 +00:00
2013-01-07 15:10:18 +00:00
2013-10-10 17:43:37 +00:00
2012-05-17 15:13:28 +00:00
2012-05-17 15:13:28 +00:00
2013-10-10 17:43:37 +00:00
2012-05-17 15:13:28 +00:00
2012-05-17 15:13:28 +00:00
2012-05-17 15:13:28 +00:00
2012-05-17 15:13:28 +00:00
2010-03-23 15:59:45 +00:00
2013-12-13 11:52:32 +00:00
2010-09-10 13:00:54 +00:00
2011-10-26 12:46:04 +00:00
2012-11-30 17:54:58 +00:00
2012-11-30 17:54:58 +00:00
2011-10-25 11:18:16 +00:00
2011-10-25 11:18:16 +00:00
2012-11-30 17:54:58 +00:00
2011-10-26 12:46:04 +00:00
2010-06-27 04:07:55 +00:00
2010-02-12 03:25:49 +00:00
2010-10-09 06:50:23 +00:00
2010-02-12 04:42:28 +00:00
2010-02-12 03:25:49 +00:00
2011-12-15 10:21:51 +00:00
2010-02-12 03:25:49 +00:00
2010-10-09 06:50:23 +00:00
2010-02-12 04:42:28 +00:00
2010-10-08 14:00:50 +00:00
2012-08-01 00:41:35 +00:00
2012-05-17 15:13:28 +00:00
2012-07-24 12:56:47 +00:00
2012-05-17 15:13:28 +00:00
2012-05-17 15:13:28 +00:00
2013-08-19 15:58:52 +00:00
2013-10-12 15:57:07 +00:00
2013-11-08 09:42:08 -08:00
2013-11-08 09:42:08 -08:00
2013-07-26 17:20:25 +00:00
2013-10-12 15:57:07 +00:00
2013-07-26 17:20:25 +00:00
2013-10-12 15:57:07 +00:00
2012-05-18 01:59:38 +00:00
2012-08-01 00:41:35 +00:00
2013-05-17 12:57:16 +00:00
2012-09-04 13:52:06 +00:00
2012-05-18 01:59:38 +00:00
2012-11-09 08:29:34 +00:00
2012-09-04 13:52:06 +00:00
2012-09-04 13:52:06 +00:00
2012-09-04 13:52:06 +00:00
2012-05-18 05:31:15 +00:00
2012-09-04 13:52:06 +00:00
2013-05-17 12:57:16 +00:00
2013-05-17 12:57:16 +00:00
2010-06-27 04:07:55 +00:00
2010-02-12 03:25:49 +00:00
2010-10-09 06:50:23 +00:00
2010-02-12 04:42:28 +00:00
2010-02-12 03:25:49 +00:00
2010-06-27 04:07:55 +00:00
2010-02-12 03:25:49 +00:00
2010-10-09 06:50:23 +00:00
2010-02-12 04:42:28 +00:00
2010-02-12 03:25:49 +00:00
2010-06-27 04:07:55 +00:00
2013-03-08 17:25:12 +00:00
2010-10-09 06:50:23 +00:00
2010-02-12 04:42:28 +00:00
2010-02-12 03:25:49 +00:00
2010-02-13 04:38:57 +00:00
2010-06-27 04:07:55 +00:00
2010-02-12 03:25:49 +00:00
2010-10-09 06:50:23 +00:00
2010-02-12 04:42:28 +00:00
2010-07-03 04:09:56 +00:00
2010-02-12 03:25:49 +00:00
2010-06-27 04:07:55 +00:00
2010-02-12 04:42:28 +00:00
2010-10-09 06:50:23 +00:00
2010-02-12 04:42:28 +00:00
2010-02-12 03:25:49 +00:00
2010-02-12 03:25:49 +00:00
2012-05-18 01:59:38 +00:00
2012-05-15 12:55:51 +00:00
2012-07-24 12:56:47 +00:00
2012-01-16 23:19:20 +00:00
2012-05-17 15:13:28 +00:00
2012-05-17 15:13:28 +00:00
2012-12-17 16:56:12 +00:00
2013-12-13 11:52:32 +00:00
2013-12-13 11:52:32 +00:00
2012-12-17 16:56:12 +00:00
2010-06-27 04:07:55 +00:00
2010-02-12 03:25:49 +00:00
2010-10-09 06:50:23 +00:00
2010-06-28 14:41:59 +00:00
2010-10-09 06:50:23 +00:00
2013-02-15 14:54:28 +00:00
2012-11-29 21:09:01 +00:00
2012-11-29 21:09:01 +00:00
2012-11-21 17:54:11 +00:00
2013-11-19 05:25:32 -08:00
2013-08-19 18:57:00 +00:00
2013-11-11 08:03:47 -08:00
2013-08-19 18:57:00 +00:00
2013-11-19 05:25:32 -08:00
2012-05-18 01:59:38 +00:00
2012-09-28 03:53:39 +00:00
2012-09-28 03:53:39 +00:00
2013-06-21 15:01:57 +00:00
2013-06-21 15:01:57 +00:00
2013-08-23 07:54:19 +00:00
2010-06-27 04:07:55 +00:00
2010-02-12 03:25:49 +00:00
2010-10-09 06:50:23 +00:00
2012-02-27 06:57:57 +00:00
2010-02-12 03:25:49 +00:00
2013-12-13 11:52:32 +00:00
2013-12-13 11:52:32 +00:00
2013-12-13 11:52:32 +00:00
2013-12-13 11:52:32 +00:00
2013-02-06 23:22:26 +00:00
2013-10-14 00:42:28 +00:00
2010-06-27 04:07:55 +00:00
2010-02-12 03:25:49 +00:00
2010-10-09 06:50:23 +00:00
2010-02-12 04:42:28 +00:00
2010-02-12 03:25:49 +00:00
2012-05-18 01:59:38 +00:00
2012-05-17 15:13:28 +00:00
2012-08-01 00:41:35 +00:00
2012-05-17 15:13:28 +00:00
2013-07-30 02:26:09 +00:00
2013-07-04 01:42:08 +00:00
2013-02-27 03:00:44 +00:00
2013-02-27 03:00:44 +00:00
2013-04-10 19:16:45 +00:00
2013-06-26 10:31:38 +00:00
2013-06-26 10:31:38 +00:00
2012-05-18 01:59:38 +00:00
2013-10-30 18:04:32 +01:00
2013-12-05 13:36:17 +00:00
2013-07-05 09:45:44 +00:00
2013-09-17 09:02:37 +00:00
2012-05-17 15:13:28 +00:00
2012-08-01 00:41:35 +00:00
2013-08-05 16:11:07 +00:00
2013-08-05 17:04:08 +00:00
2012-05-17 15:13:28 +00:00
2012-05-17 15:13:28 +00:00
2012-05-18 01:59:38 +00:00
2013-03-27 11:43:37 +00:00
2012-05-17 15:13:28 +00:00
2012-10-18 15:28:06 +00:00
2012-05-17 15:13:28 +00:00
2012-05-17 15:13:28 +00:00
2012-05-17 15:13:28 +00:00
2012-05-18 01:59:38 +00:00
2012-05-17 15:13:28 +00:00
2012-05-18 01:59:38 +00:00
2013-10-10 17:19:49 +00:00
2013-04-03 14:42:10 +00:00
2012-05-17 15:13:28 +00:00
2012-05-17 15:13:28 +00:00
2010-06-27 04:07:55 +00:00
2010-02-12 03:25:49 +00:00
2010-10-09 06:50:23 +00:00
2010-02-12 04:42:28 +00:00
2010-02-12 03:25:49 +00:00
2013-10-11 04:55:42 +00:00
2013-10-11 04:55:42 +00:00
2010-06-27 04:07:55 +00:00
2010-02-12 03:25:49 +00:00
2010-10-09 06:50:23 +00:00
2010-02-12 04:42:28 +00:00
2010-02-12 03:25:49 +00:00
2012-05-17 15:13:28 +00:00
2012-10-26 08:14:07 +00:00
2012-10-26 08:14:07 +00:00