This is the mail archive of the gcc-cvs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

r206256 - in /trunk: contrib/ChangeLog contrib/...


Author: cltang
Date: Tue Dec 31 07:05:35 2013
New Revision: 206256

URL: http://gcc.gnu.org/viewcvs?rev=206256&root=gcc&view=rev
Log:

Commit of nios2 port to trunk:

contrib/
2013-12-31  Chung-Lin Tang  <cltang@codesourcery.com>

	* config-list.mk: Add nios2-elf, nios2-linux-gnu. Corrected
	ordering of some configs.

gcc/
2013-12-31  Chung-Lin Tang  <cltang@codesourcery.com>
	    Sandra Loosemore  <sandra@codesourcery.com>
	    Based on patches from Altera Corporation

	* config.gcc (nios2-*-*): Add nios2 config targets.
	* configure.ac (TLS_SECTION_ASM_FLAG): Add nios2 case.
	("$cpu_type"): Add nios2 as new cpu type.
	* configure: Regenerate.
	* config/nios2/nios2.c: New file.
	* config/nios2/nios2.h: New file.
	* config/nios2/nios2-opts.h: New file.
	* config/nios2/nios2-protos.h: New file.
	* config/nios2/elf.h: New file.
	* config/nios2/elf.opt: New file.
	* config/nios2/linux.h: New file.
	* config/nios2/nios2.opt: New file.
	* config/nios2/nios2.md: New file.
	* config/nios2/predicates.md: New file.
	* config/nios2/constraints.md: New file.
	* config/nios2/t-nios2: New file.
	* common/config/nios2/nios2-common.c: New file.
	* doc/invoke.texi (Nios II options): Document Nios II specific
	options.
	* doc/md.texi (Nios II family): Document Nios II specific
	constraints.
	* doc/extend.texi (Function Specific Option Pragmas): Document
	Nios II supported target pragma functionality.

gcc/testsuite/
2013-12-31  Sandra Loosemore  <sandra@codesourcery.com>
	    Chung-Lin Tang  <cltang@codesourcery.com>
	    Based on patches from Altera Corporation

	* gcc.dg/stack-usage-1.c (SIZE): Define case for __nios2__.
	* gcc.dg/20040813-1.c: Skip for nios2-*-*.
	* gcc.dg/20020312-2.c: Add __nios2__ case.
	* g++.dg/other/PR23205.C: Skip for nios2-*-*.
	* g++.dg/other/pr23205-2.C: Skip for nios2-*-*.
	* g++.dg/cpp0x/constexpr-rom.C: Skip for nios2-*-*.
	* g++.dg/cpp0x/alias-decl-debug-0.C: Skip for nios2-*-*.
	* g++.old-deja/g++.jason/thunk3.C: Skip for nios2-*-*.
	* lib/target-supports.exp (check_profiling_available): Check for
	nios2-*-elf.
	* gcc.c-torture/execute/pr47237.x:: Skip for nios2-*-*.
	* gcc.c-torture/execute/20101011-1.c: Skip for nios2-*-*.
	* gcc.c-torture/execute/builtins/lib/chk.c (memset): Place
	char-based memset loop before inline check, to prevent
	problems when called to initialize .bss. Update comments.
	* gcc.target/nios2/nios2.exp: New DejaGNU file.
	* gcc.target/nios2/nios2-custom-1.c: New test.
	* gcc.target/nios2/nios2-trap-insn.c: New test.
	* gcc.target/nios2/nios2-builtin-custom.c: New test.
	* gcc.target/nios2/nios2-builtin-io.c: New test.
	* gcc.target/nios2/nios2-stack-check-1.c: New test.
	* gcc.target/nios2/nios2-stack-check-2.c: New test.
	* gcc.target/nios2/nios2-rdctl.c: New test.
	* gcc.target/nios2/nios2-wrctl.c: New test.
	* gcc.target/nios2/nios2-wrctl-zero.c: New test.
	* gcc.target/nios2/nios2-wrctl-not-zero.c: New test.
	* gcc.target/nios2/nios2-rdwrctl-1.c: New test.
	* gcc.target/nios2/nios2-reg-constraints.c: New test.
	* gcc.target/nios2/nios2-ashlsi3-one_shift.c: New test.
	* gcc.target/nios2/nios2-mul-options-1.c: New test.
	* gcc.target/nios2/nios2-mul-options-2.c: New test.
	* gcc.target/nios2/nios2-mul-options-3.c: New test.
	* gcc.target/nios2/nios2-mul-options-4.c: New test.
	* gcc.target/nios2/nios2-nor.c: New test.
	* gcc.target/nios2/nios2-stxio.c: New test.
	* gcc.target/nios2/custom-fp-1.c: New test.
	* gcc.target/nios2/custom-fp-2.c: New test.
	* gcc.target/nios2/custom-fp-3.c: New test.
	* gcc.target/nios2/custom-fp-4.c: New test.
	* gcc.target/nios2/custom-fp-5.c: New test.
	* gcc.target/nios2/custom-fp-6.c: New test.
	* gcc.target/nios2/custom-fp-7.c: New test.
	* gcc.target/nios2/custom-fp-8.c: New test.
	* gcc.target/nios2/custom-fp-cmp-1.c: New test.
	* gcc.target/nios2/custom-fp-conversion.c: New test.
	* gcc.target/nios2/custom-fp-double.c: New test.
	* gcc.target/nios2/custom-fp-float.c: New test.
	* gcc.target/nios2/nios2-int-types.c: New test.
	* gcc.target/nios2/nios2-cache-1.c: New test.
	* gcc.target/nios2/nios2-cache-2.c: New test.

libgcc/
2013-12-31  Sandra Loosemore  <sandra@codesourcery.com>
	    Chung-Lin Tang  <cltang@codesourcery.com>
	    Based on patches from Altera Corporation

	* config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
	* config/nios2/lib2-nios2.h: New file.
	* config/nios2/lib2-divmod-hi.c: New file.
	* config/nios2/linux-unwind.h: New file.
	* config/nios2/lib2-divmod.c: New file.
	* config/nios2/linux-atomic.c: New file.
	* config/nios2/t-nios2: New file.
	* config/nios2/crti.asm: New file.
	* config/nios2/t-linux: New file.
	* config/nios2/lib2-divtable.c: New file.
	* config/nios2/lib2-mul.c: New file.
	* config/nios2/tramp.c: New file.
	* config/nios2/crtn.asm: New file.


Added:
    trunk/gcc/common/config/nios2/
    trunk/gcc/common/config/nios2/nios2-common.c
    trunk/gcc/config/nios2/
    trunk/gcc/config/nios2/constraints.md
    trunk/gcc/config/nios2/elf.h
    trunk/gcc/config/nios2/elf.opt
    trunk/gcc/config/nios2/linux.h
    trunk/gcc/config/nios2/nios2-opts.h
    trunk/gcc/config/nios2/nios2-protos.h
    trunk/gcc/config/nios2/nios2.c
    trunk/gcc/config/nios2/nios2.h
    trunk/gcc/config/nios2/nios2.md
    trunk/gcc/config/nios2/nios2.opt
    trunk/gcc/config/nios2/predicates.md
    trunk/gcc/config/nios2/t-nios2
    trunk/gcc/testsuite/gcc.c-torture/execute/pr47237.x
    trunk/gcc/testsuite/gcc.target/nios2/
    trunk/gcc/testsuite/gcc.target/nios2/custom-fp-1.c
    trunk/gcc/testsuite/gcc.target/nios2/custom-fp-2.c
    trunk/gcc/testsuite/gcc.target/nios2/custom-fp-3.c
    trunk/gcc/testsuite/gcc.target/nios2/custom-fp-4.c
    trunk/gcc/testsuite/gcc.target/nios2/custom-fp-5.c
    trunk/gcc/testsuite/gcc.target/nios2/custom-fp-6.c
    trunk/gcc/testsuite/gcc.target/nios2/custom-fp-7.c
    trunk/gcc/testsuite/gcc.target/nios2/custom-fp-8.c
    trunk/gcc/testsuite/gcc.target/nios2/custom-fp-cmp-1.c
    trunk/gcc/testsuite/gcc.target/nios2/custom-fp-conversion.c
    trunk/gcc/testsuite/gcc.target/nios2/custom-fp-double.c
    trunk/gcc/testsuite/gcc.target/nios2/custom-fp-float.c
    trunk/gcc/testsuite/gcc.target/nios2/nios2-ashlsi3-one_shift.c
    trunk/gcc/testsuite/gcc.target/nios2/nios2-builtin-custom.c
    trunk/gcc/testsuite/gcc.target/nios2/nios2-builtin-io.c
    trunk/gcc/testsuite/gcc.target/nios2/nios2-cache-1.c
    trunk/gcc/testsuite/gcc.target/nios2/nios2-cache-2.c
    trunk/gcc/testsuite/gcc.target/nios2/nios2-custom-1.c
    trunk/gcc/testsuite/gcc.target/nios2/nios2-custom-2.c
    trunk/gcc/testsuite/gcc.target/nios2/nios2-int-types.c
    trunk/gcc/testsuite/gcc.target/nios2/nios2-mul-options-1.c
    trunk/gcc/testsuite/gcc.target/nios2/nios2-mul-options-2.c
    trunk/gcc/testsuite/gcc.target/nios2/nios2-mul-options-3.c
    trunk/gcc/testsuite/gcc.target/nios2/nios2-mul-options-4.c
    trunk/gcc/testsuite/gcc.target/nios2/nios2-nor.c
    trunk/gcc/testsuite/gcc.target/nios2/nios2-rdctl.c
    trunk/gcc/testsuite/gcc.target/nios2/nios2-rdwrctl-1.c
    trunk/gcc/testsuite/gcc.target/nios2/nios2-stack-check-1.c
    trunk/gcc/testsuite/gcc.target/nios2/nios2-stack-check-2.c
    trunk/gcc/testsuite/gcc.target/nios2/nios2-stxio.c
    trunk/gcc/testsuite/gcc.target/nios2/nios2-trap-insn.c
    trunk/gcc/testsuite/gcc.target/nios2/nios2-wrctl-not-zero.c
    trunk/gcc/testsuite/gcc.target/nios2/nios2-wrctl-zero.c
    trunk/gcc/testsuite/gcc.target/nios2/nios2-wrctl.c
    trunk/gcc/testsuite/gcc.target/nios2/nios2.exp
    trunk/libgcc/config/nios2/
    trunk/libgcc/config/nios2/crti.S
    trunk/libgcc/config/nios2/crtn.S
    trunk/libgcc/config/nios2/lib2-divmod-hi.c
    trunk/libgcc/config/nios2/lib2-divmod.c
    trunk/libgcc/config/nios2/lib2-divtable.c
    trunk/libgcc/config/nios2/lib2-mul.c
    trunk/libgcc/config/nios2/lib2-nios2.h
    trunk/libgcc/config/nios2/linux-atomic.c
    trunk/libgcc/config/nios2/linux-unwind.h
    trunk/libgcc/config/nios2/sfp-machine.h
    trunk/libgcc/config/nios2/t-linux
    trunk/libgcc/config/nios2/t-nios2
    trunk/libgcc/config/nios2/tramp.c
Modified:
    trunk/contrib/ChangeLog
    trunk/contrib/config-list.mk
    trunk/gcc/ChangeLog
    trunk/gcc/config.gcc
    trunk/gcc/configure
    trunk/gcc/configure.ac
    trunk/gcc/doc/extend.texi
    trunk/gcc/doc/invoke.texi
    trunk/gcc/doc/md.texi
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/g++.dg/cpp0x/alias-decl-debug-0.C
    trunk/gcc/testsuite/g++.dg/cpp0x/constexpr-rom.C
    trunk/gcc/testsuite/g++.dg/other/PR23205.C
    trunk/gcc/testsuite/g++.dg/other/pr23205-2.C
    trunk/gcc/testsuite/g++.old-deja/g++.jason/thunk3.C
    trunk/gcc/testsuite/gcc.c-torture/execute/20101011-1.c
    trunk/gcc/testsuite/gcc.c-torture/execute/builtins/lib/chk.c
    trunk/gcc/testsuite/gcc.dg/20020312-2.c
    trunk/gcc/testsuite/gcc.dg/20040813-1.c
    trunk/gcc/testsuite/gcc.dg/stack-usage-1.c
    trunk/gcc/testsuite/lib/target-supports.exp
    trunk/libgcc/ChangeLog
    trunk/libgcc/config.host


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]