binutils-gdb/ld/emultempl
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
..
README Add copyright notices 2012-12-17 16:56:12 +00:00
aarch64elf.em ld/ 2013-04-24 17:22:31 +00:00
aix.em * gen-aout.c (main): Fix formatting. Close file. 2013-10-14 09:15:09 +00:00
alphaelf.em Revert 2013-02-04, 2013-01-22 and 2013-01-21 changes. 2013-02-05 21:47:32 +00:00
armcoff.em * ld.texinfo (Expression Section): Describe treatment of numbers 2010-12-20 13:00:14 +00:00
armelf.em * elf32-arm.c (elf32_arm_stub_long_branch_arm_nacl): New variable. 2013-07-18 11:24:11 +00:00
astring.sed * emultempl/ostring.sed: Rename from stringify.sed. 1999-08-06 22:46:03 +00:00
avrelf.em * emultempl/avrelf.em (avr_elf_before_parse): New function. 2013-02-05 22:38:34 +00:00
beos.em bfd/ 2012-08-06 22:27:52 +00:00
bfin.em blackfin: add support for L1 code/data flags 2010-11-16 03:33:07 +00:00
cr16elf.em Revert 2013-02-04, 2013-01-22 and 2013-01-21 changes. 2013-02-05 21:47:32 +00:00
crxelf.em Revert 2013-02-04, 2013-01-22 and 2013-01-21 changes. 2013-02-05 21:47:32 +00:00
elf-generic.em bfd/ 2013-02-21 02:29:11 +00:00
elf32.em Fix references to __ehdr_start when it cannot be defined 2013-11-19 10:54:00 -08:00
epiphanyelf_4x4.em * scripttempl/epiphany_4x4.sc, emulparams/elf32epiphany_4x4.sh: Add. 2012-11-30 18:28:38 +00:00
genelf.em * ld.texinfo (Expression Section): Describe treatment of numbers 2010-12-20 13:00:14 +00:00
generic.em * archures.c: Add some more MSP430 machine numbers. 2013-05-02 21:06:15 +00:00
gld960.em include/ 2008-02-15 03:35:53 +00:00
gld960c.em 2007-07-19 Roland McGrath <roland@redhat.com> 2007-07-19 19:56:10 +00:00
hppaelf.em Revert 2013-02-04, 2013-01-22 and 2013-01-21 changes. 2013-02-05 21:47:32 +00:00
ia64elf.em Revert 2013-02-04, 2013-01-22 and 2013-01-21 changes. 2013-02-05 21:47:32 +00:00
irix.em update copyright dates 2009-09-02 07:25:43 +00:00
linux.em * ldlang.h (struct lang_input_statement_flags): New, extract from.. 2012-03-05 22:43:40 +00:00
lnk960.em ld/ 2012-06-15 15:13:41 +00:00
m68hc1xelf.em * bfd-in.h (bfd_get_section_name, bfd_get_section_vma, 2012-05-16 16:38:29 +00:00
m68kcoff.em * configure.ac (mips*-*-bsd*, mips*-*-ultrix*, mips*-*-osf*) 2013-06-22 16:44:16 +00:00
m68kelf.em update copyright dates 2009-09-02 07:25:43 +00:00
metagelf.em * emultempl/metagelf.em (build_section_lists): Use sec_info_type 2013-02-08 17:46:31 +00:00
mipself.em bfd/ 2013-06-25 18:02:34 +00:00
mmix-elfnmmo.em PR ld/10956 2009-11-26 13:45:25 +00:00
mmixelf.em ld/ 2012-11-26 23:26:35 +00:00
mmo.em * emultempl/mmo.em (mmo_place_orphan): Rewrite to also attach 2012-09-09 16:30:40 +00:00
nds32elf.em Add support for Andes NDS32: 2013-12-13 11:52:32 +00:00
needrelax.em PR ld/10956 2009-11-26 13:45:25 +00:00
netbsd.em include/ 2009-10-14 05:54:29 +00:00
ostring.sed * emultempl/ostring.sed: Rename from stringify.sed. 1999-08-06 22:46:03 +00:00
pe.em * windres.c (define_resource): Use zero for timestamp, making 2013-11-22 14:55:56 +00:00
pep.em * windres.c (define_resource): Use zero for timestamp, making 2013-11-22 14:55:56 +00:00
ppc32elf.em ld/ 2012-05-26 11:13:20 +00:00
ppc64elf.em bfd/ 2013-07-01 03:45:05 +00:00
rxelf.em 2012-11-09 Nick Clifton <nickc@redhat.com> 2012-11-09 17:00:44 +00:00
scoreelf.em ld/ 2012-11-26 23:26:35 +00:00
sh64elf.em PR ld/11384 2010-03-18 13:15:46 +00:00
solaris2.em Check if a symbol is hidden by linker script. 2011-09-16 01:15:20 +00:00
spu_icache.S bfd/ 2009-03-17 12:46:19 +00:00
spu_icache.o_c bfd/ 2009-03-17 12:46:19 +00:00
spu_ovl.S bfd/ 2008-06-16 16:16:31 +00:00
spu_ovl.o_c Include the spu_ovl ASCII form in the repository files. 2008-08-02 16:25:44 +00:00
spuelf.em Remove trailing white spaces in ld 2013-01-10 20:08:03 +00:00
sunos.em * ldlang.c (load_symbols): Report "error adding symbols" on 2013-04-04 14:38:47 +00:00
tic6xdsbt.em Remove trailing white spaces in ld 2013-01-10 20:08:03 +00:00
ticoff.em update copyright dates 2009-09-02 07:25:43 +00:00
vanilla.em update copyright dates 2009-09-02 07:25:43 +00:00
vms.em Add support for PowerPC VLE. 2012-05-14 19:45:30 +00:00
vxworks.em PR 11107 2010-01-08 01:41:11 +00:00
xtensaelf.em bfd/ 2012-08-06 22:27:52 +00:00
z80.em * ld.texinfo (Expression Section): Describe treatment of numbers 2010-12-20 13:00:14 +00:00

README

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

The files in this directory are sourced by genscripts.sh, after
setting some variables to substitute in, to produce
C source files that contain jump tables for each emulation.

Copyright (C) 2012 Free Software Foundation, Inc.

Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.