binutils-gdb/gas/config
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
..
aout_gnu.h
atof-ieee.c Remove trailing redundant `;' 2012-11-09 08:29:34 +00:00
atof-vax.c Remove trailing redundant `;' 2012-11-09 08:29:34 +00:00
bfin-aux.h
bfin-defs.h gas/opcodes: blackfin: move dsp mac func defines to common header 2011-02-12 19:36:31 +00:00
bfin-lex-wrapper.c Add copyright notices 2012-12-17 16:56:12 +00:00
bfin-lex.l gas/opcodes: blackfin: punt BYTEOP2M insn support 2011-02-13 18:53:16 +00:00
bfin-parse.y gas/ 2011-12-15 04:25:10 +00:00
e-crisaout.c
e-criself.c
e-i386aout.c
e-i386coff.c
e-i386elf.c
e-mipsecoff.c
e-mipself.c
itbl-mips.h
m68k-parse.h
m68k-parse.y
obj-aout.c Replace all uses of bfd_abs_section, bfd_com_section, bfd_und_section 2012-05-05 03:05:32 +00:00
obj-aout.h
obj-coff-seh.c
obj-coff-seh.h Replace all uses of bfd_abs_section, bfd_com_section, bfd_und_section 2012-05-05 03:05:32 +00:00
obj-coff.c * config/obj-coff.c: Add include of struc-symbol.h header. 2012-10-18 17:00:56 +00:00
obj-coff.h 2012-01-12 Tristan Gingold <gingold@adacore.com> 2012-01-12 08:53:34 +00:00
obj-ecoff.c * obj.h (struct format_ops): Add adjust_symtab. 2010-10-25 12:38:42 +00:00
obj-ecoff.h
obj-elf.c 2013-02-06 Sandra Loosemore <sandra@codesourcery.com> 2013-02-06 23:22:26 +00:00
obj-elf.h * read.h (s_vendor_attribute): Move to... 2012-11-09 18:07:10 +00:00
obj-evax.c * config/obj-evax.c: Include as.h first. 2012-05-18 05:32:03 +00:00
obj-evax.h 2011-06-27 Tristan Gingold <gingold@adacore.com> 2011-06-27 10:03:42 +00:00
obj-fdpicelf.c Add copyright notices 2012-12-17 16:56:12 +00:00
obj-fdpicelf.h Add copyright notices 2012-12-17 16:56:12 +00:00
obj-macho.c provide a hook to allow checking errors just before we output the file. 2012-02-21 13:39:37 +00:00
obj-macho.h provide a hook to allow checking errors just before we output the file. 2012-02-21 13:39:37 +00:00
obj-multi.c
obj-multi.h * obj.h (struct format_ops): Add adjust_symtab. 2010-10-25 12:38:42 +00:00
obj-som.c
obj-som.h
rl78-defs.h [bfd] 2011-12-23 01:49:37 +00:00
rl78-parse.y * rl78-decode.opc (rl78_decode_opcode): Add NOT1. 2012-01-25 01:40:11 +00:00
rx-defs.h Building rx's gas code atm fails: 2011-10-25 20:36:22 +00:00
rx-parse.y * config/rx-parse.y (rx_range): declare. 2012-05-15 03:23:37 +00:00
tc-aarch64.c include/opcode/ 2013-01-17 16:09:44 +00:00
tc-aarch64.h Add support for 64-bit ARM architecture: AArch64 2012-08-13 14:52:54 +00:00
tc-alpha.c * bfd-in.h (bfd_get_section_name, bfd_get_section_vma, 2012-05-16 16:38:29 +00:00
tc-alpha.h
tc-arc.c * gas/config/obj-elf.h (ELF_TARGET_SYMBOL_FIELDS, 2011-03-10 10:06:05 +00:00
tc-arc.h
tc-arm.c gas/ 2013-01-29 17:33:22 +00:00
tc-arm.h gas/ 2012-11-20 17:53:46 +00:00
tc-avr.c PR gas/14255 2013-02-05 23:02:54 +00:00
tc-avr.h PR gas/14255 2013-02-05 23:02:54 +00:00
tc-bfin.c gas: blackfin: add support for bf54x-0.4 2011-03-15 00:17:00 +00:00
tc-bfin.h
tc-cr16.c PR gas/12861 2011-06-09 15:43:52 +00:00
tc-cr16.h
tc-cris.c * config/tc-cris.c (md_convert_frag): Mark the length_code local 2011-12-14 14:10:57 +00:00
tc-cris.h
tc-crx.c * config/tc-crx.c (check_range): Correct uint32_t misconceptions. 2012-02-27 12:36:21 +00:00
tc-crx.h
tc-d10v.c Remove trailing redundant `;' 2012-11-09 08:29:34 +00:00
tc-d10v.h * read.c (read_a_source_file): Remove md_after_pass_hook. 2011-03-18 10:46:52 +00:00
tc-d30v.c * config/tc-d30v.c (d30v_cons_align): Don't align .eh_frame. 2010-10-28 05:34:55 +00:00
tc-d30v.h * read.c (read_a_source_file): Remove md_after_pass_hook. 2011-03-18 10:46:52 +00:00
tc-dlx.c * config/tc-dlx.c (s_proc): Don't use asprintf. 2012-05-18 23:21:49 +00:00
tc-dlx.h
tc-epiphany.c bfd: 2011-10-27 14:27:16 +00:00
tc-epiphany.h bfd: 2011-10-27 14:27:16 +00:00
tc-fr30.c
tc-fr30.h
tc-frv.c
tc-frv.h
tc-generic.c
tc-generic.h
tc-h8300.c PR 14072 2012-05-17 15:13:28 +00:00
tc-h8300.h * dwarf2dbg.c (DWARF2_USE_FIXED_ADVANCE_PC): Enable when using 2012-06-28 11:31:14 +00:00
tc-hppa.c * config/tc-hppa.c (pa_get_number): New. 2012-10-14 23:59:39 +00:00
tc-hppa.h Replace all uses of bfd_abs_section, bfd_com_section, bfd_und_section 2012-05-05 03:05:32 +00:00
tc-i370.c
tc-i370.h
tc-i386-intel.c Remove trailing redundant `;' 2012-11-09 08:29:34 +00:00
tc-i386.c Support size relocation only for ELF 2013-01-18 16:37:08 +00:00
tc-i386.h Add AMD btver1 and btver2 support 2012-08-17 17:12:36 +00:00
tc-i860.c
tc-i860.h
tc-i960.c
tc-i960.h * write.c (fixup_segment): Return void. Delete seg_reloc_count 2013-02-04 12:34:17 +00:00
tc-ia64.c Add Intel Itanium Series 9500 support 2012-09-04 13:52:06 +00:00
tc-ia64.h gas: Make dwarf2dbg.c versions specific and add DW_AT_high_pc case for DWARF 4+. 2012-04-30 14:32:28 +00:00
tc-ip2k.c
tc-ip2k.h
tc-iq2000.c
tc-iq2000.h
tc-lm32.c PR 14072 2012-05-17 15:13:28 +00:00
tc-lm32.h
tc-m32c.c
tc-m32c.h
tc-m32r.c Replace all uses of bfd_abs_section, bfd_com_section, bfd_und_section 2012-05-05 03:05:32 +00:00
tc-m32r.h * read.c (read_a_source_file): Remove md_after_pass_hook. 2011-03-18 10:46:52 +00:00
tc-m68hc11.c 2012-11-07 James Murray <jsm@jsm-net.demon.co.uk> 2012-11-07 20:36:33 +00:00
tc-m68hc11.h
tc-m68k.c * write.h (struct fix <fx_pcrel_adjust>): Make it a signed char. 2012-11-05 07:10:37 +00:00
tc-m68k.h
tc-m68851.h
tc-mcore.c
tc-mcore.h
tc-mep.c PR 14072 2012-05-17 15:13:28 +00:00
tc-mep.h
tc-metag.c * config/tc-metag.c: Make SWAP instruction less permissive with its operands. 2013-01-30 13:21:01 +00:00
tc-metag.h * common.h: Fix case of "Meta". 2013-01-10 09:49:22 +00:00
tc-microblaze.c Microblaze: Add support for handling TLS symbol suffixes and generating 2012-12-11 16:56:53 +00:00
tc-microblaze.h Add microblazeel target support to bfd, gas and ld. 2012-11-09 16:25:12 +00:00
tc-mips.c 2013-01-09 Steve Ellcey <sellcey@mips.com> 2013-01-09 18:31:21 +00:00
tc-mips.h gas/ 2012-09-23 11:14:27 +00:00
tc-mmix.c * config/tc-mmix.c (loc_asserts): New variable. 2012-08-14 02:29:01 +00:00
tc-mmix.h PR gas/14521 2012-09-01 18:10:50 +00:00
tc-mn10200.c * config/tc-mn10200.c (md_convert_frag): Add missing break. 2011-10-24 02:49:24 +00:00
tc-mn10200.h
tc-mn10300.c * mn10300.h (elf_mn10300_reloc_type): Add R_MN10300_TLS_GD, 2012-03-07 17:52:00 +00:00
tc-mn10300.h
tc-moxie.c Bi-endian patches for moxie 2012-09-13 22:24:51 +00:00
tc-moxie.h Bi-endian patches for moxie 2012-09-13 22:24:51 +00:00
tc-msp430.c PR 14072 2012-05-17 15:13:28 +00:00
tc-msp430.h * write.c (fixup_segment): Only perform the subtraction of an 2012-07-02 07:35:06 +00:00
tc-mt.c * config/tc-m32r.c (md_show_usage): Fix typos in descriptions. 2011-05-17 16:15:59 +00:00
tc-mt.h
tc-nios2.c 2013-02-06 Sandra Loosemore <sandra@codesourcery.com> 2013-02-06 23:22:26 +00:00
tc-nios2.h 2013-02-06 Sandra Loosemore <sandra@codesourcery.com> 2013-02-06 23:22:26 +00:00
tc-ns32k.c * config/tc-ns32k.c (md_begin): Rename local variable 'stat' to 'status'. 2011-10-25 13:35:00 +00:00
tc-ns32k.h
tc-openrisc.c
tc-openrisc.h
tc-or32.c PR 14072 2012-05-17 15:13:28 +00:00
tc-or32.h
tc-pdp11.c * config/tc-pdp11.c (parse_op_no_deferred): Allow PC-relative 2011-01-06 16:41:35 +00:00
tc-pdp11.h
tc-pj.c * config/tc-m32r.c (md_show_usage): Fix typos in descriptions. 2011-05-17 16:15:59 +00:00
tc-pj.h
tc-ppc.c * config/tc-ppc.c (md_assemble): Do not generate APUinfo sections 2013-01-25 02:02:21 +00:00
tc-ppc.h bfd/ 2012-11-06 05:18:03 +00:00
tc-rl78.c * config/tc-rl78.c (rl78_cons_fix_new): Handle user-specified 2013-01-29 22:17:53 +00:00
tc-rl78.h [bfd] 2011-12-23 01:49:37 +00:00
tc-rx.c 2012-11-09 Nick Clifton <nickc@redhat.com> 2012-11-09 17:00:44 +00:00
tc-rx.h
tc-s390.c Remove trailing redundant `;' 2012-11-09 08:29:34 +00:00
tc-s390.h
tc-score.c Replace all uses of bfd_abs_section, bfd_com_section, bfd_und_section 2012-05-05 03:05:32 +00:00
tc-score.h
tc-score7.c Replace all uses of bfd_abs_section, bfd_com_section, bfd_und_section 2012-05-05 03:05:32 +00:00
tc-sh.c gas/ 2012-03-21 08:58:40 +00:00
tc-sh.h
tc-sh64.c
tc-sh64.h
tc-sparc.c Fix sparc bitness overrides in GAS. Noticed by Eric Botcazou. 2012-11-20 08:37:52 +00:00
tc-sparc.h
tc-spu.c
tc-spu.h
tc-tic4x.c bfd/ 2012-11-06 05:51:18 +00:00
tc-tic4x.h
tc-tic6x.c * read.h (s_vendor_attribute): Move to... 2012-11-09 18:07:10 +00:00
tc-tic6x.h ld/testsuite/ 2011-05-20 10:10:00 +00:00
tc-tic30.c PR gas/12754 2011-05-18 13:52:44 +00:00
tc-tic30.h
tc-tic54x.c PR 14072 2012-05-17 15:13:28 +00:00
tc-tic54x.h
tc-tilegx.c Add support for constructing pc-relative addresses to the plt, by 2012-08-28 02:43:22 +00:00
tc-tilegx.h Add big-endian support for tilegx. 2012-02-25 19:51:34 +00:00
tc-tilepro.c Fix regression from change 2012-02-25 22:40:48 +00:00
tc-tilepro.h * Makefile.am (ALL_MACHINES): Add cpu-tilegx.lo and cpu-tilepro.lo. 2011-06-13 15:18:54 +00:00
tc-v850.c Add support for V850E3V5 architecture 2013-01-24 11:14:05 +00:00
tc-v850.h 2012-11-09 Nick Clifton <nickc@redhat.com> 2012-11-09 17:36:19 +00:00
tc-vax.c
tc-vax.h
tc-xc16x.c
tc-xc16x.h
tc-xgate.c * config/tc-xgate.c (md_begin): Fix mistake made when going from 2013-01-11 21:12:34 +00:00
tc-xgate.h gas/config/ 2012-06-28 21:36:35 +00:00
tc-xstormy16.c
tc-xstormy16.h
tc-xtensa.c Remove trailing redundant `;' 2012-11-09 08:29:34 +00:00
tc-xtensa.h
tc-z8k.c
tc-z8k.h
tc-z80.c 2012-05-06 Arnold Metselaar <arnold_m@operamail.com> 2012-05-06 09:49:21 +00:00
tc-z80.h 2012-05-06 Arnold Metselaar <arnold_m@operamail.com> 2012-05-06 09:49:21 +00:00
te-386bsd.h
te-aix5.h
te-armeabi.h
te-armlinuxeabi.h
te-dragonfly.h Add support for DragonFlyBSD target. 2011-03-28 11:18:27 +00:00
te-dynix.h
te-epoc-pe.h
te-freebsd.h
te-generic.h
te-gnu.h
te-go32.h
te-hppa.h
te-hppa64.h
te-hppalinux64.h
te-hpux.h
te-i386aix.h
te-ia64aix.h
te-interix.h
te-irix.h
te-linux.h
te-lnews.h
te-lynx.h
te-mach.h
te-macos.h
te-nacl.h * elf32-arm.c (elf32_arm_nacl_plt0_entry, elf32_arm_nacl_plt_entry): 2012-04-12 13:01:15 +00:00
te-nbsd.h
te-nbsd532.h
te-netware.h
te-pc532mach.h
te-pe.h
te-pep.h
te-psos.h
te-riscix.h
te-solaris.h
te-sparcaout.h
te-sun3.h
te-svr4.h
te-symbian.h
te-tmips.h
te-uclinux.h
te-vms.c
te-vms.h
te-vxworks.h
te-wince-pe.h
vax-inst.h
xtensa-istack.h
xtensa-relax.c
xtensa-relax.h