aboutsummaryrefslogtreecommitdiff
path: root/libgcc/config/visium/crtn.S
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2015-01-06 08:50:12 +0000
committerEric Botcazou <ebotcazou@gcc.gnu.org>2015-01-06 08:50:12 +0000
commit0969ec7d5df9c55d0d0e4ecf30221f2096c98498 (patch)
tree0edeb5eefb9376aad7c7391332316f9d2fd7e437 /libgcc/config/visium/crtn.S
parent9bd59e280ccdce94cf8bcffc753d073e20adf458 (diff)
downloadgcc-0969ec7d5df9c55d0d0e4ecf30221f2096c98498.zip
gcc-0969ec7d5df9c55d0d0e4ecf30221f2096c98498.tar.gz
gcc-0969ec7d5df9c55d0d0e4ecf30221f2096c98498.tar.bz2
configure.ac: Add Visium support.
* configure.ac: Add Visium support. * configure: Regenerate. libgcc/ * config.host: Add Visium support. * config/visium: New directory. gcc/ * config.gcc: Add Visium support. * configure.ac: Likewise. * configure: Regenerate. * doc/extend.texi (interrupt attribute): Add Visium. * doc/invoke.texi: Document Visium options. * doc/install.texi: Document Visium target. * doc/md.texi: Document Visium constraints. * common/config/visium: New directory. * config/visium: Likewise. gcc/testsuite/ * lib/target-supports.exp (check_profiling_available): Return 0 for Visium. (check_effective_target_tls_runtime): Likewise. (check_effective_target_logical_op_short_circuit): Return 1 for Visium. * gcc.dg/20020312-2.c: Adjust for Visium. * gcc.dg/tls/thr-cse-1.c: Likewise * gcc.dg/tree-ssa/20040204-1.c: Likewise * gcc.dg/tree-ssa/loop-1.c: Likewise. * gcc.dg/weak/typeof-2.c: Likewise. From-SVN: r219219
Diffstat (limited to 'libgcc/config/visium/crtn.S')
-rw-r--r--libgcc/config/visium/crtn.S40
1 files changed, 40 insertions, 0 deletions
diff --git a/libgcc/config/visium/crtn.S b/libgcc/config/visium/crtn.S
new file mode 100644
index 0000000..a60f4de
--- /dev/null
+++ b/libgcc/config/visium/crtn.S
@@ -0,0 +1,40 @@
+/* crtn.S for Visium.
+ Copyright (C) 2005-2015 Free Software Foundation, Inc.
+
+ This file is part of GCC.
+
+ GCC is free software; you can redistribute it and/or modify it
+ under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 3, or (at your option)
+ any later version.
+
+ GCC is distributed in the hope that it will be useful, but WITHOUT
+ ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+ or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
+ License for more details.
+
+ Under Section 7 of GPL version 3, you are granted additional
+ permissions described in the GCC Runtime Library Exception, version
+ 3.1, as published by the Free Software Foundation.
+
+ You should have received a copy of the GNU General Public License and
+ a copy of the GCC Runtime Library Exception along with this program;
+ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
+ <http://www.gnu.org/licenses/>. */
+
+ .file "crtn.o"
+ .ident "GNU C crtn.o"
+
+ .section .init
+ move.l r23,r22
+ read.l r22,(r22)
+ read.l r21,1(r23)
+ bra tr,r21,r0
+ addi r23,8
+
+ .section .fini
+ move.l r23,r22
+ read.l r22,(r22)
+ read.l r21,1(r23)
+ bra tr,r21,r0
+ addi r23,8