2015-07-01 Sandra Loosemore <sandra@codesourcery.com> Cesar Philippidis <cesar@codesourcery.com> bfd/ * archures.c (bfd_mach_nios2r1, bfd_mach_nios2r2): New. * bfd-in2.h: Regenerated. * cpu-nios2.c (nios2_compatible): New. (N): Use nios2_compatible instead of bfd_default_compatible. (NIOS2R1_NEXT, NIOS2R2_NEXT): Define. (arch_info_struct): New. (bfd_nios2_arch): Chain to NIOS2R1_NEXT. * elf32-nios2.c (is_nios2_elf): New. (nios2_elf32_merge_private_bfd_data): New. (nios2_elf32_object_p): New. (bfd_elf32_bfd_merge_private_bfd_data): Define. (elf_backend_object_p): Define. gas/ * config/tc-nios2.c: Adjust includes. (OPTION_MARCH): Define. (md_longopts): Add -march option. (nios2_architecture): New. (nios2_use_arch): New. (md_parse_option): Handle OPTION_MARCH. (md_show_usage): Document -march. (md_begin): Set arch in BFD. (nios2_elf_final_processing): New. * config/tc-nios2.h (elf_tc_final_processing): Define. (nios2_elf_final_processing): New. * doc/c-nios2.texi (-march): Add documentation. include/elf/ * nios2.h (EF_NIOS2_ARCH_R1, EF_NIOS2_ARCH_R2): Define. ld/testsuite/ * ld-nios2/mixed1a.d: New. * ld-nios2/mixed1a.s: New. * ld-nios2/mixed1b.d: New. * ld-nios2/mixed1b.s: New. * ld-nios2/nios2.exp: Build the new compatibility tests. |
||
---|---|---|
.. | ||
emit-relocs-1.d | ||
emit-relocs-1.ld | ||
emit-relocs-1a.s | ||
emit-relocs-1b.s | ||
gprel.d | ||
gprel.s | ||
hilo16.d | ||
hilo16.s | ||
hilo16_symbol.s | ||
imm5.d | ||
imm5.s | ||
imm5_symbol.s | ||
mixed1a.d | ||
mixed1a.s | ||
mixed1b.d | ||
mixed1b.s | ||
nios2.exp | ||
pcrel16.d | ||
pcrel16.s | ||
pcrel16_label.s | ||
relax_call26.s | ||
relax_call26_boundary.ld | ||
relax_call26_boundary.s | ||
relax_call26_boundary_c8.d | ||
relax_call26_boundary_cc.d | ||
relax_call26_boundary_d0.d | ||
relax_call26_boundary_d4.d | ||
relax_call26_boundary_d8.d | ||
relax_call26_boundary_dc.d | ||
relax_call26_boundary_f0.d | ||
relax_call26_boundary_f4.d | ||
relax_call26_boundary_f8.d | ||
relax_call26_boundary_fc.d | ||
relax_call26_cache.d | ||
relax_call26_cache.ld | ||
relax_call26_cache.s | ||
relax_call26_multi.d | ||
relax_call26_multi.ld | ||
relax_call26_norelax.d | ||
relax_call26_shared.d | ||
relax_call26_shared.ld | ||
relax_callr.d | ||
relax_callr.ld | ||
relax_callr.s | ||
relax_cjmp.d | ||
relax_cjmp.s | ||
relax_jmp.ld | ||
relax_section.d | ||
relax_section.s | ||
relax_ujmp.d | ||
relax_ujmp.s | ||
reloc.d | ||
reloc.s | ||
reloc_symbol.s | ||
s16.d | ||
s16.s | ||
s16_symbol.s | ||
u16.d | ||
u16.s | ||
u16_symbol.s |