gcc/libgcc/config
Chung-Lin Tang e430824f28 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.

From-SVN: r206256
2013-12-31 07:05:35 +00:00
..
aarch64 linux-unwind.h (aarch64_fallback_frame_state): Check for correct opcodes on BE. 2013-11-28 10:59:38 +00:00
alpha Update copyright in libgcc. 2013-02-04 19:06:20 +00:00
arc In accordance with http://gcc.gnu.org/ml/gcc-patches/2013-10/msg00131.html : 2013-10-02 12:18:24 +01:00
arm bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for architectures that do not have hardware divide instruction. 2013-12-04 12:34:39 +01:00
avr re PR target/57516 ([avr] Incorrect fixed-point rounding result in the overflow case) 2013-07-19 11:10:08 +00:00
bfin Update copyright in libgcc. 2013-02-04 19:06:20 +00:00
c6x re PR other/53317 (Conversion from __int128 to __float128) 2013-06-21 20:08:01 +01:00
cr16 Update copyright in libgcc. 2013-02-04 19:06:20 +00:00
cris For CRIS ports, switch to soft-fp. Improve arit.c and longlong.h. 2013-10-16 01:43:14 +00:00
epiphany Update copyright in libgcc. 2013-02-04 19:06:20 +00:00
fr30 Update copyright in libgcc. 2013-02-04 19:06:20 +00:00
frv Update copyright in libgcc. 2013-02-04 19:06:20 +00:00
h8300 Update copyright in libgcc. 2013-02-04 19:06:20 +00:00
i386 cpuinfo.c (enum vendor_signatures): Remove. 2013-12-26 15:12:20 +01:00
ia64 Fix licenses on several libgcc files. 2013-08-01 21:09:10 +00:00
iq2000 Update copyright in libgcc. 2013-02-04 19:06:20 +00:00
libbid Update copyright in libgcc. 2013-02-04 19:06:20 +00:00
lm32 re PR other/53317 (Conversion from __int128 to __float128) 2013-06-21 20:08:01 +01:00
m32c Update copyright in libgcc. 2013-02-04 19:06:20 +00:00
m32r Update copyright in libgcc. 2013-02-04 19:06:20 +00:00
m68k Update copyright in libgcc. 2013-02-04 19:06:20 +00:00
mcore Update copyright in libgcc. 2013-02-04 19:06:20 +00:00
mep Update copyright in libgcc. 2013-02-04 19:06:20 +00:00
microblaze Setup stack protection at entry. 2013-03-04 15:23:05 +00:00
mips mips16.S (CE_STARTFN, CE_ENDFN): New macros. 2013-08-16 22:23:29 +00:00
mmix Update copyright in libgcc. 2013-02-04 19:06:20 +00:00
moxie re PR other/53317 (Conversion from __int128 to __float128) 2013-06-21 20:08:01 +01:00
msp430 MAINTAINERS: Add Nick Clifton and DJ Delorie as msp430 maintainers. 2013-09-12 13:52:41 -04:00
nds32 Add new nds32 port, including machine description, libgcc, and documentation. 2013-10-31 17:08:16 +00:00
nios2 Commit of nios2 port to trunk: 2013-12-31 07:05:35 +00:00
pa Update copyright in libgcc. 2013-02-04 19:06:20 +00:00
pdp11
picochip Update copyright in libgcc. 2013-02-04 19:06:20 +00:00
rl78 * config/rl78/vregs.h: Add G10 register definitions. 2013-09-16 17:58:05 -04:00
rs6000 ibm-ldouble.c (__gcc_qadd): Fix add of normal number and qNaN to not raise an inexact exception. 2013-12-03 18:57:37 +00:00
rx Update copyright in libgcc. 2013-02-04 19:06:20 +00:00
s390 linux-unwind.h: Use the proper dwarf to hard reg mapping for FPRs when... 2013-07-23 07:20:52 +00:00
score re PR other/53317 (Conversion from __int128 to __float128) 2013-06-21 20:08:01 +01:00
sh crt1.S (start): Don't do VBR_SETUP for SH2E. 2013-11-25 17:11:50 +00:00
sparc sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set fs->signal_frame for SIGFPE raised for IEEE-754 exceptions. 2013-05-28 13:52:50 +00:00
spu Update copyright in libgcc. 2013-02-04 19:06:20 +00:00
stormy16 Update copyright in libgcc. 2013-02-04 19:06:20 +00:00
tilegx re PR other/53317 (Conversion from __int128 to __float128) 2013-06-21 20:08:01 +01:00
tilepro re PR other/53317 (Conversion from __int128 to __float128) 2013-06-21 20:08:01 +01:00
v850 Update copyright in libgcc. 2013-02-04 19:06:20 +00:00
vax Update copyright in libgcc. 2013-02-04 19:06:20 +00:00
vms Update copyright in libgcc. 2013-02-04 19:06:20 +00:00
xtensa Update copyright in libgcc. 2013-02-04 19:06:20 +00:00
darwin-64.c Update copyright in libgcc. 2013-02-04 19:06:20 +00:00
darwin-crt3.c Update copyright in libgcc. 2013-02-04 19:06:20 +00:00
darwin-crt-tm.c re PR libitm/55693 (libitm.c++/eh-1.C execution test fails on darwin from r193271) 2013-02-11 23:30:10 +00:00
gmon-sol2.c
gthr-lynx.h Update copyright in libgcc. 2013-02-04 19:06:20 +00:00
gthr-rtems.h Update copyright in libgcc. 2013-02-04 19:06:20 +00:00
gthr-vxworks.h Update copyright in libgcc. 2013-02-04 19:06:20 +00:00
libgcc-glibc.ver Update copyright in libgcc. 2013-02-04 19:06:20 +00:00
libgcc-libsystem.ver
no-sfp-machine.h
no-unwind.h
t-crtfm
t-crtstuff-pic
t-darwin
t-dfprules
t-eh-dw2-dip
t-fdpbit
t-fixedpoint-gnu-prefix
t-fpbit
t-freebsd-thread
t-gnu-prefix
t-libgcc-pic
t-libunwind
t-libunwind-elf Update copyright in libgcc. 2013-02-04 19:06:20 +00:00
t-linux
t-openbsd-thread
t-rtems
t-slibgcc Update copyright in libgcc. 2013-02-04 19:06:20 +00:00
t-slibgcc-darwin
t-slibgcc-elf-ver
t-slibgcc-gld
t-slibgcc-gld-nover
t-slibgcc-hpux re PR other/55274 (gcc build hangs on HP-UX 11.11) 2013-04-06 18:22:09 +00:00
t-slibgcc-libgcc Update copyright in libgcc. 2013-02-04 19:06:20 +00:00
t-slibgcc-nolc-override
t-slibgcc-sld
t-slibgcc-vms
t-softfp Suppress some warnings for soft-fp files 2013-11-25 16:02:12 +00:00
t-softfp-excl
t-softfp-sfdf
t-softfp-tf
t-sol2 Update copyright in libgcc. 2013-02-04 19:06:20 +00:00
t-stack
t-tls
t-vxworks
unwind-dw2-fde-darwin.c Update copyright in libgcc. 2013-02-04 19:06:20 +00:00
vxlib-tls.c 2013-03-20 Robert Mason <rbmj@verizon.net> 2013-03-20 22:01:25 +00:00
vxlib.c Update copyright in libgcc. 2013-02-04 19:06:20 +00:00