36591ba149
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.
275 lines
8.1 KiB
Text
275 lines
8.1 KiB
Text
2013-02-06 Sandra Loosemore <sandra@codesourcery.com>
|
||
Andrew Jenner <andrew@codesourcery.com>
|
||
|
||
Based on patches from Altera Corporation.
|
||
|
||
* 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.
|
||
|
||
2013-02-06 H.J. Lu <hongjiu.lu@intel.com>
|
||
|
||
* ld-elf/now-1.d: New file.
|
||
* ld-elf/now-2.d: Likewise.
|
||
* ld-elf/now-3.d: Likewise.
|
||
* ld-elf/now-4.d: Likewise.
|
||
* ld-elf/rpath-1.d: Likewise.
|
||
* ld-elf/rpath-2.d: Likewise.
|
||
* ld-elf/runpath-1.d: Likewise.
|
||
* ld-elf/runpath-2.d: Likewise.
|
||
|
||
2013-02-06 Alan Modra <amodra@gmail.com>
|
||
|
||
PR ld/15096
|
||
* ld-elf/new-dtags-1.d: Delete.
|
||
* ld-elf/new-dtags-2.d: Likewise.
|
||
* ld-elf/new-dtags-3.d: Likewise.
|
||
* ld-elf/new-dtags-4.d: Likewise.
|
||
* ld-elf/new-dtags-5.d: Likewise.
|
||
* ld-elf/new-dtags-6.d: Likewise.
|
||
* ld-elf/new-dtags-7.d: Likewise.
|
||
* ld-elf/new-dtags-8.d: Likewise.
|
||
|
||
2013-02-04 H.J. Lu <hongjiu.lu@intel.com>
|
||
|
||
PR ld/15096
|
||
* ld-elf/new-dtags-1.d: New test.
|
||
* ld-elf/new-dtags-2.d: Likewise.
|
||
* ld-elf/new-dtags-3.d: Likewise.
|
||
* ld-elf/new-dtags-4.d: Likewise.
|
||
* ld-elf/new-dtags-5.d: Likewise.
|
||
* ld-elf/new-dtags-6.d: Likewise.
|
||
* ld-elf/new-dtags-7.d: Likewise.
|
||
* ld-elf/new-dtags-8.d: Likewise.
|
||
|
||
2013-01-31 Alan Modra <amodra@gmail.com>
|
||
|
||
* ld-powerpc/tlsexe.d: Update for changed stub names.
|
||
* ld-powerpc/tlsexe.r: Likewise.
|
||
* ld-powerpc/tlsexetoc.d: Likewise.
|
||
* ld-powerpc/tlsexetoc.r: Likewise.
|
||
* ld-powerpc/tlsso.d: Likewise.
|
||
* ld-powerpc/tlsso.r: Likewise.
|
||
* ld-powerpc/tlstocso.d: Likewise.
|
||
* ld-powerpc/tlstocso.r: Likewise.
|
||
|
||
2013-01-31 Hans-Peter Nilsson <hp@axis.com>
|
||
|
||
* ld-cris/libdso-13.d: Adjust for --enable-new-dtags now
|
||
default for *-*-linux-* by passing explicitly for all targets.
|
||
|
||
2013-01-21 Alan Modra <amodra@gmail.com>
|
||
|
||
* ld-size/size.exp (build_tests <size-7, size-8>): Pass
|
||
--no-as-needed in cflags.
|
||
|
||
2013-01-19 H.J. Lu <hongjiu.lu@intel.com>
|
||
|
||
* config/default.exp (get_target_emul): Also set HOSTING_SCRT0.
|
||
|
||
* lib/ld-lib.exp (default_ld_link): Use HOSTING_SCRT0 for -pie.
|
||
|
||
2013-01-18 H.J. Lu <hongjiu.lu@intel.com>
|
||
|
||
* ld-size/size-10.rd: Updated.
|
||
* ld-size/size-8.rd: Likewise.
|
||
* ld-size/size32-2-i386.d: Likewise.
|
||
* ld-size/size32-2-x32.d: Likewise.
|
||
* ld-size/size32-2-x86-64.d: Likewise.
|
||
* ld-size/size64-2-x32.d: Likewise.
|
||
* ld-size/size64-2-x86-64.d: Likewise.
|
||
|
||
2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
|
||
|
||
* ld-size/size-7.out: New file.
|
||
* ld-size/size-8.out: Likewise.
|
||
* ld-size/size-9.out: Likewise.
|
||
* ld-size/size-9.rd: Likewise.
|
||
* ld-size/size-9a.c: Likewise.
|
||
* ld-size/size-9b.c: Likewise.
|
||
* ld-size/size-10.out: Likewise.
|
||
* ld-size/size-10.rd: Likewise.
|
||
* ld-size/size-10a.c: Likewise.
|
||
* ld-size/size-10b.c: Likewise.
|
||
|
||
* ld-size/size.exp (build_tests): Build libsize-9.so and
|
||
libsize-10.so.
|
||
Run-time size relocation tests if supported.
|
||
(run_time_tests): New.
|
||
|
||
2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
|
||
|
||
* ld-size/size-1.c: New file.
|
||
* ld-size/size-1.out: Likewise.
|
||
* ld-size/size-1a.c: Likewise.
|
||
* ld-size/size-1b.c: Likewise.
|
||
* ld-size/size-2.c: Likewise.
|
||
* ld-size/size-2.out: Likewise.
|
||
* ld-size/size-2a.c: Likewise.
|
||
* ld-size/size-2b.c: Likewise.
|
||
|
||
* ld-size/size.exp (build_tests): Build libsize-1.so and
|
||
libsize-2.so.
|
||
(run_tests): Run size-1 and size-2.
|
||
|
||
2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
|
||
|
||
* ld-size/size32-3-i386.d: New file.
|
||
* ld-size/size32-3-x32.d: Likewise.
|
||
* ld-size/size32-3-x86-64.d: Likewise.
|
||
* ld-size/size32-3a.s: Likewise.
|
||
* ld-size/size32-3b.s: Likewise.
|
||
|
||
2013-01-16 H.J. Lu <hongjiu.lu@intel.com>
|
||
|
||
* ld-size/size.exp: New file.
|
||
* ld-size/size32-1-i386.d: Likewise.
|
||
* ld-size/size32-1-x32.d: Likewise.
|
||
* ld-size/size32-1-x86-64.d: Likewise.
|
||
* ld-size/size32-1.s: Likewise.
|
||
* ld-size/size32-2-i386.d: Likewise.
|
||
* ld-size/size32-2-x32.d: Likewise.
|
||
* ld-size/size32-2-x86-64.d: Likewise.
|
||
* ld-size/size32-2.s: Likewise.
|
||
* ld-size/size64-1-x32.d: Likewise.
|
||
* ld-size/size64-1-x86-64.d: Likewise.
|
||
* ld-size/size64-1.s: Likewise.
|
||
* ld-size/size64-2-x32.d: Likewise.
|
||
* ld-size/size64-2-x86-64.d: Likewise.
|
||
* ld-size/size64-2.s: Likewise.
|
||
* ld-size/size-3.c: Likewise.
|
||
* ld-size/size-3.out: Likewise.
|
||
* ld-size/size-3a.c: Likewise.
|
||
* ld-size/size-3b.c: Likewise.
|
||
* ld-size/size-3c.c: Likewise.
|
||
* ld-size/size-4.out: Likewise.
|
||
* ld-size/size-4a.c: Likewise.
|
||
* ld-size/size-4b.c: Likewise.
|
||
* ld-size/size-5.out: Likewise.
|
||
* ld-size/size-5a.c: Likewise.
|
||
* ld-size/size-5b.c: Likewise.
|
||
* ld-size/size-6.out: Likewise.
|
||
* ld-size/size-6a.c: Likewise.
|
||
* ld-size/size-6b.c: Likewise.
|
||
* ld-size/size-7.rd: Likewise.
|
||
* ld-size/size-7a.c: Likewise.
|
||
* ld-size/size-7b.c: Likewise.
|
||
* ld-size/size-8.rd: Likewise.
|
||
* ld-size/size-8a.c: Likewise.
|
||
* ld-size/size-8b.c: Likewise.
|
||
|
||
2013-01-16 Alan Modra <amodra@gmail.com>
|
||
|
||
* ld-plugin/lto.exp (lto-9.o, pr13229.o): Pass -finline.
|
||
|
||
2013-01-15 Alan Modra <amodra@gmail.com>
|
||
|
||
* ld-powerpc/tlsso.d: Adjust for plt-thread-safe stubs.
|
||
* ld-powerpc/tlsso.g: Likewise.
|
||
* ld-powerpc/tlsso.r: Likewise.
|
||
* ld-powerpc/tlstocso.d: Likewise.
|
||
* ld-powerpc/tlstocso.g: Likewise.
|
||
|
||
2013-01-15 Alan Modra <amodra@gmail.com>
|
||
|
||
* ld-plugin/lto-16a.d: Match powerpc64 function symbol type.
|
||
* ld-plugin/lto-16b.d: Likewise.
|
||
* ld-plugin/lto-17a.d: Likewise.
|
||
* ld-plugin/lto-17b-2.d: Likewise.
|
||
|
||
2013-01-14 Alan Modra <amodra@gmail.com>
|
||
|
||
* ld-elf/pr14926.d: Disable for d10v, msp, xstormy.
|
||
* ld-elf/sec-to-seg.exp: Choose correct variant output to suit
|
||
updated microblaze page size.
|
||
|
||
2013-01-10 Will Newton <will.newton@imgtec.com>
|
||
|
||
* ld-elf/merge.d: Mark Meta as xfail.
|
||
* ld-gc/start.d: Skip this test on Meta.
|
||
* ld-gc/personality.d: Skip this test on Meta.
|
||
* ld-metag/external.s: New file.
|
||
* ld-metag/metag.exp: New file.
|
||
* ld-metag/pcrel.d: New file.
|
||
* ld-metag/pcrel.s: New file.
|
||
* ld-metag/shared.d: New file.
|
||
* ld-metag/shared.r: New file.
|
||
* ld-metag/shared.s: New file.
|
||
* ld-metag/stub.d: New file.
|
||
* ld-metag/stub.s: New file.
|
||
* ld-metag/stub_pic_app.d: New file.
|
||
* ld-metag/stub_pic_app.r: New file.
|
||
* ld-metag/stub_pic_app.s: New file.
|
||
* ld-metag/stub_pic_shared.d: New file.
|
||
* ld-metag/stub_pic_shared.s: New file.
|
||
* ld-metag/stub_shared.d: New file.
|
||
* ld-metag/stub_shared.r: New file.
|
||
* ld-metag/stub_shared.s: New file.
|
||
|
||
2013-01-08 Thomas Schwinge <thomas@codesourcery.com>
|
||
|
||
* ld-i386/export-class.exp: Restore (and reword) comment about
|
||
excluded targets.
|
||
|
||
2013-01-04 Yufeng Zhang <yufeng.zhang@arm.com>
|
||
|
||
* ld-aarch64/emit-relocs-264.d: Append the '-Mno-aliases' option to
|
||
the objdump directive.
|
||
* ld-aarch64/emit-relocs-266.d: Ditto.
|
||
* ld-aarch64/emit-relocs-268.d: Ditto.
|
||
* ld-aarch64/emit-relocs-269.d: Ditto.
|
||
* ld-aarch64/emit-relocs-270.d: Ditto.
|
||
* ld-aarch64/emit-relocs-271.d: Ditto.
|
||
* ld-aarch64/emit-relocs-272.d: Ditto.
|
||
|
||
For older changes see ChangeLog-2012
|
||
|
||
Copyright (C) 2013 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.
|
||
|
||
Local Variables:
|
||
mode: change-log
|
||
left-margin: 8
|
||
fill-column: 74
|
||
version-control: never
|
||
End:
|