old-cross-binutils/ld/testsuite/ld-plugin
Sandra Loosemore 36591ba149 2013-02-06 Sandra Loosemore <sandra@codesourcery.com>
Andrew Jenner <andrew@codesourcery.com>

	Based on patches from Altera Corporation.

	bfd/
	* Makefile.am (ALL_MACHINES): Add cpu-nios2.lo.
	(ALL_MACHINES_CFILES): Add cpu-nios2.c.
	(BFD_BACKENDS): Add elf32-nios2.lo.
	(BFD32_BACKENDS_CFILES): Add elf32-nios2.c.
	* Makefile.in: Regenerated.
	* configure.in: Add entries for bfd_elf32_bignios2_vec and
	bfd_elf32_littlenios2_vec.
	* configure: Regenerated.
	* config.bfd: Add cases for nios2.
	* archures.c (enum bfd_architecture): Add bfd_arch_nios2.
	(bfd_mach_nios2): Define.
	(bfd_nios2_arch): Declare.
	(bfd_archures_list): Add bfd_nios2_arch.
	* targets.c (bfd_elf32_bignios2_vec): Declare.
	(bfd_elf32_littlenios2_vec): Declare.
	(_bfd_target_vector): Add entries for bfd_elf32_bignios2_vec and
	bfd_elf32_littlenios2_vec.
	* elf-bfd.h (enum elf_target_id): Add NIOS2_ELF_DATA.
	* reloc.c (enum bfd_reloc_code_real): Add Nios II relocations.
	* bfd-in2.h: Regenerated.
	* libbfd.h: Regenerated.
	* cpu-nios2.c: New file.
	* elf32-nios2.c: New file.

	opcodes/
	* Makefile.am (TARGET_LIBOPCODES_CFILES): Add nios2-dis.c and
	nios2-opc.c.
	* Makefile.in: Regenerated.
	* configure.in: Add case for bfd_nios2_arch.
	* configure: Regenerated.
	* disassemble.c (ARCH_nios2): Define.
	(disassembler): Add case for bfd_arch_nios2.
	* nios2-dis.c: New file.
	* nios2-opc.c: New file.

	include/
	* dis-asm.h (print_insn_big_nios2): Declare.
	(print_insn_little_nios2): Declare.

	include/elf
	* nios2.h: New file.

	include/opcode/
	* nios2.h: New file.

	gas/
	* Makefile.am (TARGET_CPU_CFILES): Add config/tc-nios2.c.
	(TARGET_CPU_HFILES): Add config/tc-nios2.h.
	* Makefile.in: Regenerated.
	* configure.tgt: Add case for nios2*-linux*.
	* config/obj-elf.c: Conditionally include elf/nios2.h.
	* config/tc-nios2.c: New file.
	* config/tc-nios2.h: New file.
	* doc/Makefile.am (CPU_DOCS): Add c-nios2.texi.
	* doc/Makefile.in: Regenerated.
	* doc/all.texi: Set NIOSII.
	* doc/as.texinfo (Overview): Add Nios II options.
	(Machine Dependencies): Include c-nios2.texi.
	* doc/c-nios2.texi: New file.
	* NEWS: Note Altera Nios II support.

	gas/testsuite/
	* gas/nios2/add.d: New.
	* gas/nios2/add.s: New.
	* gas/nios2/align_fill.d: New.
	* gas/nios2/align_fill.s: New.
	* gas/nios2/align_text.d: New.
	* gas/nios2/align_text.s: New.
	* gas/nios2/and.d: New.
	* gas/nios2/and.s: New.
	* gas/nios2/branch.d: New.
	* gas/nios2/branch.s: New.
	* gas/nios2/break.d: New.
	* gas/nios2/break.s: New.
	* gas/nios2/bret.d: New.
	* gas/nios2/bret.s: New.
	* gas/nios2/cache.d: New.
	* gas/nios2/cache.s: New.
	* gas/nios2/call26.d: New.
	* gas/nios2/call26.s: New.
	* gas/nios2/call.d: New.
	* gas/nios2/call.s: New.
	* gas/nios2/cmp.d: New.
	* gas/nios2/cmp.s: New.
	* gas/nios2/comments.d: New.
	* gas/nios2/comments.s: New.
	* gas/nios2/complex.d: New.
	* gas/nios2/complex.s: New.
	* gas/nios2/ctl.d: New.
	* gas/nios2/ctl.s: New.
	* gas/nios2/custom.d: New.
	* gas/nios2/custom.s: New.
	* gas/nios2/etbt.d: New.
	* gas/nios2/etbt.s: New.
	* gas/nios2/flushda.d: New.
	* gas/nios2/flushda.s: New.
	* gas/nios2/illegal.l: New.
	* gas/nios2/illegal.s: New.
	* gas/nios2/jmp.d: New.
	* gas/nios2/jmp.s: New.
	* gas/nios2/ldb.d: New.
	* gas/nios2/ldb.s: New.
	* gas/nios2/ldh.d: New.
	* gas/nios2/ldh.s: New.
	* gas/nios2/ldw.d: New.
	* gas/nios2/ldw.s: New.
	* gas/nios2/lineseparator.d: New.
	* gas/nios2/lineseparator.s: New.
	* gas/nios2/mov.d: New.
	* gas/nios2/movia.d: New.
	* gas/nios2/movia.s: New.
	* gas/nios2/movi.d: New.
	* gas/nios2/movi.s: New.
	* gas/nios2/mov.s: New.
	* gas/nios2/mul.d: New.
	* gas/nios2/mul.s: New.
	* gas/nios2/nios2.exp: New.
	* gas/nios2/nor.d: New.
	* gas/nios2/nor.s: New.
	* gas/nios2/or.d: New.
	* gas/nios2/or.s: New.
	* gas/nios2/ret.d: New.
	* gas/nios2/ret.s: New.
	* gas/nios2/rol.d: New.
	* gas/nios2/rol.s: New.
	* gas/nios2/rotate.d: New.
	* gas/nios2/rotate.s: New.
	* gas/nios2/stb.d: New.
	* gas/nios2/stb.s: New.
	* gas/nios2/sth.d: New.
	* gas/nios2/sth.s: New.
	* gas/nios2/stw.d: New.
	* gas/nios2/stw.s: New.
	* gas/nios2/sub.d: New.
	* gas/nios2/sub.s: New.
	* gas/nios2/sync.d: New.
	* gas/nios2/sync.s: New.
	* gas/nios2/trap.d: New.
	* gas/nios2/trap.s: New.
	* gas/nios2/tret.d: New.
	* gas/nios2/tret.s: New.
	* gas/nios2/warn_noat.l: New.
	* gas/nios2/warn_noat.s: New.
	* gas/nios2/warn_nobreak.l: New.
	* gas/nios2/warn_nobreak.s: New.
	* gas/nios2/xor.d: New.
	* gas/nios2/xor.s: New.

	ld/
	* Makefile.am (enios2elf.c): New rule.
	* Makefile.in: Regenerated.
	* configure.tgt: Add case for nios2*-*-*.
	* emulparams/nios2elf.sh: New file.
	* NEWS: Note Altera Nios II support.

	ld/testsuite/
	* ld-nios2/emit-relocs-1a.s: New.
	* ld-nios2/emit-relocs-1b.s: New.
	* ld-nios2/emit-relocs-1.d: New.
	* ld-nios2/emit-relocs-1.ld: New.
	* ld-nios2/gprel.d: New.
	* ld-nios2/gprel.s: New.
	* ld-nios2/hilo16.d: New.
	* ld-nios2/hilo16.s: New.
	* ld-nios2/hilo16_symbol.s: New.
	* ld-nios2/imm5.d: New.
	* ld-nios2/imm5.s: New.
	* ld-nios2/imm5_symbol.s: New.
	* ld-nios2/nios2.exp: New.
	* ld-nios2/pcrel16.d: New.
	* ld-nios2/pcrel16_label.s: New.
	* ld-nios2/pcrel16.s: New.
	* ld-nios2/relax_callr.d: New.
	* ld-nios2/relax_callr.ld: New.
	* ld-nios2/relax_callr.s: New.
	* ld-nios2/relax_cjmp.d: New.
	* ld-nios2/relax_cjmp.s: New.
	* ld-nios2/relax_jmp.ld: New.
	* ld-nios2/relax_section.d: New.
	* ld-nios2/relax_section.s: New.
	* ld-nios2/relax_ujmp.d: New.
	* ld-nios2/relax_ujmp.s: New.
	* ld-nios2/reloc.d: New.
	* ld-nios2/reloc.s: New.
	* ld-nios2/reloc_symbol.s: New.
	* ld-nios2/s16.d: New.
	* ld-nios2/s16.s: New.
	* ld-nios2/s16_symbol.s: New.
	* ld-nios2/u16.d: New.
	* ld-nios2/u16.s: New.
	* ld-nios2/u16_symbol.s: New.
	* ld-elf/indirect.exp: Skip on targets that don't support
	-shared -fPIC.
	* ld-elfcomm/elfcomm.exp: Build with -G0 for nios2.
	* ld-plugin/lto.exp: Skip shared library tests on targets that
	don't support them.  Skip execution tests on non-native targets.

	binutils/
	* readelf.c: Include elf/nios2.h.
	(dump_relocations): Add case for EM_ALTERA_NIOS2.
	(get_nios2_dynamic_type): New.
	(get_dynamic_type): Add case for EM_ALTERA_NIOS2.
	(is_32bit_abs_reloc): Fix EM_ALTERA_NIOS2 case.
	(is_16bit_abs_reloc): Likewise.
	(is_none_reloc): Add EM_ALTERA_NIOS2 and EM_NIOS32 cases.
	* NEWS: Note Altera Nios II support.
	* MAINTAINERS: Add Nios II maintainers.
2013-02-06 23:22:26 +00:00
..
dummy.c Add LTO tests 2012-12-07 19:23:50 +00:00
dummy.s Add LTO tests 2012-12-07 19:23:50 +00:00
func.c
func1p.c Add plugin visibility test 2012-12-07 19:14:41 +00:00
func2i.c Add plugin visibility test 2012-12-07 19:14:41 +00:00
func3h.c Add plugin visibility test 2012-12-07 19:14:41 +00:00
lto-1a.c Add LTO tests 2012-12-07 19:23:50 +00:00
lto-1b.c Add LTO tests 2012-12-07 19:23:50 +00:00
lto-2.c Add LTO tests 2012-12-07 19:23:50 +00:00
lto-3.d Add LTO tests 2012-12-07 19:23:50 +00:00
lto-3.out Add LTO tests 2012-12-07 19:23:50 +00:00
lto-3a.c Add LTO tests 2012-12-07 19:23:50 +00:00
lto-3b.c Add LTO tests 2012-12-07 19:23:50 +00:00
lto-3c.c Add LTO tests 2012-12-07 19:23:50 +00:00
lto-3r.d Add LTO tests 2012-12-07 19:23:50 +00:00
lto-5.d Add LTO tests 2012-12-07 19:23:50 +00:00
lto-5.out Add LTO tests 2012-12-07 19:23:50 +00:00
lto-5a.c Add LTO tests 2012-12-07 19:23:50 +00:00
lto-5b.c Add LTO tests 2012-12-07 19:23:50 +00:00
lto-5r.d Add LTO tests 2012-12-07 19:23:50 +00:00
lto-6.c Add LTO tests 2012-12-07 19:23:50 +00:00
lto-7.out Add LTO tests 2012-12-07 19:23:50 +00:00
lto-7a.c Add LTO tests 2012-12-07 19:23:50 +00:00
lto-7b.c Add LTO tests 2012-12-07 19:23:50 +00:00
lto-7c.c Add LTO tests 2012-12-07 19:23:50 +00:00
lto-7d.c Add LTO tests 2012-12-07 19:23:50 +00:00
lto-8.out Add LTO tests 2012-12-07 19:23:50 +00:00
lto-8a.c Add LTO tests 2012-12-07 19:23:50 +00:00
lto-8b.c Add LTO tests 2012-12-07 19:23:50 +00:00
lto-9.cc Add LTO tests 2012-12-07 19:23:50 +00:00
lto-9.d Add LTO tests 2012-12-07 19:23:50 +00:00
lto-11.out Add LTO tests 2012-12-07 19:23:50 +00:00
lto-11a.c Add LTO tests 2012-12-07 19:23:50 +00:00
lto-11b.c Add LTO tests 2012-12-07 19:23:50 +00:00
lto-11c.c Add LTO tests 2012-12-07 19:23:50 +00:00
lto-12.out Add LTO tests 2012-12-07 19:23:50 +00:00
lto-12a.c Add LTO tests 2012-12-07 19:23:50 +00:00
lto-12b.c Add LTO tests 2012-12-07 19:23:50 +00:00
lto-12c.c Add LTO tests 2012-12-07 19:23:50 +00:00
lto-13.out Add LTO tests 2012-12-07 19:23:50 +00:00
lto-13a.c Add LTO tests 2012-12-07 19:23:50 +00:00
lto-13b.c Add LTO tests 2012-12-07 19:23:50 +00:00
lto-13c.c Add LTO tests 2012-12-07 19:23:50 +00:00
lto-14.out Add LTO tests 2012-12-07 19:23:50 +00:00
lto-14a.c Add LTO tests 2012-12-07 19:23:50 +00:00
lto-14b.c Add LTO tests 2012-12-07 19:23:50 +00:00
lto-14c.c Add LTO tests 2012-12-07 19:23:50 +00:00
lto-15.out Add LTO tests 2012-12-07 19:23:50 +00:00
lto-15a.c Add LTO tests 2012-12-07 19:23:50 +00:00
lto-15b.c Add LTO tests 2012-12-07 19:23:50 +00:00
lto-16a.c Add LTO tests 2012-12-07 19:23:50 +00:00
lto-16a.d * ld-plugin/lto-16a.d: Match powerpc64 function symbol type. 2013-01-15 05:05:26 +00:00
lto-16b.c Add LTO tests 2012-12-07 19:23:50 +00:00
lto-16b.d * ld-plugin/lto-16a.d: Match powerpc64 function symbol type. 2013-01-15 05:05:26 +00:00
lto-17a.c Add LTO tests 2012-12-07 19:23:50 +00:00
lto-17a.d * ld-plugin/lto-16a.d: Match powerpc64 function symbol type. 2013-01-15 05:05:26 +00:00
lto-17b-1.d Add LTO tests 2012-12-07 19:23:50 +00:00
lto-17b-2.d * ld-plugin/lto-16a.d: Match powerpc64 function symbol type. 2013-01-15 05:05:26 +00:00
lto-17b.c Add LTO tests 2012-12-07 19:23:50 +00:00
lto.exp 2013-02-06 Sandra Loosemore <sandra@codesourcery.com> 2013-02-06 23:22:26 +00:00
main.c
plugin-1.d
plugin-2.d Improve plugin error handling 2012-12-03 14:34:06 +00:00
plugin-3.d
plugin-4.d Improve plugin error handling 2012-12-03 14:34:06 +00:00
plugin-5.d
plugin-6.d
plugin-7.d
plugin-8.d
plugin-9.d
plugin-10.d
plugin-11.d
plugin-12.d
plugin-vis-1.d
plugin.exp Add plugin visibility test 2012-12-07 19:14:41 +00:00
pr12696-1.cc Add LTO tests 2012-12-07 19:23:50 +00:00
pr12758a.s Add LTO tests 2012-12-07 19:23:50 +00:00
pr12758b.c Add LTO tests 2012-12-07 19:23:50 +00:00
pr12760a.c Add LTO tests 2012-12-07 19:23:50 +00:00
pr12760b.c Add LTO tests 2012-12-07 19:23:50 +00:00
pr12942.out Add LTO tests 2012-12-07 19:23:50 +00:00
pr12942a.cc Add LTO tests 2012-12-07 19:23:50 +00:00
pr12942a.h Add LTO tests 2012-12-07 19:23:50 +00:00
pr12942b.cc Add LTO tests 2012-12-07 19:23:50 +00:00
pr12942c.cc Add LTO tests 2012-12-07 19:23:50 +00:00
pr12975.c Add LTO tests 2012-12-07 19:23:50 +00:00
pr12975.d Add LTO tests 2012-12-07 19:23:50 +00:00
pr12975.t Add LTO tests 2012-12-07 19:23:50 +00:00
pr12982.c Add LTO tests 2012-12-07 19:23:50 +00:00
pr12982.d Add LTO tests 2012-12-07 19:23:50 +00:00
pr13066.cc Add LTO tests 2012-12-07 19:23:50 +00:00
pr13066.out Add LTO tests 2012-12-07 19:23:50 +00:00
pr13183.d Add LTO tests 2012-12-07 19:23:50 +00:00
pr13183a.c Add LTO tests 2012-12-07 19:23:50 +00:00
pr13183b.c Add LTO tests 2012-12-07 19:23:50 +00:00
pr13201.c Add LTO tests 2012-12-07 19:23:50 +00:00
pr13201.out Add LTO tests 2012-12-07 19:23:50 +00:00
pr13229.cc Add LTO tests 2012-12-07 19:23:50 +00:00
pr13229.d Add LTO tests 2012-12-07 19:23:50 +00:00
pr13244.c Add LTO tests 2012-12-07 19:23:50 +00:00
pr13244.d Add LTO tests 2012-12-07 19:23:50 +00:00
pr13287.cc Add LTO tests 2012-12-07 19:23:50 +00:00
run-ie.c Add LTO tests 2012-12-07 19:23:50 +00:00
run-ie.out Add LTO tests 2012-12-07 19:23:50 +00:00
text.c